Lines Matching refs:ui_cmd

1285 	__u8 ui_cmd;  member
1299 const struct cec_op_ui_command *ui_cmd) in cec_msg_user_control_pressed() argument
1303 msg->msg[2] = ui_cmd->ui_cmd; in cec_msg_user_control_pressed()
1304 if (!ui_cmd->has_opt_arg) in cec_msg_user_control_pressed()
1306 switch (ui_cmd->ui_cmd) { in cec_msg_user_control_pressed()
1315 msg->msg[3] = ui_cmd->play_mode; in cec_msg_user_control_pressed()
1319 msg->msg[3] = (ui_cmd->channel_identifier.channel_number_fmt << 2) | in cec_msg_user_control_pressed()
1320 (ui_cmd->channel_identifier.major >> 8); in cec_msg_user_control_pressed()
1321 msg->msg[4] = ui_cmd->channel_identifier.major & 0xff; in cec_msg_user_control_pressed()
1322 msg->msg[5] = ui_cmd->channel_identifier.minor >> 8; in cec_msg_user_control_pressed()
1323 msg->msg[6] = ui_cmd->channel_identifier.minor & 0xff; in cec_msg_user_control_pressed()
1329 struct cec_op_ui_command *ui_cmd) in cec_ops_user_control_pressed() argument
1331 ui_cmd->ui_cmd = msg->msg[2]; in cec_ops_user_control_pressed()
1332 ui_cmd->has_opt_arg = 0; in cec_ops_user_control_pressed()
1335 switch (ui_cmd->ui_cmd) { in cec_ops_user_control_pressed()
1343 ui_cmd->play_mode = msg->msg[3]; in cec_ops_user_control_pressed()
1344 ui_cmd->has_opt_arg = 1; in cec_ops_user_control_pressed()
1349 ui_cmd->has_opt_arg = 1; in cec_ops_user_control_pressed()
1350 ui_cmd->channel_identifier.channel_number_fmt = msg->msg[3] >> 2; in cec_ops_user_control_pressed()
1351 ui_cmd->channel_identifier.major = ((msg->msg[3] & 3) << 6) | msg->msg[4]; in cec_ops_user_control_pressed()
1352 ui_cmd->channel_identifier.minor = (msg->msg[5] << 8) | msg->msg[6]; in cec_ops_user_control_pressed()