Home
last modified time | relevance | path

Searched refs:msg_len (Results 1 – 25 of 48) sorted by relevance

12

/linux-4.19.296/include/linux/usb/
Drndis_host.h39 __le32 msg_len; member
57 __le32 msg_len; /* rndis_data_hdr + data_len + pad */ member
74 __le32 msg_len; /* 24 */ member
84 __le32 msg_len; member
101 __le32 msg_len; member
108 __le32 msg_len; member
119 __le32 msg_len; member
129 __le32 msg_len; member
140 __le32 msg_len; member
148 __le32 msg_len; member
[all …]
/linux-4.19.296/drivers/i2c/busses/
Di2c-altera.c89 size_t msg_len; member
200 if (idev->msg_len == 1) in altr_i2c_transfer()
202 if (idev->msg_len > 0) in altr_i2c_transfer()
213 int bytes_to_transfer = min(rx_fifo_avail, idev->msg_len); in altr_i2c_empty_rx_fifo()
217 idev->msg_len--; in altr_i2c_empty_rx_fifo()
230 int bytes_to_transfer = min(tx_fifo_avail, idev->msg_len); in altr_i2c_fill_tx_fifo()
231 int ret = idev->msg_len - bytes_to_transfer; in altr_i2c_fill_tx_fifo()
235 idev->msg_len--; in altr_i2c_fill_tx_fifo()
291 if (!idev->msg_len) in altr_i2c_isr()
296 if (idev->msg_len > 0) in altr_i2c_isr()
[all …]
Di2c-xlp9xx.c96 u32 msg_len; member
174 len = max_t(u32, priv->msg_len, len + 4); in xlp9xx_i2c_update_rlen()
211 priv->msg_len = 0; in xlp9xx_i2c_drain_rx_fifo()
221 priv->msg_len = rlen + 1; in xlp9xx_i2c_drain_rx_fifo()
253 if ((status & XLP9XX_I2C_INTEN_SADDR) && (priv->msg_len == 0)) in xlp9xx_i2c_isr()
332 priv->msg_buf_remaining = priv->msg_len = msg->len; in xlp9xx_i2c_xfer_msg()
420 if (!priv->msg_len) in xlp9xx_i2c_xfer_msg()
422 msg->len = priv->msg_len; in xlp9xx_i2c_xfer_msg()
Di2c-hix5hd2.c90 unsigned int msg_len; member
205 if (priv->msg_len == 1) { in hix5hd2_read_handle()
208 } else if (priv->msg_len > 1) { in hix5hd2_read_handle()
220 if (priv->msg_len > 0) { in hix5hd2_write_handle()
240 priv->msg_len--; in hix5hd2_rw_preprocess()
243 __func__, priv->state, priv->msg_len); in hix5hd2_rw_preprocess()
275 if (priv->msg_len > 0) { in hix5hd2_i2c_irq()
328 priv->msg_len = priv->msg->len; in hix5hd2_i2c_xfer_msg()
Di2c-sirf.c75 u32 msg_len; /* Message length */ member
109 while (((siic->finished_len + i) < siic->msg_len) in i2c_sirfsoc_queue_cmd()
113 (siic->msg_len - 1)) && siic->last) in i2c_sirfsoc_queue_cmd()
123 && (siic->finished_len < siic->msg_len)) { in i2c_sirfsoc_queue_cmd()
125 if ((siic->finished_len == (siic->msg_len - 1)) in i2c_sirfsoc_queue_cmd()
170 if (siic->finished_len == siic->msg_len) in i2c_sirfsoc_irq()
248 siic->msg_len = msgs[i].len; in i2c_sirfsoc_xfer()
/linux-4.19.296/drivers/char/ipmi/
Dipmi_bt_sm.c247 int i, msg_len; in bt_get_result() local
249 msg_len = bt->read_count - 2; /* account for length & seq */ in bt_get_result()
250 if (msg_len < 3 || msg_len > IPMI_MAX_MSG_LENGTH) { in bt_get_result()
252 msg_len = 3; in bt_get_result()
256 if (length < msg_len || bt->truncated) { in bt_get_result()
258 msg_len = 3; in bt_get_result()
260 memcpy(data + 2, bt->read_data + 4, msg_len - 2); in bt_get_result()
263 printk(KERN_WARNING "BT: result %d bytes:", msg_len); in bt_get_result()
264 for (i = 0; i < msg_len; i++) in bt_get_result()
268 return msg_len; in bt_get_result()
/linux-4.19.296/include/uapi/linux/
Dtipc_config.h403 int msg_len; in TCM_SET() local
405 msg_len = TCM_LENGTH(data_len); in TCM_SET()
407 tcm_hdr->tcm_len = htonl(msg_len); in TCM_SET()
412 memset(TCM_DATA(msg) + data_len, 0, TCM_SPACE(data_len) - msg_len); in TCM_SET()
/linux-4.19.296/drivers/s390/crypto/
Dzcrypt_msgtype50.c57 unsigned short msg_len; member
217 meb1->header.msg_len = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg()
228 meb2->header.msg_len = sizeof(*meb2); in ICAMEX_msg_to_type50MEX_msg()
239 meb3->header.msg_len = sizeof(*meb3); in ICAMEX_msg_to_type50MEX_msg()
285 crb1->header.msg_len = sizeof(*crb1); in ICACRT_msg_to_type50CRT_msg()
299 crb2->header.msg_len = sizeof(*crb2); in ICACRT_msg_to_type50CRT_msg()
314 crb3->header.msg_len = sizeof(*crb3); in ICACRT_msg_to_type50CRT_msg()
Dzcrypt_cex2a.h29 unsigned short msg_len; member
/linux-4.19.296/drivers/misc/
Dibmvmc.h96 u32 msg_len; member
147 __be32 msg_len; member
Dibmvmc.c779 struct ibmvmc_hmc *hmc, int msg_len) in ibmvmc_send_msg() argument
786 rc = h_copy_rdma(msg_len, in ibmvmc_send_msg()
804 crq_msg.var3.msg_len = cpu_to_be32(msg_len); in ibmvmc_send_msg()
979 nbytes = min_t(size_t, nbytes, buffer->msg_len); in ibmvmc_read()
1600 unsigned long msg_len; in ibmvmc_recv_msg() local
1618 msg_len = be32_to_cpu(crq->var3.msg_len); in ibmvmc_recv_msg()
1657 rc = h_copy_rdma(msg_len, in ibmvmc_recv_msg()
1664 (unsigned int)msg_len, (unsigned int)buffer_id, in ibmvmc_recv_msg()
1666 buffer->msg_len = msg_len; in ibmvmc_recv_msg()
/linux-4.19.296/drivers/media/dvb-frontends/
Dtda10071.c206 dev_dbg(&client->dev, "msg_len=%d\n", diseqc_cmd->msg_len); in tda10071_diseqc_send_master_cmd()
208 if (diseqc_cmd->msg_len < 3 || diseqc_cmd->msg_len > 6) { in tda10071_diseqc_send_master_cmd()
239 cmd.args[6] = diseqc_cmd->msg_len; in tda10071_diseqc_send_master_cmd()
240 memcpy(&cmd.args[7], diseqc_cmd->msg, diseqc_cmd->msg_len); in tda10071_diseqc_send_master_cmd()
241 cmd.len = 7 + diseqc_cmd->msg_len; in tda10071_diseqc_send_master_cmd()
289 reply->msg_len = uitmp & 0x1f; /* [4:0] */ in tda10071_diseqc_recv_slave_reply()
290 if (reply->msg_len > sizeof(reply->msg)) in tda10071_diseqc_recv_slave_reply()
291 reply->msg_len = sizeof(reply->msg); /* truncate API max */ in tda10071_diseqc_recv_slave_reply()
302 reply->msg_len); in tda10071_diseqc_recv_slave_reply()
Dcx24110.c418 if (cmd->msg_len < 3 || cmd->msg_len > 6) in cx24110_send_diseqc_msg()
421 for (i = 0; i < cmd->msg_len; i++) in cx24110_send_diseqc_msg()
432 cx24110_writereg(state, 0x76, ((rv & 0x90) | 0x40) | ((cmd->msg_len-3) & 3)); in cx24110_send_diseqc_msg()
Dtda8083.c237 tda8083_writereg (state, 0x29, (m->msg_len - 3) | (1 << 2)); /* enable */ in tda8083_send_diseqc_msg()
239 for (i=0; i<m->msg_len; i++) in tda8083_send_diseqc_msg()
242 tda8083_writereg (state, 0x29, (m->msg_len - 3) | (3 << 2)); /* send!! */ in tda8083_send_diseqc_msg()
Dmt312.c356 if ((c->msg_len == 0) || (c->msg_len > sizeof(c->msg))) in mt312_send_master_cmd()
363 ret = mt312_write(state, (0x80 | DISEQC_INSTR), c->msg, c->msg_len); in mt312_send_master_cmd()
368 (diseqc_mode & 0x40) | ((c->msg_len - 1) << 3) in mt312_send_master_cmd()
Dds3000.c711 for (i = 0 ; i < d->msg_len;) { in ds3000_send_diseqc_msg()
713 if (++i < d->msg_len) in ds3000_send_diseqc_msg()
723 for (i = 0; i < d->msg_len; i++) in ds3000_send_diseqc_msg()
732 data |= ((d->msg_len - 1) << 3) | 0x07; in ds3000_send_diseqc_msg()
Dcx24116.c965 if (d->msg_len > sizeof(d->msg)) in cx24116_send_diseqc_msg()
971 for (i = 0 ; i < d->msg_len ;) { in cx24116_send_diseqc_msg()
973 if (++i < d->msg_len) in cx24116_send_diseqc_msg()
980 for (i = 0; i < d->msg_len; i++) in cx24116_send_diseqc_msg()
984 state->dsec_cmd.args[CX24116_DISEQC_MSGLEN] = d->msg_len; in cx24116_send_diseqc_msg()
1018 if (d->msg_len >= 4 && d->msg[2] == 0x38) in cx24116_send_diseqc_msg()
Dm88ds3103.c1070 diseqc_cmd->msg_len, diseqc_cmd->msg); in m88ds3103_diseqc_send_master_cmd()
1077 if (diseqc_cmd->msg_len < 3 || diseqc_cmd->msg_len > 6) { in m88ds3103_diseqc_send_master_cmd()
1088 diseqc_cmd->msg_len); in m88ds3103_diseqc_send_master_cmd()
1093 (diseqc_cmd->msg_len - 1) << 3 | 0x07); in m88ds3103_diseqc_send_master_cmd()
1102 utmp = diseqc_cmd->msg_len * 13500; in m88ds3103_diseqc_send_master_cmd()
Ds5h1420.c181 if (cmd->msg_len > sizeof(cmd->msg)) in s5h1420_send_master_cmd()
190 for(i=0; i< cmd->msg_len; i++) { in s5h1420_send_master_cmd()
196 ((cmd->msg_len-1) << 4) | 0x08); in s5h1420_send_master_cmd()
257 reply->msg_len = length; in s5h1420_recv_slave_reply()
Dtda10086.c225 if (cmd->msg_len > 6) in tda10086_send_master_cmd()
229 for(i=0; i< cmd->msg_len; i++) { in tda10086_send_master_cmd()
233 | ((cmd->msg_len - 1) << 4)); in tda10086_send_master_cmd()
Dstv0288.c168 for (i = 0; i < m->msg_len; i++) { in stv0288_send_diseqc_msg()
172 msleep(m->msg_len*12); in stv0288_send_diseqc_msg()
/linux-4.19.296/include/net/
Dcompat.h24 compat_uint_t msg_len; member
/linux-4.19.296/include/linux/
Daudit.h349 extern void __audit_mq_sendrecv(mqd_t mqdes, size_t msg_len, unsigned int msg_prio, const struct ti…
411 static inline void audit_mq_sendrecv(mqd_t mqdes, size_t msg_len, unsigned int msg_prio, const stru… in audit_mq_sendrecv() argument
414 __audit_mq_sendrecv(mqdes, msg_len, msg_prio, abs_timeout); in audit_mq_sendrecv()
559 static inline void audit_mq_sendrecv(mqd_t mqdes, size_t msg_len, in audit_mq_sendrecv() argument
/linux-4.19.296/include/uapi/linux/dvb/
Dfrontend.h175 __u8 msg_len; member
197 __u8 msg_len; member
/linux-4.19.296/include/linux/ceph/
Dauth.h115 void *msg_buf, size_t msg_len);

12