Home
last modified time | relevance | path

Searched refs:msg_length (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.15/drivers/media/common/siano/
Dsmsendian.c32 msg_words = (msg->x_msg_header.msg_length - in smsendian_handle_tx_message()
69 msg_words = (msg->x_msg_header.msg_length - in smsendian_handle_rx_message()
88 phdr->msg_length = le16_to_cpu((__force __le16)phdr->msg_length); in smsendian_handle_message_header()
Dsmscoreapi.c802 msg->x_msg_header. msg_length, in smscore_init_ir()
841 mtu_msg.x_msg_header.msg_length = sizeof(mtu_msg); in smscore_configure_board()
939 msg->x_msg_header.msg_length, in smscore_load_firmware_family2()
965 data_msg->x_msg_header.msg_length, in smscore_load_firmware_family2()
986 msg->x_msg_header.msg_length, in smscore_load_firmware_family2()
1005 msg->x_msg_header.msg_length, in smscore_load_firmware_family2()
1011 msg->x_msg_header.msg_length); in smscore_load_firmware_family2()
1264 rc = smscore_sendrequest_and_wait(coredev, msg, msg->msg_length, in smscore_detect_mode()
1272 coredev, msg, msg->msg_length, in smscore_detect_mode()
1312 msg->x_msg_header. msg_length, in smscore_init_device()
[all …]
Dsmsdvb-main.c691 pid_msg.x_msg_header.msg_length = sizeof(pid_msg); in smsdvb_start_feed()
713 pid_msg.x_msg_header.msg_length = sizeof(pid_msg); in smsdvb_stop_feed()
749 msg.msg_length = sizeof(msg); in smsdvb_send_statistics_request()
904 msg.msg.msg_length = sizeof(msg); in smsdvb_dvbt_set_frontend()
969 msg.msg.msg_length = sizeof(msg); in smsdvb_isdbt_set_frontend()
Dsmscoreapi.h575 (ptr)->msg_length = len; \
613 u16 msg_length; /* length of entire message, including header */ member
/Linux-v5.15/drivers/media/mmc/siano/
Dsmssdio.c167 if (hdr->msg_length > smsdev->func->cur_blksize) in smssdio_interrupt()
168 size = hdr->msg_length - smsdev->func->cur_blksize; in smssdio_interrupt()
175 size = hdr->msg_length - sizeof(struct sms_msg_hdr); in smssdio_interrupt()
183 buffer = cb->p + (hdr->msg_length - size); in smssdio_interrupt()
229 cb->size = hdr->msg_length; in smssdio_interrupt()
/Linux-v5.15/drivers/soc/qcom/
Dsmd-rpm.c163 u32 len, msg_length; in qcom_smd_rpm_callback() local
173 msg_length = le32_to_cpu(msg->length); in qcom_smd_rpm_callback()
178 len = min_t(u32, ALIGN(msg_length, 4), sizeof(msgbuf)); in qcom_smd_rpm_callback()
189 buf = PTR_ALIGN(buf + 2 * sizeof(u32) + msg_length, 4); in qcom_smd_rpm_callback()
/Linux-v5.15/drivers/input/serio/
Dhyperv-keyboard.c101 struct synth_kbd_msg *msg, u32 msg_length) in hv_kbd_on_receive() argument
118 if (msg_length < sizeof(struct synth_kbd_protocol_response)) { in hv_kbd_on_receive()
121 msg_length); in hv_kbd_on_receive()
137 if (msg_length < sizeof(struct synth_kbd_keystroke)) { in hv_kbd_on_receive()
140 msg_length); in hv_kbd_on_receive()
/Linux-v5.15/drivers/media/usb/siano/
Dsmsusb.c101 if (urb->actual_length >= phdr->msg_length) { in smsusb_onresponse()
102 surb->cb->size = phdr->msg_length; in smsusb_onresponse()
112 if (((int) phdr->msg_length + in smsusb_onresponse()
115 phdr->msg_length, in smsusb_onresponse()
130 phdr->msg_type, phdr->msg_length); in smsusb_onresponse()
138 phdr->msg_length, urb->actual_length); in smsusb_onresponse()
223 phdr->msg_length); in smsusb_sendrequest()
/Linux-v5.15/drivers/crypto/ux500/hash/
Dhash_core.c767 int msg_length, u8 *data_buffer, u8 *buffer, in hash_process_data() argument
774 if ((*index + msg_length) < HASH_BLOCK_SIZE) { in hash_process_data()
775 for (count = 0; count < msg_length; count++) { in hash_process_data()
779 *index += msg_length; in hash_process_data()
780 msg_length = 0; in hash_process_data()
830 msg_length -= (HASH_BLOCK_SIZE - *index); in hash_process_data()
845 } while (msg_length != 0); in hash_process_data()
1078 int msg_length; in hash_hw_update() local
1087 msg_length = crypto_hash_walk_first(req, &walk); in hash_hw_update()
1090 if (msg_length == 0) { in hash_hw_update()
[all …]
/Linux-v5.15/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_i2c.c136 u32 msg_length = i2c->msg->len - i2c->xmit_size; in netup_i2c_fifo_tx() local
138 msg_length = (msg_length < fifo_space ? msg_length : fifo_space); in netup_i2c_fifo_tx()
139 while (msg_length--) { in netup_i2c_fifo_tx()
/Linux-v5.15/drivers/net/ethernet/amd/
Dsun3lance.c115 volatile short msg_length; /* This length is "normal". */ member
476 MEM->rx_head[i].msg_length = 0; in lance_init_ring()
548 MEM->rx_head[i].msg_length); in lance_start_xmit()
792 short pkt_len = (head->msg_length & 0xfff) - 4; in lance_rx()
803 head->msg_length = 0; in lance_rx()
844 head->msg_length = 0; in lance_rx()
Datarilance.c127 volatile short msg_length; /* This length is "normal". */ member
717 MEM->rx_head[i].msg_length = 0; in lance_init_ring()
751 MEM->rx_head[i].msg_length )); in lance_tx_timeout()
986 short pkt_len = head->msg_length & 0xfff; in lance_rx()
Dlance.c216 s16 msg_length; /* This length is "normal". */ member
937 lp->rx_ring[i].msg_length); in lance_tx_timeout()
1176 short pkt_len = (lp->rx_ring[entry].msg_length & 0xfff)-4; in lance_rx()
Dpcnet32.c216 __le32 msg_length; member
1196 pkt_len = (le32_to_cpu(rxp->msg_length) & 0xfff) - 4; in pcnet32_rx_entry()
2462 0xffff, le32_to_cpu(lp->rx_ring[i].msg_length), in pcnet32_tx_timeout()
/Linux-v5.15/drivers/gpu/drm/i915/gvt/
Dedid.c484 int msg_length, ret_msg_size; in intel_gvt_i2c_handle_aux_ch_write() local
495 msg_length = AUX_CTL_MSG_LENGTH(value); in intel_gvt_i2c_handle_aux_ch_write()
513 if (msg_length == 3) { in intel_gvt_i2c_handle_aux_ch_write()
544 if (drm_WARN_ON(&i915->drm, msg_length != 4)) in intel_gvt_i2c_handle_aux_ch_write()
/Linux-v5.15/drivers/hid/intel-ish-hid/ishtp/
Dclient.c792 dma_xfer.msg_length = cl_msg->send_buf.size; in ishtp_cl_send_msg_dma()
996 if (rb->buffer.size < hbm->msg_length) { in recv_ishtp_cl_msg_dma()
1000 rb->buffer.size, hbm->msg_length, rb->buf_idx); in recv_ishtp_cl_msg_dma()
1015 clflush_cache_range(msg, hbm->msg_length); in recv_ishtp_cl_msg_dma()
1017 memcpy(buffer, msg, hbm->msg_length); in recv_ishtp_cl_msg_dma()
1018 rb->buf_idx = hbm->msg_length; in recv_ishtp_cl_msg_dma()
Dhbm.c456 if (dma_xfer->msg_length > in ishtp_hbm_dma_xfer_ack()
464 ishtp_cl_release_dma_acked_mem(dev, msg, dma_xfer->msg_length); in ishtp_hbm_dma_xfer_ack()
479 dma_xfer->msg_length) { in ishtp_hbm_dma_xfer_ack()
521 if (dma_xfer->msg_length > in ishtp_hbm_dma_xfer()
Dhbm.h226 uint32_t msg_length; member
/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.h454 __le32 msg_length; member
Dhns_roce_hw_v1.c238 ctrl->msg_length = in hns_roce_v1_post_send()
239 cpu_to_le32(le32_to_cpu(ctrl->msg_length) + tmp_len); in hns_roce_v1_post_send()
302 if (le32_to_cpu(ctrl->msg_length) > in hns_roce_v1_post_send()
307 le32_to_cpu(ctrl->msg_length), in hns_roce_v1_post_send()