Home
last modified time | relevance | path

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

12

/drivers/isdn/sc/
Dpacket.c58 ReqLnkWrite.msg_len = data->len; /* sk_buff size */ in sndpkt()
61 ReqLnkWrite.msg_len, ReqLnkWrite.buff_offset); in sndpkt()
62 memcpy_toshmem(card, (char *)ReqLnkWrite.buff_offset, data->data, ReqLnkWrite.msg_len); in sndpkt()
69 ReqLnkWrite.msg_len, ReqLnkWrite.buff_offset, in sndpkt()
111 if (!(skb = dev_alloc_skb(rcvmsg->msg_data.response.msg_len))) { in rcvpkt()
116 skb_put(skb, rcvmsg->msg_data.response.msg_len); in rcvpkt()
121 skb_put(skb, rcvmsg->msg_data.response.msg_len), in rcvpkt()
123 rcvmsg->msg_data.response.msg_len); in rcvpkt()
135 newll.msg_len = BUFFER_SIZE; in rcvpkt()
138 newll.buff_offset, newll.msg_len); in rcvpkt()
[all …]
Dmessage.h185 unsigned short msg_len; member
Dinterrupt.c73 rcvmsg.msg_data.response.msg_len, in interrupt_handler()
/drivers/net/usb/
Drndis_host.c84 u32 xid = 0, msg_len, request_id; in rndis_command() local
104 buf, le32_to_cpu(buf->msg_len), in rndis_command()
127 msg_len = le32_to_cpu(buf->msg_len); in rndis_command()
172 msg->msg_len = ccpu2(sizeof *msg); in rndis_command()
190 le32_to_cpu(buf->msg_type), msg_len); in rndis_command()
237 u.get->msg_len = cpu_to_le32(sizeof *u.get + in_len); in rndis_query()
300 u.init->msg_len = ccpu2(sizeof *u.init); in generic_rndis_bind()
406 u.set->msg_len = ccpu2(4 + sizeof *u.set); in generic_rndis_bind()
426 u.halt->msg_len = ccpu2(sizeof *u.halt); in generic_rndis_bind()
451 halt->msg_len = ccpu2(sizeof *halt); in rndis_unbind()
[all …]
/drivers/char/ipmi/
Dipmi_bt_sm.c271 int i, msg_len; in bt_get_result() local
273 msg_len = bt->read_count - 2; /* account for length & seq */ in bt_get_result()
274 if (msg_len < 3 || msg_len > IPMI_MAX_MSG_LENGTH) { in bt_get_result()
276 msg_len = 3; in bt_get_result()
280 if (length < msg_len || bt->truncated) { in bt_get_result()
282 msg_len = 3; in bt_get_result()
284 memcpy(data + 2, bt->read_data + 4, msg_len - 2); in bt_get_result()
287 printk(KERN_WARNING "BT: result %d bytes:", msg_len); in bt_get_result()
288 for (i = 0; i < msg_len; i++) in bt_get_result()
292 return msg_len; in bt_get_result()
/drivers/net/wimax/i2400m/
Ddriver.c216 const void *msg_buf, size_t msg_len, in i2400m_op_msg_from_user() argument
226 msg_buf, msg_len, genl_info); in i2400m_op_msg_from_user()
227 ack_skb = i2400m_msg_to_dev(i2400m, msg_buf, msg_len); in i2400m_op_msg_from_user()
233 msg_buf, msg_len, GFP_KERNEL); in i2400m_op_msg_from_user()
237 "genl_info %p) = %d\n", wimax_dev, i2400m, msg_buf, msg_len, in i2400m_op_msg_from_user()
/drivers/s390/crypto/
Dzcrypt_pcica.c99 sme->header.msg_len = sizeof(*sme); in ICAMEX_msg_to_type4MEX_msg()
110 lme->header.msg_len = sizeof(*lme); in ICAMEX_msg_to_type4MEX_msg()
152 scr->header.msg_len = sizeof(*scr); in ICACRT_msg_to_type4CRT_msg()
166 lcr->header.msg_len = sizeof(*lcr); in ICACRT_msg_to_type4CRT_msg()
Dzcrypt_cex2a.c100 meb1->header.msg_len = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg()
110 meb2->header.msg_len = sizeof(*meb2); in ICAMEX_msg_to_type50MEX_msg()
167 crb1->header.msg_len = sizeof(*crb1); in ICACRT_msg_to_type50CRT_msg()
180 crb2->header.msg_len = sizeof(*crb2); in ICACRT_msg_to_type50CRT_msg()
Dzcrypt_pcica.h44 unsigned short msg_len; member
Dzcrypt_cex2a.h44 unsigned short msg_len; member
/drivers/media/dvb/dvb-usb/
Dvp702x-fe.c213 if (m->msg_len > 4) in vp702x_fe_send_diseqc_msg()
217 cmd[2] = m->msg_len; in vp702x_fe_send_diseqc_msg()
218 memcpy(&cmd[3], m->msg, m->msg_len); in vp702x_fe_send_diseqc_msg()
Daf9015.c72 u8 msg_len = 8; in af9015_rw_udev() local
118 msg_len += req->data_len; in af9015_rw_udev()
121 debug_dump(buf, msg_len, deb_xfer); in af9015_rw_udev()
124 ret = usb_bulk_msg(udev, usb_sndbulkpipe(udev, 0x02), buf, msg_len, in af9015_rw_udev()
127 err("bulk message failed:%d (%d/%d)", ret, msg_len, act_len); in af9015_rw_udev()
129 if (act_len != msg_len) in af9015_rw_udev()
139 msg_len = 1 + 1 + req->data_len; /* seq + status + data len */ in af9015_rw_udev()
140 ret = usb_bulk_msg(udev, usb_rcvbulkpipe(udev, 0x81), buf, msg_len, in af9015_rw_udev()
/drivers/media/dvb/frontends/
Dcx24110.c417 if (cmd->msg_len < 3 || cmd->msg_len > 6) in cx24110_send_diseqc_msg()
420 for (i = 0; i < cmd->msg_len; i++) in cx24110_send_diseqc_msg()
431 cx24110_writereg(state, 0x76, ((rv & 0x90) | 0x40) | ((cmd->msg_len-3) & 3)); in cx24110_send_diseqc_msg()
Dtda8083.c231 tda8083_writereg (state, 0x29, (m->msg_len - 3) | (1 << 2)); /* enable */ in tda8083_send_diseqc_msg()
233 for (i=0; i<m->msg_len; i++) in tda8083_send_diseqc_msg()
236 tda8083_writereg (state, 0x29, (m->msg_len - 3) | (3 << 2)); /* send!! */ in tda8083_send_diseqc_msg()
Dmt312.c345 if ((c->msg_len == 0) || (c->msg_len > sizeof(c->msg))) in mt312_send_master_cmd()
352 ret = mt312_write(state, (0x80 | DISEQC_INSTR), c->msg, c->msg_len); in mt312_send_master_cmd()
357 (diseqc_mode & 0x40) | ((c->msg_len - 1) << 3) in mt312_send_master_cmd()
Dcx24116.c943 for (i = 0 ; i < d->msg_len ;) { in cx24116_send_diseqc_msg()
945 if (++i < d->msg_len) in cx24116_send_diseqc_msg()
952 if (d->msg_len > (CX24116_ARGLEN - CX24116_DISEQC_MSGOFS)) in cx24116_send_diseqc_msg()
956 for (i = 0; i < d->msg_len; i++) in cx24116_send_diseqc_msg()
960 state->dsec_cmd.args[CX24116_DISEQC_MSGLEN] = d->msg_len; in cx24116_send_diseqc_msg()
994 if (d->msg_len >= 4 && d->msg[2] == 0x38) in cx24116_send_diseqc_msg()
Ds5h1420.c183 if (cmd->msg_len > 8) in s5h1420_send_master_cmd()
192 for(i=0; i< cmd->msg_len; i++) { in s5h1420_send_master_cmd()
198 ((cmd->msg_len-1) << 4) | 0x08); in s5h1420_send_master_cmd()
259 reply->msg_len = length; in s5h1420_recv_slave_reply()
Dtda10086.c224 if (cmd->msg_len > 6) in tda10086_send_master_cmd()
228 for(i=0; i< cmd->msg_len; i++) { in tda10086_send_master_cmd()
232 | ((cmd->msg_len - 1) << 4)); in tda10086_send_master_cmd()
Dstb0899_drv.c699 if (cmd->msg_len > 8) in stb0899_send_diseqc_msg()
706 for (i = 0; i < cmd->msg_len; i++) { in stb0899_send_diseqc_msg()
756 reply->msg_len = length; in stb0899_recv_slave_reply()
833 tx_data.msg_len = 3; in stb0899_diseqc_init()
Dsi21xx.c399 status |= si21_writeregs(state, LNB_FIFO_REGS_0, m->msg, m->msg_len); in si21xx_send_diseqc_msg()
402 LNB_CTRL_1 |= m->msg_len; in si21xx_send_diseqc_msg()
Dcx24123.c795 for (i = 0; i < cmd->msg_len; i++) in cx24123_send_diseqc_msg()
800 ((cmd->msg_len-3) & 3)); in cx24123_send_diseqc_msg()
/drivers/media/dvb/ttusb-dec/
Dttusbdecfe.c157 memcpy(&b[4], cmd->msg, cmd->msg_len); in ttusbdecfe_dvbs_diseqc_send_master_cmd()
160 sizeof(b) - (6 - cmd->msg_len), b, in ttusbdecfe_dvbs_diseqc_send_master_cmd()
/drivers/media/dvb/ttpci/
Dbudget-patch.c157 SendDiSEqCMsg (budget, cmd->msg_len, cmd->msg, 0); in budget_diseqc_send_master_cmd()
250 av7110_send_diseqc_msg (budget, cmd->msg_len, cmd->msg, 0); in budget_patch_diseqc_send_master_cmd()
/drivers/media/dvb/bt8xx/
Ddst.c1462 if (cmd->msg_len > 0 && cmd->msg_len < 5) in dst_set_diseqc()
1463 memcpy(&paket[3], cmd->msg, cmd->msg_len); in dst_set_diseqc()
1464 else if (cmd->msg_len == 5 && state->dst_hw_cap & DST_TYPE_HAS_DISEQC5) in dst_set_diseqc()
1465 memcpy(&paket[2], cmd->msg, cmd->msg_len); in dst_set_diseqc()
/drivers/scsi/
Daic7xxx_old.c959 unsigned char msg_len; /* Length of message */ member
3604 p->msg_len = 0; in aic7xxx_reset_channel()
3766 p->msg_len += 8; in aic7xxx_construct_ppr()
3786 p->msg_len += 5; in aic7xxx_construct_sdtr()
3804 p->msg_len += 4; in aic7xxx_construct_wdtr()
4002 p->msg_len = 0; in aic7xxx_handle_seqint()
4484 p->msg_index = p->msg_len = 0; in aic7xxx_handle_seqint()
4497 p->msg_len += 2; in aic7xxx_handle_seqint()
4503 p->msg_len++; in aic7xxx_handle_seqint()
4518 p->msg_len++; in aic7xxx_handle_seqint()
[all …]

12