Home
last modified time | relevance | path

Searched full:msg (Results 1 – 25 of 2809) sorted by relevance

12345678910>>...113

/linux/include/uapi/linux/
H A Dcec-funcs.h14 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/accel/habanalabs/include/gaudi2/
H A Dgaudi2_async_ids_map_extended.h26 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 = 0, .reset = EVENT_RESET_TYPE_NONE,
[all …]
/linux/drivers/media/platform/allegro-dvt/
H A Dallegro-mail.c44 allegro_enc_init(u32 *dst, struct mcu_msg_init_request *msg) in allegro_enc_init() argument
47 enum mcu_msg_version version = msg->header.version; in allegro_enc_init()
49 dst[i++] = msg->reserved0; in allegro_enc_init()
50 dst[i++] = msg->suballoc_dma; in allegro_enc_init()
51 dst[i++] = msg->suballoc_size; in allegro_enc_init()
52 dst[i++] = msg->encoder_buffer_size; in allegro_enc_init()
53 dst[i++] = msg->encoder_buffer_color_depth; in allegro_enc_init()
54 dst[i++] = msg->num_cores; in allegro_enc_init()
56 dst[i++] = msg->clk_rate; in allegro_enc_init()
233 allegro_enc_create_channel(u32 *dst, struct mcu_msg_create_channel *msg) in allegro_enc_create_channel() argument
[all …]
/linux/sound/soc/fsl/
H A Dimx-pcm-rpmsg.c36 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->r_msg.header.cmd].r_msg, in imx_rpmsg_pcm_send_message()
80 &msg->r_msg, sizeof(struct rpmsg_r_msg)); in imx_rpmsg_pcm_send_message()
[all …]
/linux/drivers/net/wireless/silabs/wfx/
H A Dkey.c33 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->key_data, key->key, key->keylen); in fill_wep_group()
[all …]
/linux/drivers/gpu/drm/hyperv/
H A Dhyperv_drm_proto.c196 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->vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in hyperv_negotiate_version()
227 msg->ver_req.version = ver; in hyperv_negotiate_version()
[all …]
/linux/drivers/infiniband/hw/cxgb4/
H A Drestrack.c39 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, "size", wq->sq.size)) in fill_sq()
[all …]
/linux/net/tipc/
H A Dnetlink_compat.c69 int (*format)(struct tipc_nl_compat_msg *msg, struct nlattr **attrs);
75 struct sk_buff *skb, struct tipc_nl_compat_msg *msg);
179 struct tipc_nl_compat_msg *msg, in __tipc_nl_compat_dumpit() argument
199 buf->sk = msg->dst_sk; in __tipc_nl_compat_dumpit()
200 if (__tipc_dump_start(&cb, msg->net)) { in __tipc_nl_compat_dumpit()
235 err = (*cmd->format)(msg, attrbuf); in __tipc_nl_compat_dumpit()
239 if (tipc_skb_tailroom(msg->rep) <= 1) { in __tipc_nl_compat_dumpit()
261 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) { in __tipc_nl_compat_dumpit()
262 char *tail = skb_tail_pointer(msg->rep); in __tipc_nl_compat_dumpit()
276 struct tipc_nl_compat_msg *msg) in tipc_nl_compat_dumpit() argument
[all …]
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_vpu_if.c12 static void handle_init_ack_msg(const struct vdec_vpu_ipi_init_ack *msg) in handle_init_ack_msg() argument
15 (unsigned long)msg->ap_inst_addr; in handle_init_ack_msg()
17 mtk_vdec_debug(vpu->ctx, "+ ap_inst_addr = 0x%llx", msg->ap_inst_addr); in handle_init_ack_msg()
22 msg->vpu_inst_addr); in handle_init_ack_msg()
23 vpu->inst_addr = msg->vpu_inst_addr; in handle_init_ack_msg()
40 vpu->fw_abi_version = msg->vdec_abi_version; in handle_init_ack_msg()
46 vpu->inst_id = msg->inst_id; in handle_init_ack_msg()
55 static void handle_get_param_msg_ack(const struct vdec_vpu_ipi_get_param_ack *msg) in handle_get_param_msg_ack() argument
58 (unsigned long)msg->ap_inst_addr; in handle_get_param_msg_ack()
60 mtk_vdec_debug(vpu->ctx, "+ ap_inst_addr = 0x%llx", msg->ap_inst_addr); in handle_get_param_msg_ack()
[all …]
/linux/drivers/connector/
H A Dcn_proc.c88 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->data; in proc_fork_connector()
140 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_fork_connector()
[all …]
/linux/drivers/platform/chrome/
H A Dcros_ec_proto.c59 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->outsize; in prepare_tx()
92 struct cros_ec_command *msg) in prepare_tx_legacy() argument
[all …]
H A Dcros_ec_proto_test.c22 struct cros_ec_command *msg; member
30 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_legacy_normal() local
36 msg->command = EC_CMD_HELLO; in cros_ec_proto_test_prepare_tx_legacy_normal()
37 msg->outsize = EC_PROTO2_MAX_PARAM_SIZE; in cros_ec_proto_test_prepare_tx_legacy_normal()
38 msg->data[0] = 0xde; in cros_ec_proto_test_prepare_tx_legacy_normal()
39 msg->data[1] = 0xad; in cros_ec_proto_test_prepare_tx_legacy_normal()
40 msg->data[2] = 0xbe; in cros_ec_proto_test_prepare_tx_legacy_normal()
41 msg->data[3] = 0xef; in cros_ec_proto_test_prepare_tx_legacy_normal()
43 ret = cros_ec_prepare_tx(ec_dev, msg); in cros_ec_proto_test_prepare_tx_legacy_normal()
73 struct cros_ec_command *msg = priv->msg; in cros_ec_proto_test_prepare_tx_legacy_bad_msg_outsize() local
[all …]
/linux/drivers/platform/x86/amd/hsmp/
H A Dhsmp.c53 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->msg_id, mbox_status); in __hsmp_send_message()
[all …]
/linux/sound/virtio/
H A Dvirtio_ctl_msg.c29 * @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->sg_request); in virtsnd_ctl_msg_request()
[all …]
/linux/include/linux/
H A Dskmsg.h124 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, u32 bytes);
[all …]
/linux/net/nfc/
H A Dnetlink.c61 static int nfc_genl_send_target(struct sk_buff *msg, struct nfc_target *target, in nfc_genl_send_target() argument
66 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nfc_genl_send_target()
73 if (nla_put_u32(msg, NFC_ATTR_TARGET_INDEX, target->idx) || in nfc_genl_send_target()
74 nla_put_u32(msg, NFC_ATTR_PROTOCOLS, target->supported_protocols) || in nfc_genl_send_target()
75 nla_put_u16(msg, NFC_ATTR_TARGET_SENS_RES, target->sens_res) || in nfc_genl_send_target()
76 nla_put_u8(msg, NFC_ATTR_TARGET_SEL_RES, target->sel_res)) in nfc_genl_send_target()
79 nla_put(msg, NFC_ATTR_TARGET_NFCID1, target->nfcid1_len, in nfc_genl_send_target()
83 nla_put(msg, NFC_ATTR_TARGET_SENSB_RES, target->sensb_res_len, in nfc_genl_send_target()
87 nla_put(msg, NFC_ATTR_TARGET_SENSF_RES, target->sensf_res_len, in nfc_genl_send_target()
92 if (nla_put_u8(msg, NFC_ATTR_TARGET_ISO15693_DSFID, in nfc_genl_send_target()
[all …]
/linux/drivers/iio/common/ssp_sensors/
H A Dssp_spi.c78 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->buffer, &h, SSP_HEADER_SIZE); in ssp_create_msg()
101 return msg; in ssp_create_msg()
[all …]
/linux/drivers/clk/tegra/
H A Dclk-bpmp.c63 struct tegra_bpmp_message msg; in tegra_bpmp_clk_transfer() local
79 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_transfer()
80 msg.mrq = MRQ_CLK; in tegra_bpmp_clk_transfer()
81 msg.tx.data = &request; in tegra_bpmp_clk_transfer()
82 msg.tx.size = sizeof(request); in tegra_bpmp_clk_transfer()
83 msg.rx.data = clk->rx.data; in tegra_bpmp_clk_transfer()
84 msg.rx.size = clk->rx.size; in tegra_bpmp_clk_transfer()
86 err = tegra_bpmp_transfer(bpmp, &msg); in tegra_bpmp_clk_transfer()
89 else if (msg.rx.ret < 0) in tegra_bpmp_clk_transfer()
98 struct tegra_bpmp_clk_message msg; in tegra_bpmp_clk_prepare() local
[all …]
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_log.c29 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.hdcp1.an)); in mod_hdcp_log_ddc_trace()
[all …]
/linux/fs/smb/server/
H A Dtransport_ipc.c244 struct ksmbd_ipc_msg *msg; in ipc_msg_alloc() local
247 msg = kvzalloc(msg_sz, KSMBD_DEFAULT_GFP); in ipc_msg_alloc()
248 if (msg) in ipc_msg_alloc()
249 msg->sz = sz; in ipc_msg_alloc()
250 return msg; in ipc_msg_alloc()
253 static void ipc_msg_free(struct ksmbd_ipc_msg *msg) in ipc_msg_free() argument
255 kvfree(msg); in ipc_msg_free()
448 static int ipc_msg_send(struct ksmbd_ipc_msg *msg) in ipc_msg_send() argument
457 skb = genlmsg_new(msg->sz, KSMBD_DEFAULT_GFP); in ipc_msg_send()
461 nlh = genlmsg_put(skb, 0, 0, &ksmbd_genl_family, 0, msg->type); in ipc_msg_send()
[all …]
/linux/sound/soc/sof/
H A Dsof-client-probes-ipc3.c66 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()
[all …]
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_restrack.c11 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_RAW, sizeof(context), &context); in hns_roce_fill_res_cq_entry_raw()
[all …]
/linux/drivers/mailbox/
H A Dbcm74110-mailbox.c90 u32 msg; member
141 struct bcm74110_mbox_msg *msg; in bcm74110_rx_push_init_msg() local
143 msg = kzalloc(sizeof(*msg), GFP_ATOMIC); in bcm74110_rx_push_init_msg()
144 if (!msg) in bcm74110_rx_push_init_msg()
147 INIT_LIST_HEAD(&msg->list_entry); in bcm74110_rx_push_init_msg()
148 msg->msg = val; in bcm74110_rx_push_init_msg()
151 list_add_tail(&msg->list_entry, &mbox->rx_svc_init_list); in bcm74110_rx_push_init_msg()
160 u32 msg, status; in bcm74110_rx_process_msg() local
164 msg = bcm74110_rx_readl(mbox, BCM_MBOX_RDATA); in bcm74110_rx_process_msg()
168 BCM_MSG_GET_FIELD(msg, REQ), BCM_MSG_GET_FIELD(msg, RPLY), in bcm74110_rx_process_msg()
[all …]
/linux/net/core/
H A Dskmsg.c13 static bool sk_msg_try_coalesce_ok(struct sk_msg *msg, int elem_first_coalesce) in sk_msg_try_coalesce_ok() argument
15 if (msg->sg.end > msg->sg.start && in sk_msg_try_coalesce_ok()
16 elem_first_coalesce < msg->sg.end) in sk_msg_try_coalesce_ok()
19 if (msg->sg.end < msg->sg.start && in sk_msg_try_coalesce_ok()
20 (elem_first_coalesce > msg->sg.start || in sk_msg_try_coalesce_ok()
21 elem_first_coalesce < msg->sg.end)) in sk_msg_try_coalesce_ok()
27 int sk_msg_alloc(struct sock *sk, struct sk_msg *msg, int len, in sk_msg_alloc() argument
31 u32 osize = msg->sg.size; in sk_msg_alloc()
34 len -= msg->sg.size; in sk_msg_alloc()
52 i = msg->sg.end; in sk_msg_alloc()
[all …]
/linux/drivers/hsi/clients/
H A Dhsi_char.c116 static void hsc_add_tail(struct hsc_channel *channel, struct hsi_msg *msg, in hsc_add_tail() argument
122 list_add_tail(&msg->link, queue); in hsc_add_tail()
129 struct hsi_msg *msg = NULL; in hsc_get_first_msg() local
137 msg = list_first_entry(queue, struct hsi_msg, link); in hsc_get_first_msg()
138 list_del(&msg->link); in hsc_get_first_msg()
142 return msg; in hsc_get_first_msg()
145 static inline void hsc_msg_free(struct hsi_msg *msg) in hsc_msg_free() argument
147 kfree(sg_virt(msg->sgt.sgl)); in hsc_msg_free()
148 hsi_free_msg(msg); in hsc_msg_free()
153 struct hsi_msg *msg, *tmp; in hsc_free_list() local
[all …]

12345678910>>...113