Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c655 pid_msg.x_msg_header.msg_length = sizeof(pid_msg); in smsdvb_start_feed()
677 pid_msg.x_msg_header.msg_length = sizeof(pid_msg); in smsdvb_stop_feed()
713 msg.msg_length = sizeof(msg); in smsdvb_send_statistics_request()
868 msg.msg.msg_length = sizeof(msg); in smsdvb_dvbt_set_frontend()
933 msg.msg.msg_length = sizeof(msg); in smsdvb_isdbt_set_frontend()
Dsmscoreapi.h580 (ptr)->msg_length = len; \
618 u16 msg_length; /* length of entire message, including header */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/crypto/ux500/hash/
Dhash_core.c765 int msg_length, u8 *data_buffer, u8 *buffer, in hash_process_data() argument
772 if ((*index + msg_length) < HASH_BLOCK_SIZE) { in hash_process_data()
773 for (count = 0; count < msg_length; count++) { in hash_process_data()
777 *index += msg_length; in hash_process_data()
778 msg_length = 0; in hash_process_data()
828 msg_length -= (HASH_BLOCK_SIZE - *index); in hash_process_data()
843 } while (msg_length != 0); in hash_process_data()
1076 int msg_length; in hash_hw_update() local
1085 msg_length = crypto_hash_walk_first(req, &walk); in hash_hw_update()
1088 if (msg_length == 0) { in hash_hw_update()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
Dsun3lance.c115 volatile short msg_length; /* This length is "normal". */ member
480 MEM->rx_head[i].msg_length = 0; in lance_init_ring()
552 MEM->rx_head[i].msg_length); in lance_start_xmit()
796 short pkt_len = (head->msg_length & 0xfff) - 4; in lance_rx()
807 head->msg_length = 0; in lance_rx()
848 head->msg_length = 0; in lance_rx()
Datarilance.c127 volatile short msg_length; /* This length is "normal". */ member
721 MEM->rx_head[i].msg_length = 0; in lance_init_ring()
755 MEM->rx_head[i].msg_length )); in lance_tx_timeout()
990 short pkt_len = head->msg_length & 0xfff; in lance_rx()
Dlance.c216 s16 msg_length; /* This length is "normal". */ member
935 lp->rx_ring[i].msg_length); in lance_tx_timeout()
1174 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/
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()
Dclient.c784 dma_xfer.msg_length = cl_msg->send_buf.size; in ishtp_cl_send_msg_dma()
988 if (rb->buffer.size < hbm->msg_length) { in recv_ishtp_cl_msg_dma()
992 rb->buffer.size, hbm->msg_length, rb->buf_idx); in recv_ishtp_cl_msg_dma()
1000 memcpy(buffer, msg, hbm->msg_length); in recv_ishtp_cl_msg_dma()
1001 rb->buf_idx = hbm->msg_length; in recv_ishtp_cl_msg_dma()
Dhbm.h226 uint32_t msg_length; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.h411 __le32 msg_length; member
Dhns_roce_hw_v1.c222 ctrl->msg_length = in hns_roce_v1_post_send()
223 cpu_to_le32(le32_to_cpu(ctrl->msg_length) + tmp_len); in hns_roce_v1_post_send()
286 if (le32_to_cpu(ctrl->msg_length) > in hns_roce_v1_post_send()
291 ctrl->msg_length, in hns_roce_v1_post_send()