• Home
  • Raw
  • Download

Lines Matching refs:ui_cmd

1310 	__u8 ui_cmd;  member
1324 const struct cec_op_ui_command *ui_cmd) in cec_msg_user_control_pressed() argument
1328 msg->msg[2] = ui_cmd->ui_cmd; in cec_msg_user_control_pressed()
1329 if (!ui_cmd->has_opt_arg) in cec_msg_user_control_pressed()
1331 switch (ui_cmd->ui_cmd) { in cec_msg_user_control_pressed()
1340 msg->msg[3] = ui_cmd->play_mode; in cec_msg_user_control_pressed()
1344 msg->msg[3] = (ui_cmd->channel_identifier.channel_number_fmt << 2) | in cec_msg_user_control_pressed()
1345 (ui_cmd->channel_identifier.major >> 8); in cec_msg_user_control_pressed()
1346 msg->msg[4] = ui_cmd->channel_identifier.major & 0xff; in cec_msg_user_control_pressed()
1347 msg->msg[5] = ui_cmd->channel_identifier.minor >> 8; in cec_msg_user_control_pressed()
1348 msg->msg[6] = ui_cmd->channel_identifier.minor & 0xff; in cec_msg_user_control_pressed()
1354 struct cec_op_ui_command *ui_cmd) in cec_ops_user_control_pressed() argument
1356 ui_cmd->ui_cmd = msg->msg[2]; in cec_ops_user_control_pressed()
1357 ui_cmd->has_opt_arg = 0; in cec_ops_user_control_pressed()
1360 switch (ui_cmd->ui_cmd) { in cec_ops_user_control_pressed()
1368 ui_cmd->play_mode = msg->msg[3]; in cec_ops_user_control_pressed()
1369 ui_cmd->has_opt_arg = 1; in cec_ops_user_control_pressed()
1374 ui_cmd->has_opt_arg = 1; in cec_ops_user_control_pressed()
1375 ui_cmd->channel_identifier.channel_number_fmt = msg->msg[3] >> 2; in cec_ops_user_control_pressed()
1376 ui_cmd->channel_identifier.major = ((msg->msg[3] & 3) << 6) | msg->msg[4]; in cec_ops_user_control_pressed()
1377 ui_cmd->channel_identifier.minor = (msg->msg[5] << 8) | msg->msg[6]; in cec_ops_user_control_pressed()