/linux-6.6.21/include/uapi/linux/ |
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] |= 0xf; /* 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[3] = phys_addr & 0xff; in cec_msg_active_source() 23 static inline void cec_ops_active_source(const struct cec_msg *msg, in cec_ops_active_source() argument 26 *phys_addr = (msg->msg[2] << 8) | msg->msg[3]; in cec_ops_active_source() 29 static inline void cec_msg_image_view_on(struct cec_msg *msg) in cec_msg_image_view_on() argument 31 msg->len = 2; in cec_msg_image_view_on() [all …]
|
/linux-6.6.21/drivers/gpu/drm/msm/adreno/ |
D | a6xx_hfi.c | 194 struct a6xx_hfi_msg_gmu_init_cmd msg = { 0 }; in a6xx_hfi_send_gmu_init() local 196 msg.dbg_buffer_addr = (u32) gmu->debug.iova; in a6xx_hfi_send_gmu_init() 197 msg.dbg_buffer_size = (u32) gmu->debug.size; in a6xx_hfi_send_gmu_init() 198 msg.boot_state = boot_state; in a6xx_hfi_send_gmu_init() 200 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_INIT, &msg, sizeof(msg), in a6xx_hfi_send_gmu_init() 206 struct a6xx_hfi_msg_fw_version msg = { 0 }; in a6xx_hfi_get_fw_version() local 209 msg.supported_version = (1 << 28) | (1 << 19) | (1 << 17); in a6xx_hfi_get_fw_version() 211 return a6xx_hfi_send_msg(gmu, HFI_H2F_MSG_FW_VERSION, &msg, sizeof(msg), in a6xx_hfi_get_fw_version() 217 struct a6xx_hfi_msg_perf_table_v1 msg = { 0 }; in a6xx_hfi_send_perf_table_v1() local 220 msg.num_gpu_levels = gmu->nr_gpu_freqs; in a6xx_hfi_send_perf_table_v1() [all …]
|
/linux-6.6.21/drivers/accel/habanalabs/include/gaudi2/ |
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 = 0, .reset = EVENT_RESET_TYPE_NONE, [all …]
|
/linux-6.6.21/fs/reiserfs/ |
D | hashes.c | 44 u32 keyed_hash(const signed char *msg, int len) in keyed_hash() argument 59 a = (u32) msg[0] | in keyed_hash() 60 (u32) msg[1] << 8 | (u32) msg[2] << 16 | (u32) msg[3] << 24; in keyed_hash() 61 b = (u32) msg[4] | in keyed_hash() 62 (u32) msg[5] << 8 | (u32) msg[6] << 16 | (u32) msg[7] << 24; in keyed_hash() 63 c = (u32) msg[8] | in keyed_hash() 64 (u32) msg[9] << 8 | in keyed_hash() 65 (u32) msg[10] << 16 | (u32) msg[11] << 24; in keyed_hash() 66 d = (u32) msg[12] | in keyed_hash() 67 (u32) msg[13] << 8 | in keyed_hash() [all …]
|
/linux-6.6.21/drivers/s390/crypto/ |
D | zcrypt_msgtype6.c | 212 } __packed * msg = ap_msg->msg; in icamex_msg_to_type6mex_msgx() local 224 msg->length = mex->inputdatalength + 2; in icamex_msg_to_type6mex_msgx() 225 if (copy_from_user(msg->text, mex->inputdata, mex->inputdatalength)) in icamex_msg_to_type6mex_msgx() 229 size = zcrypt_type6_mex_key_en(mex, msg->text + mex->inputdatalength); in icamex_msg_to_type6mex_msgx() 232 size += sizeof(*msg) + mex->inputdatalength; in icamex_msg_to_type6mex_msgx() 235 msg->hdr = static_type6_hdrX; in icamex_msg_to_type6mex_msgx() 236 msg->hdr.tocardlen1 = size - sizeof(msg->hdr); in icamex_msg_to_type6mex_msgx() 237 msg->hdr.fromcardlen1 = CEXXC_MAX_ICA_RESPONSE_SIZE - sizeof(msg->hdr); in icamex_msg_to_type6mex_msgx() 239 msg->cprbx = static_cprbx; in icamex_msg_to_type6mex_msgx() 240 msg->cprbx.domain = AP_QID_QUEUE(zq->queue->qid); in icamex_msg_to_type6mex_msgx() [all …]
|
/linux-6.6.21/drivers/platform/chrome/ |
D | cros_ec_proto.c | 56 struct cros_ec_command *msg) in prepare_tx() argument 63 if (msg->outsize + sizeof(*request) > ec_dev->dout_size) in prepare_tx() 70 request->command = msg->command; in prepare_tx() 71 request->command_version = msg->version; in prepare_tx() 73 request->data_len = msg->outsize; in prepare_tx() 79 memcpy(out + sizeof(*request), msg->data, msg->outsize); in prepare_tx() 80 for (i = 0; i < msg->outsize; i++) in prepare_tx() 81 csum += msg->data[i]; in prepare_tx() 85 return sizeof(*request) + msg->outsize; in prepare_tx() 89 struct cros_ec_command *msg) in prepare_tx_legacy() argument [all …]
|
D | cros_ec_sysfs.c | 54 struct cros_ec_command *msg; in reboot_store() local 61 msg = kmalloc(sizeof(*msg) + sizeof(*param), GFP_KERNEL); in reboot_store() 62 if (!msg) in reboot_store() 65 param = (struct ec_params_reboot_ec *)msg->data; in reboot_store() 98 msg->version = 0; in reboot_store() 99 msg->command = EC_CMD_REBOOT_EC + ec->cmd_offset; in reboot_store() 100 msg->outsize = sizeof(*param); in reboot_store() 101 msg->insize = 0; in reboot_store() 102 ret = cros_ec_cmd_xfer_status(ec->ec_dev, msg); in reboot_store() 106 kfree(msg); in reboot_store() [all …]
|
/linux-6.6.21/drivers/media/platform/allegro-dvt/ |
D | allegro-mail.c | 44 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-6.6.21/drivers/infiniband/hw/cxgb4/ |
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, "size", wq->sq.size)) in fill_sq() [all …]
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/ |
D | vdec_vpu_if.c | 12 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-6.6.21/drivers/media/cec/core/ |
D | cec-adap.c | 27 struct cec_msg *msg, 208 static void cec_queue_msg_fh(struct cec_fh *fh, const struct cec_msg *msg) in cec_queue_msg_fh() argument 222 entry->msg = *msg; in cec_queue_msg_fh() 262 const struct cec_msg *msg, in cec_queue_msg_monitor() argument 272 cec_queue_msg_fh(fh, msg); in cec_queue_msg_monitor() 281 const struct cec_msg *msg) in cec_queue_msg_followers() argument 288 cec_queue_msg_fh(fh, msg); in cec_queue_msg_followers() 340 cec_queue_msg_fh(data->fh, &data->msg); in cec_data_completed() 364 if (!(data->msg.tx_status & CEC_TX_STATUS_OK)) in cec_data_cancel() 369 if (data->msg.tx_status & CEC_TX_STATUS_OK) { in cec_data_cancel() [all …]
|
/linux-6.6.21/drivers/net/wireless/silabs/wfx/ |
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->key_data, key->key, key->keylen); in fill_wep_group() [all …]
|
/linux-6.6.21/sound/soc/fsl/ |
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() 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() 89 switch (msg->s_msg.header.cmd) { in imx_rpmsg_pcm_send_message() [all …]
|
/linux-6.6.21/sound/soc/sof/ |
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() [all …]
|
/linux-6.6.21/sound/virtio/ |
D | virtio_ctl_msg.c | 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() 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() 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() 69 void *virtsnd_ctl_msg_response(struct virtio_snd_msg *msg) in virtsnd_ctl_msg_response() argument 71 return sg_virt(&msg->sg_response); in virtsnd_ctl_msg_response() 88 struct virtio_snd_msg *msg; in virtsnd_ctl_msg_alloc() local [all …]
|
/linux-6.6.21/drivers/gpu/drm/hyperv/ |
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->vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in hyperv_negotiate_version() 227 msg->ver_req.version = ver; in hyperv_negotiate_version() [all …]
|
/linux-6.6.21/drivers/connector/ |
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->data; in proc_fork_connector() 140 memcpy(&msg->id, &cn_proc_event_id, sizeof(msg->id)); in proc_fork_connector() [all …]
|
/linux-6.6.21/drivers/staging/wlan-ng/ |
D | prism2mgmt.c | 112 struct p80211msg_dot11req_scan *msg = msgp; in prism2mgmt_scan() local 127 msg->resultcode.data = P80211ENUM_resultcode_not_supported; in prism2mgmt_scan() 140 msg->resultcode.data = in prism2mgmt_scan() 153 msg->resultcode.data = in prism2mgmt_scan() 163 if (msg->scantype.data != P80211ENUM_scantype_active) in prism2mgmt_scan() 164 word = msg->maxchanneltime.data; in prism2mgmt_scan() 183 for (i = 0; i < msg->channellist.data.len; i++) { in prism2mgmt_scan() 184 u8 channel = msg->channellist.data.data[i]; in prism2mgmt_scan() 194 scanreq.ssid.len = cpu_to_le16(msg->ssid.data.len); in prism2mgmt_scan() 195 memcpy(scanreq.ssid.data, msg->ssid.data.data, msg->ssid.data.len); in prism2mgmt_scan() [all …]
|
/linux-6.6.21/sound/soc/intel/common/ |
D | sst-ipc.c | 34 struct ipc_message *msg = NULL; in msg_get_empty() local 37 msg = list_first_entry(&ipc->empty_list, struct ipc_message, in msg_get_empty() 39 list_del(&msg->list); in msg_get_empty() 42 return msg; in msg_get_empty() 46 struct ipc_message *msg, struct sst_ipc_message *reply) in tx_wait_done() argument 52 ret = wait_event_timeout(msg->waitq, msg->complete, in tx_wait_done() 60 list_del(&msg->list); in tx_wait_done() 66 reply->header = msg->rx.header; 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() [all …]
|
/linux-6.6.21/net/tipc/ |
D | netlink_compat.c | 69 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-6.6.21/drivers/gpu/drm/amd/display/modules/hdcp/ |
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.hdcp1.an)); in mod_hdcp_log_ddc_trace() [all …]
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_err.c | 11 .msg = "imp_itcm0_ecc_mbit_err", 15 .msg = "imp_itcm1_ecc_mbit_err", 19 .msg = "imp_itcm2_ecc_mbit_err", 23 .msg = "imp_itcm3_ecc_mbit_err", 27 .msg = "imp_dtcm0_mem0_ecc_mbit_err", 31 .msg = "imp_dtcm0_mem1_ecc_mbit_err", 35 .msg = "imp_dtcm1_mem0_ecc_mbit_err", 39 .msg = "imp_dtcm1_mem1_ecc_mbit_err", 43 .msg = "imp_itcm4_ecc_mbit_err", 53 .msg = "cmdq_nic_rx_depth_ecc_mbit_err", [all …]
|
/linux-6.6.21/include/linux/ |
D | skmsg.h | 113 int sk_msg_alloc(struct sock *sk, struct sk_msg *msg, int len, 117 void sk_msg_trim(struct sock *sk, struct sk_msg *msg, int len); 118 int sk_msg_free(struct sock *sk, struct sk_msg *msg); 119 int sk_msg_free_nocharge(struct sock *sk, struct sk_msg *msg); 120 void sk_msg_free_partial(struct sock *sk, struct sk_msg *msg, u32 bytes); 121 void sk_msg_free_partial_nocharge(struct sock *sk, struct sk_msg *msg, 124 void sk_msg_return(struct sock *sk, struct sk_msg *msg, int bytes); 125 void sk_msg_return_zero(struct sock *sk, struct sk_msg *msg, int bytes); 128 struct sk_msg *msg, u32 bytes); 130 struct sk_msg *msg, u32 bytes); [all …]
|
/linux-6.6.21/drivers/net/wireless/ath/wil6210/ |
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)->d0, in wil_rx_status_get_mcast() [all …]
|
/linux-6.6.21/drivers/iio/common/ssp_sensors/ |
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->buffer, &h, SSP_HEADER_SIZE); in ssp_create_msg() 101 return msg; in ssp_create_msg() [all …]
|