Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/common/siano/
Dsmsendian.c43 msg_words = (msg->x_msg_header.msg_length - in smsendian_handle_tx_message()
80 msg_words = (msg->x_msg_header.msg_length - in smsendian_handle_rx_message()
99 phdr->msg_length = le16_to_cpu((__force __le16)phdr->msg_length); in smsendian_handle_message_header()
Dsmscoreapi.c810 msg->x_msg_header. msg_length, in smscore_init_ir()
849 mtu_msg.x_msg_header.msg_length = sizeof(mtu_msg); in smscore_configure_board()
947 msg->x_msg_header.msg_length, in smscore_load_firmware_family2()
973 data_msg->x_msg_header.msg_length, in smscore_load_firmware_family2()
994 msg->x_msg_header.msg_length, in smscore_load_firmware_family2()
1017 trigger_msg->x_msg_header.msg_length, in smscore_load_firmware_family2()
1023 msg->x_msg_header.msg_length); in smscore_load_firmware_family2()
1276 rc = smscore_sendrequest_and_wait(coredev, msg, msg->msg_length, in smscore_detect_mode()
1284 coredev, msg, msg->msg_length, in smscore_detect_mode()
1324 msg->x_msg_header. msg_length, in smscore_init_device()
[all …]
Dsmsdvb-main.c666 pid_msg.x_msg_header.msg_length = sizeof(pid_msg); in smsdvb_start_feed()
688 pid_msg.x_msg_header.msg_length = sizeof(pid_msg); in smsdvb_stop_feed()
724 msg.msg_length = sizeof(msg); in smsdvb_send_statistics_request()
879 msg.msg.msg_length = sizeof(msg); in smsdvb_dvbt_set_frontend()
944 msg.msg.msg_length = sizeof(msg); in smsdvb_isdbt_set_frontend()
Dsmscoreapi.h591 (ptr)->msg_length = len; \
629 u16 msg_length; /* length of entire message, including header */ member
/Linux-v4.19/drivers/media/mmc/siano/
Dsmssdio.c172 if (hdr->msg_length > smsdev->func->cur_blksize) in smssdio_interrupt()
173 size = hdr->msg_length - smsdev->func->cur_blksize; in smssdio_interrupt()
180 size = hdr->msg_length - sizeof(struct sms_msg_hdr); in smssdio_interrupt()
188 buffer = cb->p + (hdr->msg_length - size); in smssdio_interrupt()
234 cb->size = hdr->msg_length; in smssdio_interrupt()
/Linux-v4.19/drivers/soc/qcom/
Dsmd-rpm.c167 u32 len, msg_length; in qcom_smd_rpm_callback() local
177 msg_length = le32_to_cpu(msg->length); in qcom_smd_rpm_callback()
182 len = min_t(u32, ALIGN(msg_length, 4), sizeof(msgbuf)); in qcom_smd_rpm_callback()
193 buf = PTR_ALIGN(buf + 2 * sizeof(u32) + msg_length, 4); in qcom_smd_rpm_callback()
/Linux-v4.19/drivers/input/serio/
Dhyperv-keyboard.c109 struct synth_kbd_msg *msg, u32 msg_length) in hv_kbd_on_receive() argument
126 if (msg_length < sizeof(struct synth_kbd_protocol_response)) { in hv_kbd_on_receive()
129 msg_length); in hv_kbd_on_receive()
145 if (msg_length < sizeof(struct synth_kbd_keystroke)) { in hv_kbd_on_receive()
148 msg_length); in hv_kbd_on_receive()
/Linux-v4.19/drivers/media/usb/siano/
Dsmsusb.c112 if (urb->actual_length >= phdr->msg_length) { in smsusb_onresponse()
113 surb->cb->size = phdr->msg_length; in smsusb_onresponse()
123 if (((int) phdr->msg_length + in smsusb_onresponse()
126 phdr->msg_length, in smsusb_onresponse()
141 phdr->msg_type, phdr->msg_length); in smsusb_onresponse()
149 phdr->msg_length, urb->actual_length); in smsusb_onresponse()
235 phdr->msg_length); in smsusb_sendrequest()
/Linux-v4.19/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_i2c.c145 u32 msg_length = i2c->msg->len - i2c->xmit_size; in netup_i2c_fifo_tx() local
147 msg_length = (msg_length < fifo_space ? msg_length : fifo_space); in netup_i2c_fifo_tx()
148 while (msg_length--) { in netup_i2c_fifo_tx()
/Linux-v4.19/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()
1073 int msg_length = crypto_hash_walk_first(req, &walk); in hash_hw_update() local
1076 if (msg_length == 0) in hash_hw_update()
1084 if (msg_length > (req_ctx->state.length.low_word + msg_length) && in hash_hw_update()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dedid.c450 int msg_length, ret_msg_size; in intel_gvt_i2c_handle_aux_ch_write() local
461 msg_length = AUX_CTL_MSG_LENGTH(value); in intel_gvt_i2c_handle_aux_ch_write()
479 if (msg_length == 3) { in intel_gvt_i2c_handle_aux_ch_write()
510 if (WARN_ON(msg_length != 4)) in intel_gvt_i2c_handle_aux_ch_write()
/Linux-v4.19/drivers/net/ethernet/amd/
Dsun3lance.c115 volatile short msg_length; /* This length is "normal". */ member
479 MEM->rx_head[i].msg_length = 0; in lance_init_ring()
550 MEM->rx_head[i].msg_length); in lance_start_xmit()
805 short pkt_len = (head->msg_length & 0xfff) - 4; in lance_rx()
816 head->msg_length = 0; in lance_rx()
857 head->msg_length = 0; in lance_rx()
Datarilance.c127 volatile short msg_length; /* This length is "normal". */ member
720 MEM->rx_head[i].msg_length = 0; in lance_init_ring()
754 MEM->rx_head[i].msg_length )); in lance_tx_timeout()
988 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.c220 __le32 msg_length; member
1208 pkt_len = (le32_to_cpu(rxp->msg_length) & 0xfff) - 4; in pcnet32_rx_entry()
2480 0xffff, le32_to_cpu(lp->rx_ring[i].msg_length), in pcnet32_tx_timeout()
/Linux-v4.19/drivers/hid/intel-ish-hid/ishtp/
Dclient.c776 dma_xfer.msg_length = cl_msg->send_buf.size; in ishtp_cl_send_msg_dma()
979 if (rb->buffer.size < hbm->msg_length) { in recv_ishtp_cl_msg_dma()
983 rb->buffer.size, hbm->msg_length, rb->buf_idx); in recv_ishtp_cl_msg_dma()
991 memcpy(buffer, msg, hbm->msg_length); in recv_ishtp_cl_msg_dma()
992 rb->buf_idx = hbm->msg_length; in recv_ishtp_cl_msg_dma()
Dhbm.c490 if (dma_xfer->msg_length > in ishtp_hbm_dma_xfer_ack()
498 ishtp_cl_release_dma_acked_mem(dev, msg, dma_xfer->msg_length); in ishtp_hbm_dma_xfer_ack()
513 dma_xfer->msg_length) { in ishtp_hbm_dma_xfer_ack()
555 if (dma_xfer->msg_length > in ishtp_hbm_dma_xfer()
Dhbm.h234 uint32_t msg_length; member
/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.h417 __le32 msg_length; member
Dhns_roce_hw_v1.c225 ctrl->msg_length = in hns_roce_v1_post_send()
226 cpu_to_le32(le32_to_cpu(ctrl->msg_length) + tmp_len); in hns_roce_v1_post_send()
290 if (le32_to_cpu(ctrl->msg_length) > in hns_roce_v1_post_send()
295 ctrl->msg_length, in hns_roce_v1_post_send()
/Linux-v4.19/drivers/isdn/hardware/eicon/
Dmaintidi.c1219 int msg_length; in get_next_var() local
1224 msg_length = *(msg + 1); in get_next_var()
1225 msg = (start + msg_length); in get_next_var()