/linux/include/uapi/linux/ |
A D | cec-funcs.h | 26 *phys_addr = (msg->msg[2] << 8) | msg->msg[3]; in cec_ops_active_source() 55 *phys_addr = (msg->msg[2] << 8) | msg->msg[3]; in cec_ops_inactive_source() 80 *phys_addr = (msg->msg[2] << 8) | msg->msg[3]; in cec_ops_routing_information() 102 *orig_phys_addr = (msg->msg[2] << 8) | msg->msg[3]; in cec_ops_routing_change() 103 *new_phys_addr = (msg->msg[4] << 8) | msg->msg[5]; in cec_ops_routing_change() 118 *phys_addr = (msg->msg[2] << 8) | msg->msg[3]; in cec_ops_set_stream_path() 333 (msg->msg[4] << 8) | msg->msg[5]; in cec_ops_record_on() 341 (msg->msg[3] << 8) | msg->msg[4]; in cec_ops_record_on() 1105 *vendor_id = (msg->msg[2] << 16) | (msg->msg[3] << 8) | msg->msg[4]; in cec_ops_device_vendor_id() 1159 *vendor_id = (msg->msg[2] << 16) | (msg->msg[3] << 8) | msg->msg[4]; in cec_ops_vendor_command_with_id() [all …]
|
/linux/drivers/gpu/drm/msm/adreno/ |
A D | a6xx_hfi.c | 196 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_INIT, &msg, sizeof(msg), in a6xx_hfi_send_gmu_init() 207 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_FW_VERSION, &msg, sizeof(msg), in a6xx_hfi_get_fw_version() 229 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_PERF_TABLE, &msg, sizeof(msg), in a6xx_hfi_send_perf_table_v1() 252 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_PERF_TABLE, &msg, sizeof(msg), in a6xx_hfi_send_perf_table() 259 msg->bw_level_num = 1; in a618_build_bw_table() 261 msg->ddr_cmds_num = 3; in a618_build_bw_table() 290 msg->bw_level_num = 1; in a640_build_bw_table() 472 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_BW_TABLE, &msg, sizeof(msg), in a6xx_hfi_send_bw_table() 480 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_TEST, &msg, sizeof(msg), in a6xx_hfi_send_test() 488 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_START, &msg, sizeof(msg), in a6xx_hfi_send_start() [all …]
|
/linux/fs/reiserfs/ |
A D | hashes.c | 60 (u32) msg[1] << 8 | (u32) msg[2] << 16 | (u32) msg[3] << 24; in keyed_hash() 62 (u32) msg[5] << 8 | (u32) msg[6] << 16 | (u32) msg[7] << 24; in keyed_hash() 65 (u32) msg[10] << 16 | (u32) msg[11] << 24; in keyed_hash() 68 (u32) msg[14] << 16 | (u32) msg[15] << 24; in keyed_hash() 78 (u32) msg[1] << 8 | (u32) msg[2] << 16 | (u32) msg[3] << 24; in keyed_hash() 80 (u32) msg[5] << 8 | (u32) msg[6] << 16 | (u32) msg[7] << 24; in keyed_hash() 83 (u32) msg[10] << 16 | (u32) msg[11] << 24; in keyed_hash() 92 (u32) msg[1] << 8 | (u32) msg[2] << 16 | (u32) msg[3] << 24; in keyed_hash() 94 (u32) msg[5] << 8 | (u32) msg[6] << 16 | (u32) msg[7] << 24; in keyed_hash() 103 (u32) msg[1] << 8 | (u32) msg[2] << 16 | (u32) msg[3] << 24; in keyed_hash() [all …]
|
/linux/drivers/platform/chrome/ |
A D | cros_ec_proto.c | 79 memcpy(out + sizeof(*request), msg->data, msg->outsize); in prepare_packet() 216 msg->command, msg->result); in cros_ec_check_result() 277 memset(msg, 0, sizeof(*msg)); in cros_ec_host_command_proto_query() 315 msg = kmalloc(sizeof(*msg) + len, GFP_KERNEL); in cros_ec_host_command_proto_query_v2() 316 if (!msg) in cros_ec_host_command_proto_query_v2() 352 kfree(msg); in cros_ec_host_command_proto_query_v2() 382 if (!msg) in cros_ec_get_host_command_version_mask() 657 struct cros_ec_command *msg = &buf.msg; in get_next_event() local 661 memset(msg, 0, sizeof(*msg)); in get_next_event() 857 if (!msg) in cros_ec_get_sensor_count() [all …]
|
A D | cros_ec_sysfs.c | 62 msg = kmalloc(sizeof(*msg) + sizeof(*param), GFP_KERNEL); in reboot_store() 63 if (!msg) in reboot_store() 107 kfree(msg); in reboot_store() 124 if (!msg) in version_show() 203 kfree(msg); in version_show() 216 if (!msg) in flashinfo_show() 236 kfree(msg); in flashinfo_show() 251 if (!msg) in kb_wake_angle_show() 269 kfree(msg); in kb_wake_angle_show() 288 if (!msg) in kb_wake_angle_store() [all …]
|
/linux/drivers/connector/ |
A D | cn_proc.c | 92 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_fork_connector() 96 send_msg(msg); in proc_fork_connector() 116 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_exec_connector() 154 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_id_connector() 178 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_sid_connector() 210 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_ptrace_connector() 235 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_comm_connector() 268 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_coredump_connector() 303 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_exit_connector() 335 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in cn_proc_ack() [all …]
|
/linux/drivers/s390/crypto/ |
A D | zcrypt_msgtype6.c | 269 } __packed * msg = ap_msg->msg; in ICAMEX_msg_to_type6MEX_msgX() local 339 } __packed * msg = ap_msg->msg; in ICACRT_msg_to_type6CRT_msgX() local 403 } __packed * msg = ap_msg->msg; in XCRB_msg_to_type6CPRB_msgX() local 512 } __packed * msg = ap_msg->msg; in xcrb_msg_to_type6_ep11cprb_msgx() local 766 } __packed * msg = reply->msg; in convert_type86_rng() local 947 memcpy(msg->msg, reply->msg, len); in zcrypt_msgtype6_receive() 956 memcpy(msg->msg, reply->msg, len); in zcrypt_msgtype6_receive() 964 memcpy(msg->msg, reply->msg, sizeof(error_reply)); in zcrypt_msgtype6_receive() 1002 memcpy(msg->msg, reply->msg, len); in zcrypt_msgtype6_receive_ep11() 1010 memcpy(msg->msg, reply->msg, sizeof(error_reply)); in zcrypt_msgtype6_receive_ep11() [all …]
|
/linux/drivers/media/platform/allegro-dvt/ |
A D | allegro-mail.c | 49 dst[i++] = msg->reserved0; in allegro_enc_init() 54 dst[i++] = msg->num_cores; in allegro_enc_init() 56 dst[i++] = msg->clk_rate; in allegro_enc_init() 243 memcpy(&dst[i], msg->blob, msg->blob_size); in allegro_enc_create_channel() 309 dst[i++] = msg->size; in allegro_enc_put_stream_buffer() 342 dst[i++] = msg->src_y; in allegro_enc_encode_frame() 349 dst[i++] = msg->ep2; in allegro_enc_encode_frame() 425 msg->size = src[i++]; in allegro_dec_encode_frame() 473 if (!msg || !dst) in allegro_encode_mail() 524 if (!src || !msg) in allegro_decode_mail() [all …]
|
/linux/drivers/infiniband/hw/cxgb4/ |
A D | restrack.c | 173 if (fill_sq(msg, &wq)) in c4iw_fill_res_qp_entry() 179 if (fill_rq(msg, &wq)) in c4iw_fill_res_qp_entry() 182 nla_nest_end(msg, table_attr); in c4iw_fill_res_qp_entry() 186 nla_nest_cancel(msg, table_attr); in c4iw_fill_res_qp_entry() 260 nla_nest_end(msg, table_attr); in c4iw_fill_res_cm_id_entry() 265 nla_nest_cancel(msg, table_attr); in c4iw_fill_res_cm_id_entry() 413 if (fill_cq(msg, &cq)) in c4iw_fill_res_cq_entry() 422 nla_nest_end(msg, table_attr); in c4iw_fill_res_cq_entry() 426 nla_nest_cancel(msg, table_attr); in c4iw_fill_res_cq_entry() 480 nla_nest_end(msg, table_attr); in c4iw_fill_res_mr_entry() [all …]
|
/linux/drivers/media/cec/core/ |
A D | cec-adap.c | 647 msg->len, msg->msg, data->attempts, msg->reply); in cec_transmit_done_ts() 650 msg->len, msg->msg, data->attempts); in cec_transmit_done_ts() 782 memset(msg->msg + msg->len, 0, sizeof(msg->msg) - msg->len); in cec_transmit_msg_fh() 786 __func__, msg->len, msg->msg, msg->reply, in cec_transmit_msg_fh() 1083 memset(msg->msg + msg->len, 0, sizeof(msg->msg) - msg->len); in cec_received_msg_ts() 1195 memcpy(dst->msg, msg->msg, msg->len); in cec_received_msg_ts() 1980 u16 pa = (msg->msg[2] << 8) | msg->msg[3]; in cec_receive_notify() 2004 msg->msg[2] << 8 | msg->msg[3], 0); in cec_receive_notify() 2184 data->msg.len, data->msg.msg, data->msg.reply, in cec_adap_status() 2189 data->msg.len, data->msg.msg, data->msg.reply, in cec_adap_status() [all …]
|
/linux/sound/soc/fsl/ |
A D | imx-pcm-rpmsg.c | 146 msg = &info->msg[TX_HW_PARAM]; in imx_rpmsg_pcm_hw_params() 149 msg = &info->msg[RX_HW_PARAM]; in imx_rpmsg_pcm_hw_params() 237 msg = &info->msg[TX_OPEN]; in imx_rpmsg_pcm_open() 247 msg = &info->msg[RX_OPEN]; in imx_rpmsg_pcm_open() 291 msg = &info->msg[TX_CLOSE]; in imx_rpmsg_pcm_close() 294 msg = &info->msg[RX_CLOSE]; in imx_rpmsg_pcm_close() 353 msg = &info->msg[TX_BUFFER]; in imx_rpmsg_prepare_and_submit() 382 msg = &info->msg[TX_START]; in imx_rpmsg_async_issue_pending() 385 msg = &info->msg[RX_START]; in imx_rpmsg_async_issue_pending() 416 msg = &info->msg[TX_PAUSE]; in imx_rpmsg_pause() [all …]
|
/linux/drivers/staging/wfx/ |
A D | key.c | 47 msg->key_id = key->keyidx; in fill_wep_group() 61 memcpy(msg->tkip_key_data, keybuf, sizeof(msg->tkip_key_data)); in fill_tkip_pair() 63 memcpy(msg->tx_mic_key, keybuf, sizeof(msg->tx_mic_key)); in fill_tkip_pair() 65 memcpy(msg->rx_mic_key, keybuf, sizeof(msg->rx_mic_key)); in fill_tkip_pair() 84 memcpy(msg->tkip_key_data, keybuf, sizeof(msg->tkip_key_data)); in fill_tkip_group() 88 memcpy(msg->rx_mic_key, keybuf + 0, sizeof(msg->rx_mic_key)); in fill_tkip_group() 91 memcpy(msg->rx_mic_key, keybuf + 8, sizeof(msg->rx_mic_key)); in fill_tkip_group() 124 memcpy(msg->wapi_key_data, keybuf, sizeof(msg->wapi_key_data)); in fill_sms4_pair() 126 memcpy(msg->mic_key_data, keybuf, sizeof(msg->mic_key_data)); in fill_sms4_pair() 138 memcpy(msg->wapi_key_data, keybuf, sizeof(msg->wapi_key_data)); in fill_sms4_group() [all …]
|
/linux/drivers/gpu/drm/hyperv/ |
A D | hyperv_drm_proto.c | 203 msg->pipe_hdr.size = msg->vid_hdr.size; in hyperv_sendpacket() 280 struct synthvid_msg msg; in hyperv_update_situation() local 287 msg.situ.user_ctx = 0; in hyperv_update_situation() 320 struct synthvid_msg msg; in hyperv_hide_hw_ptr() local 328 msg.ptr_pos.image_x = 0; in hyperv_hide_hw_ptr() 329 msg.ptr_pos.image_y = 0; in hyperv_hide_hw_ptr() 338 msg.ptr_shape.width = 1; in hyperv_hide_hw_ptr() 340 msg.ptr_shape.hot_x = 0; in hyperv_hide_hw_ptr() 341 msg.ptr_shape.hot_y = 0; in hyperv_hide_hw_ptr() 354 struct synthvid_msg msg; in hyperv_update_dirt() local [all …]
|
/linux/drivers/media/platform/mtk-vcodec/ |
A D | vdec_vpu_if.c | 23 msg->vpu_inst_addr); in handle_init_ack_msg() 78 if (msg->status == 0) { in vpu_dec_ipi_handler() 79 switch (msg->msg_id) { in vpu_dec_ipi_handler() 126 memset(&msg, 0, sizeof(msg)); in vcodec_send_ap_ipi() 127 msg.msg_id = msg_id; in vcodec_send_ap_ipi() 133 err = vcodec_vpu_send_msg(vpu, &msg, sizeof(msg)); in vcodec_send_ap_ipi() 155 memset(&msg, 0, sizeof(msg)); in vpu_dec_init() 161 err = vcodec_vpu_send_msg(vpu, (void *)&msg, sizeof(msg)); in vpu_dec_init() 179 memset(&msg, 0, sizeof(msg)); in vpu_dec_start() 187 msg.data[i] = data[i]; in vpu_dec_start() [all …]
|
/linux/net/tipc/ |
A D | netlink_compat.c | 285 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_dumpit() 286 !TLV_CHECK_TYPE(msg->req, msg->req_type))) in tipc_nl_compat_dumpit() 289 msg->rep = tipc_tlv_alloc(msg->rep_size); in tipc_nl_compat_dumpit() 290 if (!msg->rep) in tipc_nl_compat_dumpit() 294 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit() 392 if (msg->req_type && (!msg->req_size || in tipc_nl_compat_doit() 393 !TLV_CHECK_TYPE(msg->req, msg->req_type))) in tipc_nl_compat_doit() 402 if (!msg->rep) in tipc_nl_compat_doit() 1303 memset(&msg, 0, sizeof(msg)); in tipc_nl_compat_recv() 1318 if (msg.req_size && !TLV_OK(msg.req, msg.req_size)) { in tipc_nl_compat_recv() [all …]
|
/linux/sound/virtio/ |
A D | virtio_ctl_msg.c | 49 kfree(msg); in virtsnd_ctl_msg_unref() 88 struct virtio_snd_msg *msg; in virtsnd_ctl_msg_alloc() local 93 msg = kzalloc(sizeof(*msg) + request_size + response_size, gfp); in virtsnd_ctl_msg_alloc() 94 if (!msg) in virtsnd_ctl_msg_alloc() 97 sg_init_one(&msg->sg_request, (u8 *)msg + sizeof(*msg), request_size); in virtsnd_ctl_msg_alloc() 98 sg_init_one(&msg->sg_response, (u8 *)msg + sizeof(*msg) + request_size, in virtsnd_ctl_msg_alloc() 106 return msg; in virtsnd_ctl_msg_alloc() 137 virtsnd_ctl_msg_ref(msg); in virtsnd_ctl_msg_send() 221 list_del(&msg->list); in virtsnd_ctl_msg_complete() 222 complete(&msg->notify); in virtsnd_ctl_msg_complete() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_err.c | 1208 .msg = "MODULE_GE" 1214 .msg = "MODULE_LGE" 1220 .msg = "MODULE_PPP" 1223 .msg = "MODULE_QCN" 1235 .msg = "MODULE_TM" 1314 .msg = "ets_error" 1320 .msg = "glb_error" 1326 .msg = "ptp_error" 1343 while (err->msg) { in hclge_log_error() 2160 while (err->msg) { in hclge_log_rocee_ovf_error() [all …]
|
/linux/drivers/net/can/usb/ |
A D | esd_usb2.c | 226 u8 ecc = msg->msg.rx.data[1]; in esd_usb2_rx_event() 403 switch (msg->msg.hdr.cmd) { in esd_usb2_read_bulk_callback() 410 esd_usb2_rx_can_msg(dev->nets[msg->msg.rx.net], msg); in esd_usb2_read_bulk_callback() 522 msg->msg.hdr.len << 2, in esd_usb2_send_msg() 793 msg->msg.hdr.len << 2, in esd_usb2_start_xmit() 866 msg->msg.hdr.len = 2; in esd_usb2_close() 869 msg->msg.setbaud.rsvd = 0; in esd_usb2_close() 939 msg->msg.hdr.len = 2; in esd_usb2_set_bittiming() 942 msg->msg.setbaud.rsvd = 0; in esd_usb2_set_bittiming() 1077 msg->msg.hdr.len = 2; in esd_usb2_probe() [all …]
|
/linux/drivers/staging/wlan-ng/ |
A D | prism2mgmt.c | 161 msg->resultcode.data = in prism2mgmt_scan() 174 msg->resultcode.data = in prism2mgmt_scan() 216 memcpy(scanreq.ssid.data, msg->ssid.data.data, msg->ssid.data.len); in prism2mgmt_scan() 300 timeout = msg->channellist.data.len * msg->maxchanneltime.data; in prism2mgmt_scan() 558 memcpy(&wlandev->ssid, &msg->ssid.data, sizeof(msg->ssid.data)); in prism2mgmt_start() 869 if (msg->len.data > sizeof(msg->data.data)) { in prism2mgmt_ramdl_write() 876 len = msg->len.data; in prism2mgmt_ramdl_write() 877 buf = msg->data.data; in prism2mgmt_ramdl_write() 1008 if (msg->len.data > sizeof(msg->data.data)) { in prism2mgmt_flashdl_write() 1015 len = msg->len.data; in prism2mgmt_flashdl_write() [all …]
|
/linux/sound/soc/intel/common/ |
A D | sst-ipc.c | 42 return msg; in msg_get_empty() 52 ret = wait_event_timeout(msg->waitq, msg->complete, in tx_wait_done() 68 memcpy(reply->data, msg->rx.data, msg->rx.size); in tx_wait_done() 70 ret = msg->errno; in tx_wait_done() 88 if (msg == NULL) { in ipc_tx_message() 97 msg->wait = wait; in ipc_tx_message() 98 msg->errno = 0; in ipc_tx_message() 147 kfree(ipc->msg); in msg_empty_list_init() 237 return msg; in sst_ipc_reply_find_msg() 250 if (!msg->wait) in sst_ipc_tx_msg_reply_complete() [all …]
|
/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
A D | hdcp_log.c | 58 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_log_ddc_trace() 60 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_log_ddc_trace() 65 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_log_ddc_trace() 67 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_log_ddc_trace() 69 sizeof(hdcp->auth.msg.hdcp1.ainfo)); in mod_hdcp_log_ddc_trace() 71 (uint8_t *)&hdcp->auth.msg.hdcp1.r0p, in mod_hdcp_log_ddc_trace() 72 sizeof(hdcp->auth.msg.hdcp1.r0p)); in mod_hdcp_log_ddc_trace() 77 hdcp->auth.msg.hdcp1.ksvlist_size); in mod_hdcp_log_ddc_trace() 79 sizeof(hdcp->auth.msg.hdcp1.vp)); in mod_hdcp_log_ddc_trace() 91 hdcp->auth.msg.hdcp2.ake_stored_km, in mod_hdcp_log_ddc_trace() [all …]
|
/linux/drivers/clk/tegra/ |
A D | clk-bpmp.c | 79 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_transfer() 100 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_prepare() 113 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_unprepare() 130 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_is_prepared() 152 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_recalc_rate() 179 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_round_rate() 205 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_set_parent() 230 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_get_parent() 261 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_set_rate() 314 memset(&msg, 0, sizeof(msg)); in tegra_bpmp_clk_get_max_id() [all …]
|
/linux/drivers/char/ipmi/ |
A D | ipmi_msghandler.c | 962 msg->msg.data_len = 1; in deliver_err_response() 963 msg->msg.data = msg->msg_data; in deliver_err_response() 1102 if ((msg->addr.channel == channel) && (msg->msg.cmd == cmd) in intf_find_seq() 2325 recv_msg->msg = *msg; in i_ipmi_request() 2462 msg->addr.addr_type, msg->msg.netfn, msg->msg.cmd); in bmc_device_id_handler() 2466 if (msg->msg.data[0]) { in bmc_device_id_handler() 2468 msg->msg.data[0]); in bmc_device_id_handler() 2473 rv = ipmi_demangle_device_id(msg->msg.netfn, msg->msg.cmd, in bmc_device_id_handler() 2474 msg->msg.data, msg->msg.data_len, &intf->bmc->fetch_id); in bmc_device_id_handler() 3630 msg->rsp[1] = msg->data[1]; in deliver_smi_err_response() [all …]
|
/linux/include/linux/ |
A D | skmsg.h | 182 memset(msg, 0, sizeof(*msg)); in sk_msg_init() 210 return sk_msg_iter_dist(msg->sg.start, msg->sg.end); in sk_msg_elem_used() 237 if (test_bit(msg->sg.start, &msg->sg.copy)) { in sk_msg_compute_data_pointers() 242 msg->data_end = msg->data + sge->length; in sk_msg_compute_data_pointers() 252 sge = sk_msg_elem(msg, msg->sg.end); in sk_msg_page_add() 256 __set_bit(msg->sg.end, &msg->sg.copy); in sk_msg_page_add() 317 kfree(msg); in drop_sk_msg() 337 if (msg) in sk_psock_dequeue_msg() 340 return msg; in sk_psock_dequeue_msg() 350 return msg; in sk_psock_peek_msg() [all …]
|
/linux/drivers/iio/common/ssp_sensors/ |
A D | ssp_spi.c | 80 msg = kzalloc(sizeof(*msg), GFP_KERNEL); in ssp_create_msg() 81 if (!msg) in ssp_create_msg() 92 kfree(msg); in ssp_create_msg() 101 return msg; in ssp_create_msg() 417 if (msg->done) in ssp_irq_msg() 469 if (!msg) in ssp_command() 498 if (!msg) in ssp_send_instruction() 520 if (!msg) in ssp_get_chipid() 540 if (!msg) in ssp_set_magnetic_matrix() 560 if (!msg) in ssp_get_sensor_scanning_info() [all …]
|