/linux/include/uapi/linux/ |
H A D | cec-funcs.h | 14 static inline void cec_msg_active_source(struct cec_msg *msg, __u16 phys_addr) in cec_msg_active_source() argument 16 msg->len = 4; in cec_msg_active_source() 17 msg->msg[0] |= CEC_LOG_ADDR_BROADCAST; in cec_msg_active_source() 18 msg->msg[1] = CEC_MSG_ACTIVE_SOURCE; in cec_msg_active_source() 19 msg->msg[2] = phys_addr >> 8; in cec_msg_active_source() 20 msg->msg[ in cec_msg_active_source() 23 cec_ops_active_source(const struct cec_msg * msg,__u16 * phys_addr) cec_ops_active_source() argument 29 cec_msg_image_view_on(struct cec_msg * msg) cec_msg_image_view_on() argument 35 cec_msg_text_view_on(struct cec_msg * msg) cec_msg_text_view_on() argument 43 cec_msg_inactive_source(struct cec_msg * msg,__u16 phys_addr) cec_msg_inactive_source() argument 52 cec_ops_inactive_source(const struct cec_msg * msg,__u16 * phys_addr) cec_ops_inactive_source() argument 58 cec_msg_request_active_source(struct cec_msg * msg,int reply) cec_msg_request_active_source() argument 67 cec_msg_routing_information(struct cec_msg * msg,__u16 phys_addr) cec_msg_routing_information() argument 77 cec_ops_routing_information(const struct cec_msg * msg,__u16 * phys_addr) cec_ops_routing_information() argument 83 cec_msg_routing_change(struct cec_msg * msg,int reply,__u16 orig_phys_addr,__u16 new_phys_addr) cec_msg_routing_change() argument 98 cec_ops_routing_change(const struct cec_msg * msg,__u16 * orig_phys_addr,__u16 * new_phys_addr) cec_ops_routing_change() argument 106 cec_msg_set_stream_path(struct cec_msg * msg,__u16 phys_addr) cec_msg_set_stream_path() argument 115 cec_ops_set_stream_path(const struct cec_msg * msg,__u16 * phys_addr) cec_ops_set_stream_path() argument 123 cec_msg_standby(struct cec_msg * msg) cec_msg_standby() argument 131 cec_msg_record_off(struct cec_msg * msg,int reply) cec_msg_record_off() argument 190 cec_set_digital_service_id(__u8 * msg,const struct cec_op_digital_service_id * digital) cec_set_digital_service_id() argument 227 cec_get_digital_service_id(const __u8 * msg,struct cec_op_digital_service_id * digital) cec_get_digital_service_id() argument 243 cec_msg_record_on_own(struct cec_msg * msg) cec_msg_record_on_own() argument 250 cec_msg_record_on_digital(struct cec_msg * msg,const struct cec_op_digital_service_id * digital) cec_msg_record_on_digital() argument 259 cec_msg_record_on_analog(struct cec_msg * msg,__u8 ana_bcast_type,__u16 ana_freq,__u8 bcast_system) cec_msg_record_on_analog() argument 273 cec_msg_record_on_plug(struct cec_msg * msg,__u8 plug) cec_msg_record_on_plug() argument 282 cec_msg_record_on_phys_addr(struct cec_msg * msg,__u16 phys_addr) cec_msg_record_on_phys_addr() argument 292 cec_msg_record_on(struct cec_msg * msg,int reply,const struct cec_op_record_src * rec_src) cec_msg_record_on() argument 320 cec_ops_record_on(const struct cec_msg * msg,struct cec_op_record_src * rec_src) cec_ops_record_on() argument 346 cec_msg_record_status(struct cec_msg * msg,__u8 rec_status) cec_msg_record_status() argument 353 cec_ops_record_status(const struct cec_msg * msg,__u8 * rec_status) cec_ops_record_status() argument 359 cec_msg_record_tv_screen(struct cec_msg * msg,int reply) cec_msg_record_tv_screen() argument 369 cec_msg_timer_status(struct cec_msg * msg,__u8 timer_overlap_warning,__u8 media_info,__u8 prog_info,__u8 prog_error,__u8 duration_hr,__u8 duration_min) cec_msg_timer_status() argument 392 cec_ops_timer_status(const struct cec_msg * msg,__u8 * timer_overlap_warning,__u8 * media_info,__u8 * prog_info,__u8 * prog_error,__u8 * duration_hr,__u8 * duration_min) cec_ops_timer_status() argument 419 cec_msg_timer_cleared_status(struct cec_msg * msg,__u8 timer_cleared_status) cec_msg_timer_cleared_status() argument 427 cec_ops_timer_cleared_status(const struct cec_msg * msg,__u8 * timer_cleared_status) cec_ops_timer_cleared_status() argument 433 cec_msg_clear_analogue_timer(struct cec_msg * msg,int reply,__u8 day,__u8 month,__u8 start_hr,__u8 start_min,__u8 duration_hr,__u8 duration_min,__u8 recording_seq,__u8 ana_bcast_type,__u16 ana_freq,__u8 bcast_system) cec_msg_clear_analogue_timer() argument 463 cec_ops_clear_analogue_timer(const struct cec_msg * msg,__u8 * day,__u8 * month,__u8 * start_hr,__u8 * start_min,__u8 * duration_hr,__u8 * duration_min,__u8 * recording_seq,__u8 * ana_bcast_type,__u16 * ana_freq,__u8 * bcast_system) cec_ops_clear_analogue_timer() argument 488 cec_msg_clear_digital_timer(struct cec_msg * msg,int reply,__u8 day,__u8 month,__u8 start_hr,__u8 start_min,__u8 duration_hr,__u8 duration_min,__u8 recording_seq,const struct cec_op_digital_service_id * digital) cec_msg_clear_digital_timer() argument 513 cec_ops_clear_digital_timer(const struct cec_msg * msg,__u8 * day,__u8 * month,__u8 * start_hr,__u8 * start_min,__u8 * duration_hr,__u8 * duration_min,__u8 * recording_seq,struct cec_op_digital_service_id * digital) cec_ops_clear_digital_timer() argument 534 cec_msg_clear_ext_timer(struct cec_msg * msg,int reply,__u8 day,__u8 month,__u8 start_hr,__u8 start_min,__u8 duration_hr,__u8 duration_min,__u8 recording_seq,__u8 ext_src_spec,__u8 plug,__u16 phys_addr) cec_msg_clear_ext_timer() argument 564 cec_ops_clear_ext_timer(const struct cec_msg * msg,__u8 * day,__u8 * month,__u8 * start_hr,__u8 * start_min,__u8 * duration_hr,__u8 * duration_min,__u8 * recording_seq,__u8 * ext_src_spec,__u8 * plug,__u16 * phys_addr) cec_ops_clear_ext_timer() argument 589 cec_msg_set_analogue_timer(struct cec_msg * msg,int reply,__u8 day,__u8 month,__u8 start_hr,__u8 start_min,__u8 duration_hr,__u8 duration_min,__u8 recording_seq,__u8 ana_bcast_type,__u16 ana_freq,__u8 bcast_system) cec_msg_set_analogue_timer() argument 619 cec_ops_set_analogue_timer(const struct cec_msg * msg,__u8 * day,__u8 * month,__u8 * start_hr,__u8 * start_min,__u8 * duration_hr,__u8 * duration_min,__u8 * recording_seq,__u8 * ana_bcast_type,__u16 * ana_freq,__u8 * bcast_system) cec_ops_set_analogue_timer() argument 644 cec_msg_set_digital_timer(struct cec_msg * msg,int reply,__u8 day,__u8 month,__u8 start_hr,__u8 start_min,__u8 duration_hr,__u8 duration_min,__u8 recording_seq,const struct cec_op_digital_service_id * digital) cec_msg_set_digital_timer() argument 669 cec_ops_set_digital_timer(const struct cec_msg * msg,__u8 * day,__u8 * month,__u8 * start_hr,__u8 * start_min,__u8 * duration_hr,__u8 * duration_min,__u8 * recording_seq,struct cec_op_digital_service_id * digital) cec_ops_set_digital_timer() argument 690 cec_msg_set_ext_timer(struct cec_msg * msg,int reply,__u8 day,__u8 month,__u8 start_hr,__u8 start_min,__u8 duration_hr,__u8 duration_min,__u8 recording_seq,__u8 ext_src_spec,__u8 plug,__u16 phys_addr) cec_msg_set_ext_timer() argument 720 cec_ops_set_ext_timer(const struct cec_msg * msg,__u8 * day,__u8 * month,__u8 * start_hr,__u8 * start_min,__u8 * duration_hr,__u8 * duration_min,__u8 * recording_seq,__u8 * ext_src_spec,__u8 * plug,__u16 * phys_addr) cec_ops_set_ext_timer() argument 745 cec_msg_set_timer_program_title(struct cec_msg * msg,const char * prog_title) cec_msg_set_timer_program_title() argument 757 cec_ops_set_timer_program_title(const struct cec_msg * msg,char * prog_title) cec_ops_set_timer_program_title() argument 769 cec_msg_cec_version(struct cec_msg * msg,__u8 cec_version) cec_msg_cec_version() argument 776 cec_ops_cec_version(const struct cec_msg * msg,__u8 * cec_version) cec_ops_cec_version() argument 782 cec_msg_get_cec_version(struct cec_msg * msg,int reply) cec_msg_get_cec_version() argument 790 cec_msg_report_physical_addr(struct cec_msg * msg,__u16 phys_addr,__u8 prim_devtype) cec_msg_report_physical_addr() argument 801 cec_ops_report_physical_addr(const struct cec_msg * msg,__u16 * phys_addr,__u8 * prim_devtype) cec_ops_report_physical_addr() argument 808 cec_msg_give_physical_addr(struct cec_msg * msg,int reply) cec_msg_give_physical_addr() argument 816 cec_msg_set_menu_language(struct cec_msg * msg,const char * language) cec_msg_set_menu_language() argument 825 cec_ops_set_menu_language(const struct cec_msg * msg,char * language) cec_ops_set_menu_language() argument 832 cec_msg_get_menu_language(struct cec_msg * msg,int reply) cec_msg_get_menu_language() argument 848 cec_msg_report_features(struct cec_msg * msg,__u8 cec_version,__u8 all_device_types,__u8 rc_profile,__u8 dev_features) cec_msg_report_features() argument 861 cec_ops_report_features(const struct cec_msg * msg,__u8 * cec_version,__u8 * all_device_types,const __u8 ** rc_profile,const __u8 ** dev_features) cec_ops_report_features() argument 882 cec_msg_give_features(struct cec_msg * msg,int reply) cec_msg_give_features() argument 891 cec_msg_deck_control(struct cec_msg * msg,__u8 deck_control_mode) cec_msg_deck_control() argument 899 cec_ops_deck_control(const struct cec_msg * msg,__u8 * deck_control_mode) cec_ops_deck_control() argument 905 cec_msg_deck_status(struct cec_msg * msg,__u8 deck_info) cec_msg_deck_status() argument 913 cec_ops_deck_status(const struct cec_msg * msg,__u8 * deck_info) cec_ops_deck_status() argument 919 cec_msg_give_deck_status(struct cec_msg * msg,int reply,__u8 status_req) cec_msg_give_deck_status() argument 930 cec_ops_give_deck_status(const struct cec_msg * msg,__u8 * status_req) cec_ops_give_deck_status() argument 936 cec_msg_play(struct cec_msg * msg,__u8 play_mode) cec_msg_play() argument 944 cec_ops_play(const struct cec_msg * msg,__u8 * play_mode) cec_ops_play() argument 966 cec_msg_tuner_device_status_analog(struct cec_msg * msg,__u8 rec_flag,__u8 tuner_display_info,__u8 ana_bcast_type,__u16 ana_freq,__u8 bcast_system) cec_msg_tuner_device_status_analog() argument 982 cec_msg_tuner_device_status_digital(struct cec_msg * msg,__u8 rec_flag,__u8 tuner_display_info,const struct cec_op_digital_service_id * digital) cec_msg_tuner_device_status_digital() argument 992 cec_msg_tuner_device_status(struct cec_msg * msg,const struct cec_op_tuner_device_info * tuner_dev_info) cec_msg_tuner_device_status() argument 1009 cec_ops_tuner_device_status(const struct cec_msg * msg,struct cec_op_tuner_device_info * tuner_dev_info) cec_ops_tuner_device_status() argument 1024 cec_msg_give_tuner_device_status(struct cec_msg * msg,int reply,__u8 status_req) cec_msg_give_tuner_device_status() argument 1035 cec_ops_give_tuner_device_status(const struct cec_msg * msg,__u8 * status_req) cec_ops_give_tuner_device_status() argument 1041 cec_msg_select_analogue_service(struct cec_msg * msg,__u8 ana_bcast_type,__u16 ana_freq,__u8 bcast_system) cec_msg_select_analogue_service() argument 1054 cec_ops_select_analogue_service(const struct cec_msg * msg,__u8 * ana_bcast_type,__u16 * ana_freq,__u8 * bcast_system) cec_ops_select_analogue_service() argument 1064 cec_msg_select_digital_service(struct cec_msg * msg,const struct cec_op_digital_service_id * digital) cec_msg_select_digital_service() argument 1072 cec_ops_select_digital_service(const struct cec_msg * msg,struct cec_op_digital_service_id * digital) cec_ops_select_digital_service() argument 1078 cec_msg_tuner_step_decrement(struct cec_msg * msg) cec_msg_tuner_step_decrement() argument 1084 cec_msg_tuner_step_increment(struct cec_msg * msg) cec_msg_tuner_step_increment() argument 1092 cec_msg_device_vendor_id(struct cec_msg * msg,__u32 vendor_id) cec_msg_device_vendor_id() argument 1102 cec_ops_device_vendor_id(const struct cec_msg * msg,__u32 * vendor_id) cec_ops_device_vendor_id() argument 1108 cec_msg_give_device_vendor_id(struct cec_msg * msg,int reply) cec_msg_give_device_vendor_id() argument 1116 cec_msg_vendor_command(struct cec_msg * msg,__u8 size,const __u8 * vendor_cmd) cec_msg_vendor_command() argument 1126 cec_ops_vendor_command(const struct cec_msg * msg,__u8 * size,const __u8 ** vendor_cmd) cec_ops_vendor_command() argument 1137 cec_msg_vendor_command_with_id(struct cec_msg * msg,__u32 vendor_id,__u8 size,const __u8 * vendor_cmd) cec_msg_vendor_command_with_id() argument 1151 cec_ops_vendor_command_with_id(const struct cec_msg * msg,__u32 * vendor_id,__u8 * size,const __u8 ** vendor_cmd) cec_ops_vendor_command_with_id() argument 1163 cec_msg_vendor_remote_button_down(struct cec_msg * msg,__u8 size,const __u8 * rc_code) cec_msg_vendor_remote_button_down() argument 1174 cec_ops_vendor_remote_button_down(const struct cec_msg * msg,__u8 * size,const __u8 ** rc_code) cec_ops_vendor_remote_button_down() argument 1185 cec_msg_vendor_remote_button_up(struct cec_msg * msg) cec_msg_vendor_remote_button_up() argument 1193 cec_msg_set_osd_string(struct cec_msg * msg,__u8 disp_ctl,const char * osd) cec_msg_set_osd_string() argument 1207 cec_ops_set_osd_string(const struct cec_msg * msg,__u8 * disp_ctl,char * osd) cec_ops_set_osd_string() argument 1222 cec_msg_set_osd_name(struct cec_msg * msg,const char * name) cec_msg_set_osd_name() argument 1233 cec_ops_set_osd_name(const struct cec_msg * msg,char * name) cec_ops_set_osd_name() argument 1244 cec_msg_give_osd_name(struct cec_msg * msg,int reply) cec_msg_give_osd_name() argument 1254 cec_msg_menu_status(struct cec_msg * msg,__u8 menu_state) cec_msg_menu_status() argument 1262 cec_ops_menu_status(const struct cec_msg * msg,__u8 * menu_state) cec_ops_menu_status() argument 1268 cec_msg_menu_request(struct cec_msg * msg,int reply,__u8 menu_req) cec_msg_menu_request() argument 1278 cec_ops_menu_request(const struct cec_msg * msg,__u8 * menu_req) cec_ops_menu_request() argument 1298 cec_msg_user_control_pressed(struct cec_msg * msg,const struct cec_op_ui_command * ui_cmd) cec_msg_user_control_pressed() argument 1328 cec_ops_user_control_pressed(const struct cec_msg * msg,struct cec_op_ui_command * ui_cmd) cec_ops_user_control_pressed() argument 1357 cec_msg_user_control_released(struct cec_msg * msg) cec_msg_user_control_released() argument 1366 cec_msg_report_power_status(struct cec_msg * msg,__u8 pwr_state) cec_msg_report_power_status() argument 1374 cec_ops_report_power_status(const struct cec_msg * msg,__u8 * pwr_state) cec_ops_report_power_status() argument 1380 cec_msg_give_device_power_status(struct cec_msg * msg,int reply) cec_msg_give_device_power_status() argument 1389 cec_msg_feature_abort(struct cec_msg * msg,__u8 abort_msg,__u8 reason) cec_msg_feature_abort() argument 1398 cec_ops_feature_abort(const struct cec_msg * msg,__u8 * abort_msg,__u8 * reason) cec_ops_feature_abort() argument 1406 cec_msg_reply_feature_abort(struct cec_msg * msg,__u8 reason) cec_msg_reply_feature_abort() argument 1415 cec_msg_abort(struct cec_msg * msg) cec_msg_abort() argument 1423 cec_msg_report_audio_status(struct cec_msg * msg,__u8 aud_mute_status,__u8 aud_vol_status) cec_msg_report_audio_status() argument 1432 cec_ops_report_audio_status(const struct cec_msg * msg,__u8 * aud_mute_status,__u8 * aud_vol_status) cec_ops_report_audio_status() argument 1440 cec_msg_give_audio_status(struct cec_msg * msg,int reply) cec_msg_give_audio_status() argument 1448 cec_msg_set_system_audio_mode(struct cec_msg * msg,__u8 sys_aud_status) cec_msg_set_system_audio_mode() argument 1456 cec_ops_set_system_audio_mode(const struct cec_msg * msg,__u8 * sys_aud_status) cec_ops_set_system_audio_mode() argument 1462 cec_msg_system_audio_mode_request(struct cec_msg * msg,int reply,__u16 phys_addr) cec_msg_system_audio_mode_request() argument 1474 cec_ops_system_audio_mode_request(const struct cec_msg * msg,__u16 * phys_addr) cec_ops_system_audio_mode_request() argument 1483 cec_msg_system_audio_mode_status(struct cec_msg * msg,__u8 sys_aud_status) cec_msg_system_audio_mode_status() argument 1491 cec_ops_system_audio_mode_status(const struct cec_msg * msg,__u8 * sys_aud_status) cec_ops_system_audio_mode_status() argument 1497 cec_msg_give_system_audio_mode_status(struct cec_msg * msg,int reply) cec_msg_give_system_audio_mode_status() argument 1505 cec_msg_report_short_audio_descriptor(struct cec_msg * msg,__u8 num_descriptors,const __u32 * descriptors) cec_msg_report_short_audio_descriptor() argument 1522 cec_ops_report_short_audio_descriptor(const struct cec_msg * msg,__u8 * num_descriptors,__u32 * descriptors) cec_ops_report_short_audio_descriptor() argument 1537 cec_msg_request_short_audio_descriptor(struct cec_msg * msg,int reply,__u8 num_descriptors,const __u8 * audio_format_id,const __u8 * audio_format_code) cec_msg_request_short_audio_descriptor() argument 1555 cec_ops_request_short_audio_descriptor(const struct cec_msg * msg,__u8 * num_descriptors,__u8 * audio_format_id,__u8 * audio_format_code) cec_ops_request_short_audio_descriptor() argument 1571 cec_msg_set_audio_volume_level(struct cec_msg * msg,__u8 audio_volume_level) cec_msg_set_audio_volume_level() argument 1579 cec_ops_set_audio_volume_level(const struct cec_msg * msg,__u8 * audio_volume_level) cec_ops_set_audio_volume_level() argument 1587 cec_msg_set_audio_rate(struct cec_msg * msg,__u8 audio_rate) cec_msg_set_audio_rate() argument 1595 cec_ops_set_audio_rate(const struct cec_msg * msg,__u8 * audio_rate) cec_ops_set_audio_rate() argument 1603 cec_msg_report_arc_initiated(struct cec_msg * msg) cec_msg_report_arc_initiated() argument 1609 cec_msg_initiate_arc(struct cec_msg * msg,int reply) cec_msg_initiate_arc() argument 1617 cec_msg_request_arc_initiation(struct cec_msg * msg,int reply) cec_msg_request_arc_initiation() argument 1625 cec_msg_report_arc_terminated(struct cec_msg * msg) cec_msg_report_arc_terminated() argument 1631 cec_msg_terminate_arc(struct cec_msg * msg,int reply) cec_msg_terminate_arc() argument 1639 cec_msg_request_arc_termination(struct cec_msg * msg,int reply) cec_msg_request_arc_termination() argument 1650 cec_msg_report_current_latency(struct cec_msg * msg,__u16 phys_addr,__u8 video_latency,__u8 low_latency_mode,__u8 audio_out_compensated,__u8 audio_out_delay) cec_msg_report_current_latency() argument 1668 cec_ops_report_current_latency(const struct cec_msg * msg,__u16 * phys_addr,__u8 * video_latency,__u8 * low_latency_mode,__u8 * audio_out_compensated,__u8 * audio_out_delay) cec_ops_report_current_latency() argument 1685 cec_msg_request_current_latency(struct cec_msg * msg,int reply,__u16 phys_addr) cec_msg_request_current_latency() argument 1697 cec_ops_request_current_latency(const struct cec_msg * msg,__u16 * phys_addr) cec_ops_request_current_latency() argument 1705 cec_msg_cdc_hec_inquire_state(struct cec_msg * msg,__u16 phys_addr1,__u16 phys_addr2) cec_msg_cdc_hec_inquire_state() argument 1720 cec_ops_cdc_hec_inquire_state(const struct cec_msg * msg,__u16 * phys_addr,__u16 * phys_addr1,__u16 * phys_addr2) cec_ops_cdc_hec_inquire_state() argument 1730 cec_msg_cdc_hec_report_state(struct cec_msg * msg,__u16 target_phys_addr,__u8 hec_func_state,__u8 host_func_state,__u8 enc_func_state,__u8 cdc_errcode,__u8 has_field,__u16 hec_field) cec_msg_cdc_hec_report_state() argument 1756 cec_ops_cdc_hec_report_state(const struct cec_msg * msg,__u16 * phys_addr,__u16 * target_phys_addr,__u8 * hec_func_state,__u8 * host_func_state,__u8 * enc_func_state,__u8 * cdc_errcode,__u8 * has_field,__u16 * hec_field) cec_ops_cdc_hec_report_state() argument 1776 cec_msg_cdc_hec_set_state(struct cec_msg * msg,__u16 phys_addr1,__u16 phys_addr2,__u8 hec_set_state,__u16 phys_addr3,__u16 phys_addr4,__u16 phys_addr5) cec_msg_cdc_hec_set_state() argument 1808 cec_ops_cdc_hec_set_state(const struct cec_msg * msg,__u16 * phys_addr,__u16 * phys_addr1,__u16 * phys_addr2,__u8 * hec_set_state,__u16 * phys_addr3,__u16 * phys_addr4,__u16 * phys_addr5) cec_ops_cdc_hec_set_state() argument 1830 cec_msg_cdc_hec_set_state_adjacent(struct cec_msg * msg,__u16 phys_addr1,__u8 hec_set_state) cec_msg_cdc_hec_set_state_adjacent() argument 1844 cec_ops_cdc_hec_set_state_adjacent(const struct cec_msg * msg,__u16 * phys_addr,__u16 * phys_addr1,__u8 * hec_set_state) cec_ops_cdc_hec_set_state_adjacent() argument 1854 cec_msg_cdc_hec_request_deactivation(struct cec_msg * msg,__u16 phys_addr1,__u16 phys_addr2,__u16 phys_addr3) cec_msg_cdc_hec_request_deactivation() argument 1872 cec_ops_cdc_hec_request_deactivation(const struct cec_msg * msg,__u16 * phys_addr,__u16 * phys_addr1,__u16 * phys_addr2,__u16 * phys_addr3) cec_ops_cdc_hec_request_deactivation() argument 1884 cec_msg_cdc_hec_notify_alive(struct cec_msg * msg) cec_msg_cdc_hec_notify_alive() argument 1893 cec_ops_cdc_hec_notify_alive(const struct cec_msg * msg,__u16 * phys_addr) cec_ops_cdc_hec_notify_alive() argument 1899 cec_msg_cdc_hec_discover(struct cec_msg * msg) cec_msg_cdc_hec_discover() argument 1908 cec_ops_cdc_hec_discover(const struct cec_msg * msg,__u16 * phys_addr) cec_ops_cdc_hec_discover() argument 1914 cec_msg_cdc_hpd_set_state(struct cec_msg * msg,__u8 input_port,__u8 hpd_state) cec_msg_cdc_hpd_set_state() argument 1926 cec_ops_cdc_hpd_set_state(const struct cec_msg * msg,__u16 * phys_addr,__u8 * input_port,__u8 * hpd_state) cec_ops_cdc_hpd_set_state() argument 1936 cec_msg_cdc_hpd_report_state(struct cec_msg * msg,__u8 hpd_state,__u8 hpd_error) cec_msg_cdc_hpd_report_state() argument 1948 cec_ops_cdc_hpd_report_state(const struct cec_msg * msg,__u16 * phys_addr,__u8 * hpd_state,__u8 * hpd_error) cec_ops_cdc_hpd_report_state() argument [all...] |
/linux/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_hfi.c | 214 struct a6xx_hfi_msg_gmu_init_cmd msg = { 0 }; in a6xx_hfi_send_gmu_init() local 216 msg.dbg_buffer_addr = (u32) gmu->debug.iova; in a6xx_hfi_send_gmu_init() 217 msg.dbg_buffer_size = (u32) gmu->debug.size; in a6xx_hfi_send_gmu_init() 218 msg.boot_state = boot_state; in a6xx_hfi_send_gmu_init() 220 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_INIT, &msg, sizeof(msg), in a6xx_hfi_send_gmu_init() 226 struct a6xx_hfi_msg_fw_version msg = { 0 }; in a6xx_hfi_get_fw_version() local 229 msg.supported_version = (1 << 28) | (1 << 19) | (1 << 17); in a6xx_hfi_get_fw_version() 231 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_FW_VERSION, &msg, sizeof(msg), in a6xx_hfi_get_fw_version() 237 struct a6xx_hfi_msg_perf_table_v1 msg = { 0 }; a6xx_hfi_send_perf_table_v1() local 259 struct a6xx_hfi_msg_perf_table msg = { 0 }; a6xx_hfi_send_perf_table() local 281 a6xx_generate_bw_table(const struct a6xx_info * info,struct a6xx_gmu * gmu,struct a6xx_hfi_msg_bw_table * msg) a6xx_generate_bw_table() argument 322 a618_build_bw_table(struct a6xx_hfi_msg_bw_table * msg) a618_build_bw_table() argument 350 a619_build_bw_table(struct a6xx_hfi_msg_bw_table * msg) a619_build_bw_table() argument 409 a640_build_bw_table(struct a6xx_hfi_msg_bw_table * msg) a640_build_bw_table() argument 448 a650_build_bw_table(struct a6xx_hfi_msg_bw_table * msg) a650_build_bw_table() argument 479 a690_build_bw_table(struct a6xx_hfi_msg_bw_table * msg) a690_build_bw_table() argument 510 a660_build_bw_table(struct a6xx_hfi_msg_bw_table * msg) a660_build_bw_table() argument 541 a663_build_bw_table(struct a6xx_hfi_msg_bw_table * msg) a663_build_bw_table() argument 572 adreno_7c3_build_bw_table(struct a6xx_hfi_msg_bw_table * msg) adreno_7c3_build_bw_table() argument 603 a730_build_bw_table(struct a6xx_hfi_msg_bw_table * msg) a730_build_bw_table() argument 659 a740_build_bw_table(struct a6xx_hfi_msg_bw_table * msg) a740_build_bw_table() argument 684 a6xx_build_bw_table(struct a6xx_hfi_msg_bw_table * msg) a6xx_build_bw_table() argument 724 struct a6xx_hfi_msg_bw_table *msg; a6xx_hfi_send_bw_table() local 773 struct a6xx_hfi_msg_feature_ctrl msg = { a6xx_hfi_enable_acd() local 802 struct a6xx_hfi_msg_test msg = { 0 }; a6xx_hfi_send_test() local 810 struct a6xx_hfi_msg_start msg = { 0 }; a6xx_hfi_send_start() local 818 struct a6xx_hfi_msg_core_fw_start msg = { 0 }; a6xx_hfi_send_core_fw_start() local 826 struct a6xx_hfi_gx_bw_perf_vote_cmd msg = { 0 }; a6xx_hfi_set_freq() local 838 struct a6xx_hfi_prep_slumber_cmd msg = { 0 }; a6xx_hfi_send_prep_slumber() local [all...] |
/linux/drivers/accel/habanalabs/include/gaudi2/ |
H A D | gaudi2_async_ids_map_extended.h | 26 int msg; member 32 { .fc_id = 0, .cpu_id = 0, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 34 { .fc_id = 1, .cpu_id = 1, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 36 { .fc_id = 2, .cpu_id = 2, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 38 { .fc_id = 3, .cpu_id = 3, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 40 { .fc_id = 4, .cpu_id = 4, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 42 { .fc_id = 5, .cpu_id = 5, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 44 { .fc_id = 6, .cpu_id = 6, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 46 { .fc_id = 7, .cpu_id = 7, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE, 48 { .fc_id = 8, .cpu_id = 8, .valid = 0, .msg [all...] |
/linux/drivers/s390/crypto/ |
H A D | zcrypt_msgtype6.c | 207 } __packed * msg = ap_msg->msg; in icamex_msg_to_type6mex_msgx() local 219 msg->length = mex->inputdatalength + 2; in icamex_msg_to_type6mex_msgx() 220 if (copy_from_user(msg->text, mex->inputdata, mex->inputdatalength)) in icamex_msg_to_type6mex_msgx() 224 size = zcrypt_type6_mex_key_en(mex, msg->text + mex->inputdatalength); in icamex_msg_to_type6mex_msgx() 227 size += sizeof(*msg) + mex->inputdatalength; in icamex_msg_to_type6mex_msgx() 230 msg->hdr = static_type6_hdrX; in icamex_msg_to_type6mex_msgx() 231 msg->hdr.tocardlen1 = size - sizeof(msg->hdr); in icamex_msg_to_type6mex_msgx() 232 msg in icamex_msg_to_type6mex_msgx() 277 } __packed * msg = ap_msg->msg; icacrt_msg_to_type6crt_msgx() local 344 } __packed * msg = ap_msg->msg; xcrb_msg_to_type6cprb_msgx() local 473 } __packed * msg = ap_msg->msg; xcrb_msg_to_type6_ep11cprb_msgx() local 568 struct type86x_reply *msg = reply->msg; convert_type86_ica() local 621 struct type86_fmt2_msg *msg = reply->msg; convert_type86_xcrb() local 664 struct type86_fmt2_msg *msg = reply->msg; convert_type86_ep11_xcrb() local 689 } __packed * msg = reply->msg; convert_type86_rng() local 703 struct type86x_reply *msg = reply->msg; convert_response_ica() local 746 struct type86x_reply *msg = reply->msg; convert_response_xcrb() local 780 struct type86_ep11_reply *msg = reply->msg; convert_response_ep11_xcrb() local 811 struct type86x_reply *msg = reply->msg; convert_response_rng() local 847 zcrypt_msgtype6_receive(struct ap_queue * aq,struct ap_message * msg,struct ap_message * reply) zcrypt_msgtype6_receive() argument 911 zcrypt_msgtype6_receive_ep11(struct ap_queue * aq,struct ap_message * msg,struct ap_message * reply) zcrypt_msgtype6_receive_ep11() argument 1087 } __packed * msg = ap_msg->msg; zcrypt_msgtype6_send_cprb() local 1181 } __packed * msg = ap_msg->msg; zcrypt_msgtype6_send_ep11_cprb() local 1298 } __packed * msg = ap_msg->msg; zcrypt_msgtype6_rng() local [all...] |
/linux/drivers/platform/chrome/ |
H A D | cros_ec_proto.c | 59 struct cros_ec_command *msg) in prepare_tx() argument 66 if (msg->outsize + sizeof(*request) > ec_dev->dout_size) in prepare_tx() 73 request->command = msg->command; in prepare_tx() 74 request->command_version = msg->version; in prepare_tx() 76 request->data_len = msg->outsize; in prepare_tx() 82 memcpy(out + sizeof(*request), msg->data, msg->outsize); in prepare_tx() 83 for (i = 0; i < msg->outsize; i++) in prepare_tx() 84 csum += msg->data[i]; in prepare_tx() 88 return sizeof(*request) + msg in prepare_tx() 92 prepare_tx_legacy(struct cros_ec_device * ec_dev,struct cros_ec_command * msg) prepare_tx_legacy() argument 113 cros_ec_xfer_command(struct cros_ec_device * ec_dev,struct cros_ec_command * msg) cros_ec_xfer_command() argument 182 cros_ec_send_command(struct cros_ec_device * ec_dev,struct cros_ec_command * msg) cros_ec_send_command() argument 203 cros_ec_prepare_tx(struct cros_ec_device * ec_dev,struct cros_ec_command * msg) cros_ec_prepare_tx() argument 226 cros_ec_check_result(struct cros_ec_device * ec_dev,struct cros_ec_command * msg) cros_ec_check_result() argument 257 struct cros_ec_command *msg; cros_ec_get_host_event_wake_mask() local 293 struct cros_ec_command *msg; cros_ec_rwsig_continue() local 351 struct cros_ec_command *msg; cros_ec_get_proto_info() local 420 struct cros_ec_command *msg; cros_ec_get_proto_info_legacy() local 498 struct cros_ec_command *msg; cros_ec_get_host_command_version_mask() local 655 cros_ec_cmd_xfer(struct cros_ec_device * ec_dev,struct cros_ec_command * msg) cros_ec_cmd_xfer() argument 716 cros_ec_cmd_xfer_status(struct cros_ec_device * ec_dev,struct cros_ec_command * msg) cros_ec_cmd_xfer_status() argument 736 get_next_event_xfer(struct cros_ec_device * ec_dev,struct cros_ec_command * msg,struct ec_response_get_next_event_v3 * event,int version,uint32_t size) get_next_event_xfer() argument 790 struct cros_ec_command *msg = (struct cros_ec_command *)&buffer; get_keyboard_state_event() local 997 struct cros_ec_command *msg; cros_ec_get_sensor_count() local 1068 struct cros_ec_command *msg; cros_ec_cmd() local [all...] |
H A D | cros_ec_sysfs.c | 55 struct cros_ec_command *msg; in reboot_store() local 62 msg = kmalloc(sizeof(*msg) + sizeof(*param), GFP_KERNEL); in reboot_store() 63 if (!msg) in reboot_store() 66 param = (struct ec_params_reboot_ec *)msg->data; in reboot_store() 99 msg->version = 0; in reboot_store() 100 msg->command = EC_CMD_REBOOT_EC + ec->cmd_offset; in reboot_store() 101 msg->outsize = sizeof(*param); in reboot_store() 102 msg->insize = 0; in reboot_store() 103 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in reboot_store() 118 struct cros_ec_command *msg; version_show() local 204 struct cros_ec_command *msg; flashinfo_show() local 240 struct cros_ec_command *msg; kb_wake_angle_show() local 272 struct cros_ec_command *msg; kb_wake_angle_store() local [all...] |
/linux/drivers/platform/x86/amd/hsmp/ |
H A D | hsmp.c | 53 static int __hsmp_send_message(struct hsmp_socket *sock, struct hsmp_message *msg) in __hsmp_send_message() argument 73 while (index < msg->num_args) { in __hsmp_send_message() 75 &msg->args[index], HSMP_WR); in __hsmp_send_message() 84 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_id_off, &msg->msg_id, HSMP_WR); in __hsmp_send_message() 86 dev_err(sock->dev, "Error %d writing message ID %u\n", ret, msg->msg_id); in __hsmp_send_message() 121 msg->msg_id, mbox_status); in __hsmp_send_message() 125 msg->msg_id, mbox_status); in __hsmp_send_message() 129 msg->msg_id, mbox_status); in __hsmp_send_message() 133 msg->msg_id, mbox_status); in __hsmp_send_message() 137 msg in __hsmp_send_message() 167 validate_message(struct hsmp_message * msg) validate_message() argument 202 hsmp_send_message(struct hsmp_message * msg) hsmp_send_message() argument 231 struct hsmp_message msg = {}; hsmp_msg_get_nargs() local 254 struct hsmp_message msg = { 0 }; hsmp_test() local 283 is_get_msg(struct hsmp_message * msg) is_get_msg() argument 298 struct hsmp_message msg = { 0 }; hsmp_ioctl() local 353 struct hsmp_message msg = { 0 }; hsmp_metric_tbl_read() local 380 struct hsmp_message msg = { 0 }; hsmp_get_tbl_dram_base() local 413 struct hsmp_message msg = { 0 }; hsmp_cache_proto_ver() local [all...] |
/linux/drivers/infiniband/hw/cxgb4/ |
H A D | restrack.c | 39 static int fill_sq(struct sk_buff *msg, struct t4_wq *wq) in fill_sq() argument 42 if (rdma_nl_put_driver_u32(msg, "sqid", wq->sq.qid)) in fill_sq() 44 if (rdma_nl_put_driver_u32(msg, "flushed", wq->flushed)) in fill_sq() 46 if (rdma_nl_put_driver_u32(msg, "memsize", wq->sq.memsize)) in fill_sq() 48 if (rdma_nl_put_driver_u32(msg, "cidx", wq->sq.cidx)) in fill_sq() 50 if (rdma_nl_put_driver_u32(msg, "pidx", wq->sq.pidx)) in fill_sq() 52 if (rdma_nl_put_driver_u32(msg, "wq_pidx", wq->sq.wq_pidx)) in fill_sq() 54 if (rdma_nl_put_driver_u32(msg, "flush_cidx", wq->sq.flush_cidx)) in fill_sq() 56 if (rdma_nl_put_driver_u32(msg, "in_use", wq->sq.in_use)) in fill_sq() 58 if (rdma_nl_put_driver_u32(msg, "siz in fill_sq() 67 fill_rq(struct sk_buff * msg,struct t4_wq * wq) fill_rq() argument 95 fill_swsqe(struct sk_buff * msg,struct t4_sq * sq,u16 idx,struct t4_swsqe * sqe) fill_swsqe() argument 119 fill_swsqes(struct sk_buff * msg,struct t4_sq * sq,u16 first_idx,struct t4_swsqe * first_sqe,u16 last_idx,struct t4_swsqe * last_sqe) fill_swsqes() argument 137 c4iw_fill_res_qp_entry(struct sk_buff * msg,struct ib_qp * ibqp) c4iw_fill_res_qp_entry() argument 196 c4iw_fill_res_cm_id_entry(struct sk_buff * msg,struct rdma_cm_id * cm_id) c4iw_fill_res_cm_id_entry() argument 271 fill_cq(struct sk_buff * msg,struct t4_cq * cq) fill_cq() argument 307 fill_cqe(struct sk_buff * msg,struct t4_cqe * cqe,u16 idx,const char * qstr) fill_cqe() argument 333 fill_hwcqes(struct sk_buff * msg,struct t4_cq * cq,struct t4_cqe * cqes) fill_hwcqes() argument 350 fill_swcqes(struct sk_buff * msg,struct t4_cq * cq,struct t4_cqe * cqes) fill_swcqes() argument 372 c4iw_fill_res_cq_entry(struct sk_buff * msg,struct ib_cq * ibcq) c4iw_fill_res_cq_entry() argument 431 c4iw_fill_res_mr_entry(struct sk_buff * msg,struct ib_mr * ibmr) c4iw_fill_res_mr_entry() argument [all...] |
/linux/drivers/net/wireless/silabs/wfx/ |
H A D | key.c | 33 static u8 fill_wep_pair(struct wfx_hif_wep_pairwise_key *msg, in fill_wep_pair() argument 36 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_pair() 37 msg->key_length = key->keylen; in fill_wep_pair() 38 memcpy(msg->key_data, key->key, key->keylen); in fill_wep_pair() 39 ether_addr_copy(msg->peer_address, peer_addr); in fill_wep_pair() 43 static u8 fill_wep_group(struct wfx_hif_wep_group_key *msg, in fill_wep_group() argument 46 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_group() 47 msg->key_id = key->keyidx; in fill_wep_group() 48 msg->key_length = key->keylen; in fill_wep_group() 49 memcpy(msg in fill_wep_group() 53 fill_tkip_pair(struct wfx_hif_tkip_pairwise_key * msg,struct ieee80211_key_conf * key,u8 * peer_addr) fill_tkip_pair() argument 69 fill_tkip_group(struct wfx_hif_tkip_group_key * msg,struct ieee80211_key_conf * key,struct ieee80211_key_seq * seq,enum nl80211_iftype iftype) fill_tkip_group() argument 90 fill_ccmp_pair(struct wfx_hif_aes_pairwise_key * msg,struct ieee80211_key_conf * key,u8 * peer_addr) fill_ccmp_pair() argument 99 fill_ccmp_group(struct wfx_hif_aes_group_key * msg,struct ieee80211_key_conf * key,struct ieee80211_key_seq * seq) fill_ccmp_group() argument 110 fill_sms4_pair(struct wfx_hif_wapi_pairwise_key * msg,struct ieee80211_key_conf * key,u8 * peer_addr) fill_sms4_pair() argument 125 fill_sms4_group(struct wfx_hif_wapi_group_key * msg,struct ieee80211_key_conf * key) fill_sms4_group() argument 139 fill_aes_cmac_group(struct wfx_hif_igtk_group_key * msg,struct ieee80211_key_conf * key,struct ieee80211_key_seq * seq) fill_aes_cmac_group() argument [all...] |
/linux/sound/soc/fsl/ |
H A D | imx-pcm-rpmsg.c | 36 static int imx_rpmsg_pcm_send_message(struct rpmsg_msg *msg, in imx_rpmsg_pcm_send_message() argument 49 dev_dbg(&rpdev->dev, "send cmd %d\n", msg->s_msg.header.cmd); in imx_rpmsg_pcm_send_message() 51 if (!(msg->s_msg.header.type == MSG_TYPE_C)) in imx_rpmsg_pcm_send_message() 54 ret = rpmsg_send(rpdev->ept, (void *)&msg->s_msg, in imx_rpmsg_pcm_send_message() 62 /* No receive msg for TYPE_C command */ in imx_rpmsg_pcm_send_message() 63 if (msg->s_msg.header.type == MSG_TYPE_C) { in imx_rpmsg_pcm_send_message() 73 msg->s_msg.header.cmd); in imx_rpmsg_pcm_send_message() 78 memcpy(&msg->r_msg, &info->r_msg, sizeof(struct rpmsg_r_msg)); in imx_rpmsg_pcm_send_message() 79 memcpy(&info->msg[msg in imx_rpmsg_pcm_send_message() 109 imx_rpmsg_insert_workqueue(struct snd_pcm_substream * substream,struct rpmsg_msg * msg,struct rpmsg_info * info) imx_rpmsg_insert_workqueue() argument 143 struct rpmsg_msg *msg; imx_rpmsg_pcm_hw_params() local 194 struct rpmsg_msg *msg; imx_rpmsg_pcm_pointer() local 215 struct rpmsg_msg *msg; imx_rpmsg_timer_callback() local 236 struct rpmsg_msg *msg; imx_rpmsg_pcm_open() local 289 struct rpmsg_msg *msg; imx_rpmsg_pcm_close() local 354 struct rpmsg_msg *msg; imx_rpmsg_prepare_and_submit() local 383 struct rpmsg_msg *msg; imx_rpmsg_async_issue_pending() local 400 struct rpmsg_msg *msg; imx_rpmsg_restart() local 417 struct rpmsg_msg *msg; imx_rpmsg_pause() local 434 struct rpmsg_msg *msg; imx_rpmsg_terminate_all() local 525 struct rpmsg_msg *msg; imx_rpmsg_pcm_ack() local 642 struct rpmsg_msg msg; imx_rpmsg_pcm_work() local [all...] |
/linux/sound/soc/sof/ |
H A D | sof-client-probes-ipc3.c | 66 struct sof_ipc_probe_dma_add_params *msg; in ipc3_probes_init() local 67 size_t size = struct_size(msg, dma, 1); in ipc3_probes_init() 70 msg = kmalloc(size, GFP_KERNEL); in ipc3_probes_init() 71 if (!msg) in ipc3_probes_init() 73 msg->hdr.size = size; in ipc3_probes_init() 74 msg->hdr.cmd = SOF_IPC_GLB_PROBE | SOF_IPC_PROBE_INIT; in ipc3_probes_init() 75 msg->num_elems = 1; in ipc3_probes_init() 76 msg->dma[0].stream_tag = stream_tag; in ipc3_probes_init() 77 msg->dma[0].dma_buffer_size = buffer_size; in ipc3_probes_init() 79 ret = sof_client_ipc_tx_message_no_reply(cdev, msg); in ipc3_probes_init() 94 struct sof_ipc_cmd_hdr msg; ipc3_probes_deinit() local 106 struct sof_ipc_probe_info_params msg = {{{0}}}; ipc3_probes_info() local 179 struct sof_ipc_probe_point_add_params *msg; ipc3_probes_points_add() local 209 struct sof_ipc_probe_point_remove_params *msg; ipc3_probes_points_remove() local [all...] |
/linux/drivers/media/cec/core/ |
H A D | cec-adap.c | 28 struct cec_msg *msg, 110 /* Add new msg at the end of the queue */ in cec_queue_event_fh() 209 static void cec_queue_msg_fh(struct cec_fh *fh, const struct cec_msg *msg) in cec_queue_msg_fh() argument 223 entry->msg = *msg; in cec_queue_msg_fh() 224 /* Add new msg at the end of the queue */ in cec_queue_msg_fh() 263 const struct cec_msg *msg, in cec_queue_msg_monitor() argument 273 cec_queue_msg_fh(fh, msg); in cec_queue_msg_monitor() 282 const struct cec_msg *msg) in cec_queue_msg_followers() argument 289 cec_queue_msg_fh(fh, msg); in cec_queue_msg_followers() 600 struct cec_msg *msg; cec_transmit_done_ts() local 780 cec_transmit_msg_fh(struct cec_adapter * adap,struct cec_msg * msg,struct cec_fh * fh,bool block) cec_transmit_msg_fh() argument 993 cec_transmit_msg(struct cec_adapter * adap,struct cec_msg * msg,bool block) cec_transmit_msg() argument 1105 cec_received_msg_ts(struct cec_adapter * adap,struct cec_msg * msg,ktime_t ts) cec_received_msg_ts() argument 1310 struct cec_msg msg = { }; cec_config_log_addr() local 1555 struct cec_msg msg = {}; cec_config_thread_func() local 1963 cec_fill_msg_report_features(struct cec_adapter * adap,struct cec_msg * msg,unsigned int la_idx) cec_fill_msg_report_features() argument 1991 cec_feature_abort_reason(struct cec_adapter * adap,struct cec_msg * msg,u8 reason) cec_feature_abort_reason() argument 2009 cec_feature_abort(struct cec_adapter * adap,struct cec_msg * msg) cec_feature_abort() argument 2015 cec_feature_refused(struct cec_adapter * adap,struct cec_msg * msg) cec_feature_refused() argument 2028 cec_receive_notify(struct cec_adapter * adap,struct cec_msg * msg,bool is_reply) cec_receive_notify() argument [all...] |
/linux/sound/virtio/ |
H A D | virtio_ctl_msg.c | 29 * @msg: Control message. 33 void virtsnd_ctl_msg_ref(struct virtio_snd_msg *msg) in virtsnd_ctl_msg_ref() argument 35 refcount_inc(&msg->ref_count); in virtsnd_ctl_msg_ref() 40 * @msg: Control message. 46 void virtsnd_ctl_msg_unref(struct virtio_snd_msg *msg) in virtsnd_ctl_msg_unref() argument 48 if (refcount_dec_and_test(&msg->ref_count)) in virtsnd_ctl_msg_unref() 49 kfree(msg); in virtsnd_ctl_msg_unref() 54 * @msg: Control message. 58 void *virtsnd_ctl_msg_request(struct virtio_snd_msg *msg) in virtsnd_ctl_msg_request() argument 60 return sg_virt(&msg in virtsnd_ctl_msg_request() 69 virtsnd_ctl_msg_response(struct virtio_snd_msg * msg) virtsnd_ctl_msg_response() argument 88 struct virtio_snd_msg *msg; virtsnd_ctl_msg_alloc() local 121 virtsnd_ctl_msg_send(struct virtio_snd * snd,struct virtio_snd_msg * msg,struct scatterlist * out_sgs,struct scatterlist * in_sgs,bool nowait) virtsnd_ctl_msg_send() argument 219 virtsnd_ctl_msg_complete(struct virtio_snd_msg * msg) virtsnd_ctl_msg_complete() argument 240 struct virtio_snd_msg *msg = virtsnd_ctl_msg_cancel_all() local 264 struct virtio_snd_msg *msg; virtsnd_ctl_query_info() local 297 struct virtio_snd_msg *msg; virtsnd_ctl_notify_cb() local [all...] |
/linux/drivers/gpu/drm/hyperv/ |
H A D | hyperv_drm_proto.c | 196 static inline int hyperv_sendpacket(struct hv_device *hdev, struct synthvid_msg *msg) in hyperv_sendpacket() argument 202 msg->pipe_hdr.type = PIPE_MSG_DATA; in hyperv_sendpacket() 203 msg->pipe_hdr.size = msg->vid_hdr.size; in hyperv_sendpacket() 205 ret = vmbus_sendpacket(hdev->channel, msg, in hyperv_sendpacket() 206 msg->vid_hdr.size + sizeof(struct pipe_msg_hdr), in hyperv_sendpacket() 219 struct synthvid_msg *msg = (struct synthvid_msg *)hv->init_buf; in hyperv_negotiate_version() local 223 memset(msg, 0, sizeof(struct synthvid_msg)); in hyperv_negotiate_version() 224 msg->vid_hdr.type = SYNTHVID_VERSION_REQUEST; in hyperv_negotiate_version() 225 msg in hyperv_negotiate_version() 251 struct synthvid_msg *msg = (struct synthvid_msg *)hv->init_buf; hyperv_update_vram_location() local 280 struct synthvid_msg msg; hyperv_update_situation() local 320 struct synthvid_msg msg; hyperv_hide_hw_ptr() local 354 struct synthvid_msg msg; hyperv_update_dirt() local 379 struct synthvid_msg *msg = (struct synthvid_msg *)hv->init_buf; hyperv_get_supported_resolution() local 428 struct synthvid_msg *msg; hyperv_receive_sub() local [all...] |
/linux/drivers/connector/ |
H A D | cn_proc.c | 88 static inline void send_msg(struct cn_msg *msg) in send_msg() argument 94 msg->seq = __this_cpu_inc_return(local_event.count) - 1; in send_msg() 95 ((struct proc_event *)msg->data)->cpu = smp_processor_id(); in send_msg() 103 filter_data[0] = ((struct proc_event *)msg->data)->what; in send_msg() 106 ((struct proc_event *)msg->data)->event_data.exit.exit_code; in send_msg() 111 cn_netlink_send_mult(msg, msg->len, 0, CN_IDX_PROC, GFP_NOWAIT, in send_msg() 119 struct cn_msg *msg; in proc_fork_connector() local 127 msg = buffer_to_cn_msg(buffer); in proc_fork_connector() 128 ev = (struct proc_event *)msg in proc_fork_connector() 149 struct cn_msg *msg; proc_exec_connector() local 173 struct cn_msg *msg; proc_id_connector() local 211 struct cn_msg *msg; proc_sid_connector() local 235 struct cn_msg *msg; proc_ptrace_connector() local 267 struct cn_msg *msg; proc_comm_connector() local 292 struct cn_msg *msg; proc_coredump_connector() local 325 struct cn_msg *msg; proc_exit_connector() local 368 struct cn_msg *msg; cn_proc_ack() local 395 cn_proc_mcast_ctl(struct cn_msg * msg,struct netlink_skb_parms * nsp) cn_proc_mcast_ctl() argument [all...] |
/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_log.c | 29 void mod_hdcp_dump_binary_message(uint8_t *msg, uint32_t msg_size, in mod_hdcp_dump_binary_message() argument 47 sprintf(&buf[buf_pos], "%02X ", msg[i]); in mod_hdcp_dump_binary_message() 57 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_log_ddc_trace() 58 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_log_ddc_trace() 59 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_log_ddc_trace() 60 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_log_ddc_trace() 62 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_log_ddc_trace() 63 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_log_ddc_trace() 64 HDCP_DDC_WRITE_TRACE(hdcp, "AN", hdcp->auth.msg.hdcp1.an, in mod_hdcp_log_ddc_trace() 65 sizeof(hdcp->auth.msg in mod_hdcp_log_ddc_trace() [all...] |
/linux/drivers/char/ipmi/ |
H A D | ipmi_msghandler.c | 47 struct ipmi_smi_msg *msg); 562 struct ipmi_recv_msg *msg); 681 struct ipmi_recv_msg *msg, *msg2; in free_recv_msg_list() local 683 list_for_each_entry_safe(msg, msg2, q, link) { in free_recv_msg_list() 684 list_del(&msg->link); in free_recv_msg_list() 685 ipmi_free_recv_msg(msg); in free_recv_msg_list() 691 struct ipmi_smi_msg *msg, *msg2; in free_smi_msg_list() local 693 list_for_each_entry_safe(msg, msg2, q, link) { in free_smi_msg_list() 694 list_del(&msg->link); in free_smi_msg_list() 695 ipmi_free_smi_msg(msg); in free_smi_msg_list() 938 deliver_response(struct ipmi_smi * intf,struct ipmi_recv_msg * msg) deliver_response() argument 974 deliver_local_response(struct ipmi_smi * intf,struct ipmi_recv_msg * msg) deliver_local_response() argument 983 deliver_err_response(struct ipmi_smi * intf,struct ipmi_recv_msg * msg,int err) deliver_err_response() argument 1126 struct ipmi_recv_msg *msg = intf->seq_table[seq].recv_msg; intf_find_seq() local 1180 struct ipmi_recv_msg *msg = NULL; intf_err_seq() local 1331 struct ipmi_recv_msg *msg, *msg2; _ipmi_destroy_user() local 1586 struct ipmi_recv_msg *msg, *msg2; ipmi_set_gets_events() local 1768 format_ipmb_msg(struct ipmi_smi_msg * smi_msg,struct kernel_ipmi_msg * msg,struct ipmi_ipmb_addr * ipmb_addr,long msgid,unsigned char ipmb_seq,int broadcast,unsigned char source_address,unsigned char source_lun) format_ipmb_msg() argument 1810 format_lan_msg(struct ipmi_smi_msg * smi_msg,struct kernel_ipmi_msg * msg,struct ipmi_lan_addr * lan_addr,long msgid,unsigned char ipmb_seq,unsigned char source_lun) format_lan_msg() argument 1880 is_maintenance_mode_cmd(struct kernel_ipmi_msg * msg) is_maintenance_mode_cmd() argument 1891 i_ipmi_req_sysintf(struct ipmi_smi * intf,struct ipmi_addr * addr,long msgid,struct kernel_ipmi_msg * msg,struct ipmi_smi_msg * smi_msg,struct ipmi_recv_msg * recv_msg,int retries,unsigned int retry_time_ms) i_ipmi_req_sysintf() argument 1958 i_ipmi_req_ipmb(struct ipmi_smi * intf,struct ipmi_addr * addr,long msgid,struct kernel_ipmi_msg * msg,struct ipmi_smi_msg * smi_msg,struct ipmi_recv_msg * recv_msg,unsigned char source_address,unsigned char source_lun,int retries,unsigned int retry_time_ms) i_ipmi_req_ipmb() argument 2099 i_ipmi_req_ipmb_direct(struct ipmi_smi * intf,struct ipmi_addr * addr,long msgid,struct kernel_ipmi_msg * msg,struct ipmi_smi_msg * smi_msg,struct ipmi_recv_msg * recv_msg,unsigned char source_lun) i_ipmi_req_ipmb_direct() argument 2151 i_ipmi_req_lan(struct ipmi_smi * intf,struct ipmi_addr * addr,long msgid,struct kernel_ipmi_msg * msg,struct ipmi_smi_msg * smi_msg,struct ipmi_recv_msg * recv_msg,unsigned char source_lun,int retries,unsigned int retry_time_ms) i_ipmi_req_lan() argument 2276 i_ipmi_request(struct ipmi_user * user,struct ipmi_smi * intf,struct ipmi_addr * addr,long msgid,struct kernel_ipmi_msg * msg,void * user_msg_data,void * supplied_smi,struct ipmi_recv_msg * supplied_recv,int priority,unsigned char source_address,unsigned char source_lun,int retries,unsigned int retry_time_ms) i_ipmi_request() argument 2394 ipmi_request_settime(struct ipmi_user * user,struct ipmi_addr * addr,long msgid,struct kernel_ipmi_msg * msg,void * user_msg_data,int priority,int retries,unsigned int retry_time_ms) ipmi_request_settime() argument 2433 ipmi_request_supply_msgs(struct ipmi_user * user,struct ipmi_addr * addr,long msgid,struct kernel_ipmi_msg * msg,void * user_msg_data,void * supplied_smi,struct ipmi_recv_msg * supplied_recv,int priority) ipmi_request_supply_msgs() argument 2470 bmc_device_id_handler(struct ipmi_smi * intf,struct ipmi_recv_msg * msg) bmc_device_id_handler() argument 2513 struct kernel_ipmi_msg msg; send_get_device_id_cmd() local 3250 struct kernel_ipmi_msg msg; send_guid_cmd() local 3275 guid_handler(struct ipmi_smi * intf,struct ipmi_recv_msg * msg) guid_handler() argument 3333 struct kernel_ipmi_msg msg; send_channel_info_cmd() local 3361 channel_handler(struct ipmi_smi * intf,struct ipmi_recv_msg * msg) channel_handler() argument 3682 deliver_smi_err_response(struct ipmi_smi * intf,struct ipmi_smi_msg * msg,unsigned char err) deliver_smi_err_response() argument 3701 struct ipmi_smi_msg *msg; cleanup_smi_msgs() local 3793 handle_ipmb_get_msg_rsp(struct ipmi_smi * intf,struct ipmi_smi_msg * msg) handle_ipmb_get_msg_rsp() argument 3856 handle_ipmb_get_msg_cmd(struct ipmi_smi * intf,struct ipmi_smi_msg * msg) handle_ipmb_get_msg_cmd() argument 3965 handle_ipmb_direct_rcv_cmd(struct ipmi_smi * intf,struct ipmi_smi_msg * msg) handle_ipmb_direct_rcv_cmd() argument 4048 handle_ipmb_direct_rcv_rsp(struct ipmi_smi * intf,struct ipmi_smi_msg * msg) handle_ipmb_direct_rcv_rsp() argument 4079 handle_lan_get_msg_rsp(struct ipmi_smi * intf,struct ipmi_smi_msg * msg) handle_lan_get_msg_rsp() argument 4146 handle_lan_get_msg_cmd(struct ipmi_smi * intf,struct ipmi_smi_msg * msg) handle_lan_get_msg_cmd() argument 4264 handle_oem_get_msg_cmd(struct ipmi_smi * intf,struct ipmi_smi_msg * msg) handle_oem_get_msg_cmd() argument 4365 copy_event_into_recv_msg(struct ipmi_recv_msg * recv_msg,struct ipmi_smi_msg * msg) copy_event_into_recv_msg() argument 4383 handle_read_event_rsp(struct ipmi_smi * intf,struct ipmi_smi_msg * msg) handle_read_event_rsp() argument 4486 handle_bmc_rsp(struct ipmi_smi * intf,struct ipmi_smi_msg * msg) handle_bmc_rsp() argument 4521 handle_one_recv_msg(struct ipmi_smi * intf,struct ipmi_smi_msg * msg) handle_one_recv_msg() argument 4803 struct ipmi_recv_msg *msg, *msg2; smi_work() local 4885 ipmi_smi_msg_received(struct ipmi_smi * intf,struct ipmi_smi_msg * msg) ipmi_smi_msg_received() argument 4957 struct ipmi_recv_msg *msg; check_msg_timeout() local 5036 struct ipmi_recv_msg *msg, *msg2; ipmi_timeout_handler() local 5163 free_smi_msg(struct ipmi_smi_msg * msg) free_smi_msg() argument 5185 free_recv_msg(struct ipmi_recv_msg * msg) free_recv_msg() argument 5206 ipmi_free_recv_msg(struct ipmi_recv_msg * msg) ipmi_free_recv_msg() argument 5216 dummy_smi_done_handler(struct ipmi_smi_msg * msg) dummy_smi_done_handler() argument 5221 dummy_recv_done_handler(struct ipmi_recv_msg * msg) dummy_recv_done_handler() argument 5231 _ipmi_panic_request_and_wait(struct ipmi_smi * intf,struct ipmi_addr * addr,struct kernel_ipmi_msg * msg) _ipmi_panic_request_and_wait() argument 5263 ipmi_panic_request_and_wait(struct ipmi_user * user,struct ipmi_addr * addr,struct kernel_ipmi_msg * msg) ipmi_panic_request_and_wait() argument 5271 event_receiver_fetcher(struct ipmi_smi * intf,struct ipmi_recv_msg * msg) event_receiver_fetcher() argument 5283 device_id_fetcher(struct ipmi_smi * intf,struct ipmi_recv_msg * msg) device_id_fetcher() argument 5300 struct kernel_ipmi_msg msg; send_panic_events() local [all...] |
/linux/drivers/firmware/arm_scmi/transports/ |
H A D | virtio.c | 184 struct scmi_vio_msg *msg; in scmi_virtio_get_free_msg() local 192 msg = list_first_entry(&vioch->free_list, typeof(*msg), list); in scmi_virtio_get_free_msg() 193 list_del_init(&msg->list); in scmi_virtio_get_free_msg() 197 msg->poll_status = VIO_MSG_NOT_POLLED; in scmi_virtio_get_free_msg() 198 refcount_set(&msg->users, 1); in scmi_virtio_get_free_msg() 200 return msg; in scmi_virtio_get_free_msg() 203 static inline bool scmi_vio_msg_acquire(struct scmi_vio_msg *msg) in scmi_vio_msg_acquire() argument 205 return refcount_inc_not_zero(&msg->users); in scmi_vio_msg_acquire() 210 struct scmi_vio_msg *msg) in scmi_vio_msg_release() argument 232 scmi_vio_feed_vq_rx(struct scmi_vio_channel * vioch,struct scmi_vio_msg * msg) scmi_vio_feed_vq_rx() argument 259 scmi_finalize_message(struct scmi_vio_channel * vioch,struct scmi_vio_msg * msg) scmi_finalize_message() argument 272 struct scmi_vio_msg *msg; scmi_vio_complete_cb() local 324 struct scmi_vio_msg *msg, *tmp; scmi_vio_deferred_tx_worker() local 438 struct scmi_vio_msg *msg; virtio_chan_setup() local 491 struct scmi_vio_msg *msg; virtio_send_message() local 549 struct scmi_vio_msg *msg = xfer->priv; virtio_fetch_response() local 558 struct scmi_vio_msg *msg = xfer->priv; virtio_fetch_notification() local 605 struct scmi_vio_msg *msg = xfer->priv; virtio_mark_txdone() local 673 struct scmi_vio_msg *next_msg, *msg = xfer->priv; virtio_poll_done() local [all...] |
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | txrx_edma.h | 349 static inline __le16 wil_rx_status_get_length(void *msg) in wil_rx_status_get_length() argument 351 return ((struct wil_rx_status_compressed *)msg)->length; in wil_rx_status_get_length() 354 static inline u8 wil_rx_status_get_mcs(void *msg) in wil_rx_status_get_mcs() argument 356 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_mcs() 360 static inline u8 wil_rx_status_get_cb_mode(void *msg) in wil_rx_status_get_cb_mode() argument 362 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d1, in wil_rx_status_get_cb_mode() 366 static inline u16 wil_rx_status_get_flow_id(void *msg) in wil_rx_status_get_flow_id() argument 368 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg)->d0, in wil_rx_status_get_flow_id() 372 static inline u8 wil_rx_status_get_mcast(void *msg) in wil_rx_status_get_mcast() argument 374 return WIL_GET_BITS(((struct wil_rx_status_compressed *)msg) in wil_rx_status_get_mcast() 388 wil_rx_status_get_cid(void * msg) wil_rx_status_get_cid() argument 402 wil_rx_status_get_tid(void * msg) wil_rx_status_get_tid() argument 415 wil_rx_status_get_eop(void * msg) wil_rx_status_get_eop() argument 427 wil_rx_status_get_buff_id(void * msg) wil_rx_status_get_buff_id() argument 432 wil_rx_status_get_data_offset(void * msg) wil_rx_status_get_data_offset() argument 445 wil_rx_status_get_frame_type(struct wil6210_priv * wil,void * msg) wil_rx_status_get_frame_type() argument 454 wil_rx_status_get_fc1(struct wil6210_priv * wil,void * msg) wil_rx_status_get_fc1() argument 463 wil_rx_status_get_seq(struct wil6210_priv * wil,void * msg) wil_rx_status_get_seq() argument 471 wil_rx_status_get_retry(void * msg) wil_rx_status_get_retry() argument 477 wil_rx_status_get_mid(void * msg) wil_rx_status_get_mid() argument 487 wil_rx_status_get_error(void * msg) wil_rx_status_get_error() argument 493 wil_rx_status_get_l2_rx_status(void * msg) wil_rx_status_get_l2_rx_status() argument 499 wil_rx_status_get_l3_rx_status(void * msg) wil_rx_status_get_l3_rx_status() argument 505 wil_rx_status_get_l4_rx_status(void * msg) wil_rx_status_get_l4_rx_status() argument 525 wil_rx_status_get_checksum(void * msg,struct wil_net_stats * stats) wil_rx_status_get_checksum() argument 550 wil_rx_status_get_security(void * msg) wil_rx_status_get_security() argument 556 wil_rx_status_get_key_id(void * msg) wil_rx_status_get_key_id() argument 562 wil_tx_status_get_mcs(struct wil_ring_tx_status * msg) wil_tx_status_get_mcs() argument [all...] |
/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_restrack.c | 11 int hns_roce_fill_res_cq_entry(struct sk_buff *msg, struct ib_cq *ib_cq) in hns_roce_fill_res_cq_entry() argument 16 table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER); in hns_roce_fill_res_cq_entry() 20 if (rdma_nl_put_driver_u32(msg, "cq_depth", hr_cq->cq_depth)) in hns_roce_fill_res_cq_entry() 23 if (rdma_nl_put_driver_u32(msg, "cons_index", hr_cq->cons_index)) in hns_roce_fill_res_cq_entry() 26 if (rdma_nl_put_driver_u32(msg, "cqe_size", hr_cq->cqe_size)) in hns_roce_fill_res_cq_entry() 29 if (rdma_nl_put_driver_u32(msg, "arm_sn", hr_cq->arm_sn)) in hns_roce_fill_res_cq_entry() 32 nla_nest_end(msg, table_attr); in hns_roce_fill_res_cq_entry() 37 nla_nest_cancel(msg, table_attr); in hns_roce_fill_res_cq_entry() 42 int hns_roce_fill_res_cq_entry_raw(struct sk_buff *msg, struct ib_cq *ib_cq) in hns_roce_fill_res_cq_entry_raw() argument 56 ret = nla_put(msg, RDMA_NLDEV_ATTR_RES_RA in hns_roce_fill_res_cq_entry_raw() 61 hns_roce_fill_res_qp_entry(struct sk_buff * msg,struct ib_qp * ib_qp) hns_roce_fill_res_qp_entry() argument 95 hns_roce_fill_res_qp_entry_raw(struct sk_buff * msg,struct ib_qp * ib_qp) hns_roce_fill_res_qp_entry_raw() argument 131 hns_roce_fill_res_mr_entry(struct sk_buff * msg,struct ib_mr * ib_mr) hns_roce_fill_res_mr_entry() argument 161 hns_roce_fill_res_mr_entry_raw(struct sk_buff * msg,struct ib_mr * ib_mr) hns_roce_fill_res_mr_entry_raw() argument 180 hns_roce_fill_res_srq_entry(struct sk_buff * msg,struct ib_srq * ib_srq) hns_roce_fill_res_srq_entry() argument 210 hns_roce_fill_res_srq_entry_raw(struct sk_buff * msg,struct ib_srq * ib_srq) hns_roce_fill_res_srq_entry_raw() argument [all...] |
/linux/drivers/iio/common/ssp_sensors/ |
H A D | ssp_spi.c | 78 struct ssp_msg *msg; in ssp_create_msg() local 80 msg = kzalloc(sizeof(*msg), GFP_KERNEL); in ssp_create_msg() 81 if (!msg) in ssp_create_msg() 89 msg->buffer = kzalloc(SSP_HEADER_SIZE_ALIGNED + len, in ssp_create_msg() 91 if (!msg->buffer) { in ssp_create_msg() 92 kfree(msg); in ssp_create_msg() 96 msg->length = len; in ssp_create_msg() 97 msg->options = opt; in ssp_create_msg() 99 memcpy(msg in ssp_create_msg() 177 ssp_do_transfer(struct ssp_data * data,struct ssp_msg * msg,struct completion * done,int timeout) ssp_do_transfer() argument 244 ssp_spi_sync_command(struct ssp_data * data,struct ssp_msg * msg) ssp_spi_sync_command() argument 249 ssp_spi_sync(struct ssp_data * data,struct ssp_msg * msg,int timeout) ssp_spi_sync() argument 338 struct ssp_msg *msg = NULL, *iter, *n; ssp_irq_msg() local 449 struct ssp_msg *msg, *n; ssp_clean_pending_list() local 465 struct ssp_msg *msg; ssp_command() local 483 struct ssp_msg *msg; ssp_send_instruction() local 516 struct ssp_msg *msg; ssp_get_chipid() local 534 struct ssp_msg *msg; ssp_set_magnetic_matrix() local 557 struct ssp_msg *msg = ssp_create_msg(SSP_MSG2SSP_AP_SENSOR_SCANNING, 4, ssp_get_sensor_scanning_info() local 583 struct ssp_msg *msg = ssp_create_msg(SSP_MSG2SSP_AP_FIRMWARE_REV, 4, ssp_get_firmware_rev() local [all...] |
/linux/drivers/media/cec/usb/extron-da-hd-4k-plus/ |
H A D | cec-splitter.c | 16 struct cec_msg *msg, u8 reason) in cec_feature_abort_reason() argument 24 if (msg->msg[1] == CEC_MSG_FEATURE_ABORT) in cec_feature_abort_reason() 27 if (cec_msg_initiator(msg) == CEC_LOG_ADDR_UNREGISTERED) in cec_feature_abort_reason() 29 cec_msg_set_reply_to(&tx_msg, msg); in cec_feature_abort_reason() 30 cec_msg_feature_abort(&tx_msg, msg->msg[1], reason); in cec_feature_abort_reason() 38 struct cec_msg msg; in cec_port_out_active_source() local 43 cec_msg_init(&msg, adap->log_addrs.log_addr[0], 0); in cec_port_out_active_source() 44 cec_msg_active_source(&msg, ada in cec_port_out_active_source() 61 struct cec_msg msg; cec_port_out_standby() local 84 struct cec_msg msg; cec_port_out_wakeup() local 153 struct cec_msg msg; cec_out_passthrough() local 246 struct cec_msg msg; cec_out_request_current_latency() local 340 struct cec_msg msg; cec_out_give_device_power_status() local 359 cec_splitter_received_input(struct cec_splitter_port * p,struct cec_msg * msg) cec_splitter_received_input() argument 423 cec_splitter_nb_transmit_canceled_output(struct cec_splitter_port * p,const struct cec_msg * msg,struct cec_adapter * input_adap) cec_splitter_nb_transmit_canceled_output() argument 481 cec_splitter_received_output(struct cec_splitter_port * p,struct cec_msg * msg,struct cec_adapter * input_adap) cec_splitter_received_output() argument [all...] |
/linux/net/devlink/ |
H A D | dev.c | 13 struct sk_buff *msg; member 58 static int devlink_reload_stat_put(struct sk_buff *msg, in devlink_reload_stat_put() argument 63 reload_stats_entry = nla_nest_start(msg, DEVLINK_ATTR_RELOAD_STATS_ENTRY); in devlink_reload_stat_put() 67 if (nla_put_u8(msg, DEVLINK_ATTR_RELOAD_STATS_LIMIT, limit) || in devlink_reload_stat_put() 68 nla_put_u32(msg, DEVLINK_ATTR_RELOAD_STATS_VALUE, value)) in devlink_reload_stat_put() 70 nla_nest_end(msg, reload_stats_entry); in devlink_reload_stat_put() 74 nla_nest_cancel(msg, reload_stats_entry); in devlink_reload_stat_put() 79 devlink_reload_stats_put(struct sk_buff *msg, struct devlink *devlink, bool is_remote) in devlink_reload_stats_put() argument 86 reload_stats_attr = nla_nest_start(msg, DEVLINK_ATTR_RELOAD_STATS); in devlink_reload_stats_put() 88 reload_stats_attr = nla_nest_start(msg, DEVLINK_ATTR_REMOTE_RELOAD_STAT in devlink_reload_stats_put() 142 devlink_nl_nested_fill(struct sk_buff * msg,struct devlink * devlink) devlink_nl_nested_fill() argument 159 devlink_nl_fill(struct sk_buff * msg,struct devlink * devlink,enum devlink_command cmd,u32 portid,u32 seq,int flags) devlink_nl_fill() argument 201 struct sk_buff *msg; devlink_notify() local 226 struct sk_buff *msg; devlink_nl_get_doit() local 244 devlink_nl_get_dump_one(struct sk_buff * msg,struct devlink * devlink,struct netlink_callback * cb,int flags) devlink_nl_get_dump_one() argument 252 devlink_nl_get_dumpit(struct sk_buff * msg,struct netlink_callback * cb) devlink_nl_get_dumpit() argument 491 struct sk_buff *msg; devlink_nl_reload_actions_performed_snd() local 628 devlink_nl_eswitch_fill(struct sk_buff * msg,struct devlink * devlink,enum devlink_command cmd,u32 portid,u32 seq,int flags) devlink_nl_eswitch_fill() argument 686 struct sk_buff *msg; devlink_nl_eswitch_get_doit() local 870 devlink_nl_info_fill(struct sk_buff * msg,struct devlink * devlink,enum devlink_command cmd,u32 portid,u32 seq,int flags,struct netlink_ext_ack * extack) devlink_nl_info_fill() argument 909 struct sk_buff *msg; devlink_nl_info_get_doit() local 928 devlink_nl_info_get_dump_one(struct sk_buff * msg,struct devlink * devlink,struct netlink_callback * cb,int flags) devlink_nl_info_get_dump_one() argument 942 devlink_nl_info_get_dumpit(struct sk_buff * msg,struct netlink_callback * cb) devlink_nl_info_get_dumpit() argument 947 devlink_nl_flash_update_fill(struct sk_buff * msg,struct devlink * devlink,enum devlink_command cmd,struct devlink_flash_notify * params) devlink_nl_flash_update_fill() argument 995 struct sk_buff *msg; __devlink_flash_update_notify() local 1191 struct sk_buff *msg; __devlink_compat_running_version() local 1262 devlink_nl_selftests_fill(struct sk_buff * msg,struct devlink * devlink,u32 portid,u32 seq,int flags,struct netlink_ext_ack * extack) devlink_nl_selftests_fill() argument 1305 struct sk_buff *msg; devlink_nl_selftests_get_doit() local 1325 devlink_nl_selftests_get_dump_one(struct sk_buff * msg,struct devlink * devlink,struct netlink_callback * cb,int flags) devlink_nl_selftests_get_dump_one() argument 1376 struct sk_buff *msg; devlink_nl_selftests_run_doit() local [all...] |
/linux/net/sctp/ |
H A D | chunk.c | 35 static void sctp_datamsg_init(struct sctp_datamsg *msg) in sctp_datamsg_init() argument 37 refcount_set(&msg->refcnt, 1); in sctp_datamsg_init() 38 msg->send_failed = 0; in sctp_datamsg_init() 39 msg->send_error = 0; in sctp_datamsg_init() 40 msg->can_delay = 1; in sctp_datamsg_init() 41 msg->abandoned = 0; in sctp_datamsg_init() 42 msg->expires_at = 0; in sctp_datamsg_init() 43 INIT_LIST_HEAD(&msg->chunks); in sctp_datamsg_init() 49 struct sctp_datamsg *msg; in sctp_datamsg_new() local 50 msg in sctp_datamsg_new() 58 sctp_datamsg_free(struct sctp_datamsg * msg) sctp_datamsg_free() argument 72 sctp_datamsg_destroy(struct sctp_datamsg * msg) sctp_datamsg_destroy() argument 119 sctp_datamsg_hold(struct sctp_datamsg * msg) sctp_datamsg_hold() argument 125 sctp_datamsg_put(struct sctp_datamsg * msg) sctp_datamsg_put() argument 132 sctp_datamsg_assign(struct sctp_datamsg * msg,struct sctp_chunk * chunk) sctp_datamsg_assign() argument 155 struct sctp_datamsg *msg; sctp_datamsg_from_user() local [all...] |
/linux/include/linux/ |
H A D | skmsg.h | 124 int sk_msg_alloc(struct sock *sk, struct sk_msg *msg, int len, 128 void sk_msg_trim(struct sock *sk, struct sk_msg *msg, int len); 129 int sk_msg_free(struct sock *sk, struct sk_msg *msg); 130 int sk_msg_free_nocharge(struct sock *sk, struct sk_msg *msg); 131 void sk_msg_free_partial(struct sock *sk, struct sk_msg *msg, u32 bytes); 132 void sk_msg_free_partial_nocharge(struct sock *sk, struct sk_msg *msg, 135 void sk_msg_return(struct sock *sk, struct sk_msg *msg, int bytes); 136 void sk_msg_return_zero(struct sock *sk, struct sk_msg *msg, int bytes); 139 struct sk_msg *msg, u32 bytes); 141 struct sk_msg *msg, u3 146 sk_msg_check_to_free(struct sk_msg * msg,u32 i,u32 bytes) sk_msg_check_to_free() argument 181 sk_msg_iter_prev(msg,which) global() argument 184 sk_msg_iter_next(msg,which) global() argument 187 sk_msg_init(struct sk_msg * msg) sk_msg_init() argument 211 sk_msg_full(const struct sk_msg * msg) sk_msg_full() argument 216 sk_msg_elem_used(const struct sk_msg * msg) sk_msg_elem_used() argument 221 sk_msg_elem(struct sk_msg * msg,int which) sk_msg_elem() argument 226 sk_msg_elem_cpy(struct sk_msg * msg,int which) sk_msg_elem_cpy() argument 231 sk_msg_page(struct sk_msg * msg,int which) sk_msg_page() argument 236 sk_msg_to_ingress(const struct sk_msg * msg) sk_msg_to_ingress() argument 241 sk_msg_compute_data_pointers(struct sk_msg * msg) sk_msg_compute_data_pointers() argument 254 sk_msg_page_add(struct sk_msg * msg,struct page * page,u32 len,u32 offset) sk_msg_page_add() argument 269 sk_msg_sg_copy(struct sk_msg * msg,u32 i,bool copy_state) sk_msg_sg_copy() argument 282 sk_msg_sg_copy_set(struct sk_msg * msg,u32 start) sk_msg_sg_copy_set() argument 287 sk_msg_sg_copy_clear(struct sk_msg * msg,u32 start) sk_msg_sg_copy_clear() argument 323 sk_psock_queue_msg(struct sk_psock * psock,struct sk_msg * msg) sk_psock_queue_msg() argument 342 struct sk_msg *msg; sk_psock_dequeue_msg() local 354 struct sk_msg *msg; sk_psock_peek_msg() local 363 sk_psock_next_msg(struct sk_psock * psock,struct sk_msg * msg) sk_psock_next_msg() argument 381 kfree_sk_msg(struct sk_msg * msg) kfree_sk_msg() argument [all...] |