/drivers/isdn/sc/ |
D | packet.c | 58 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 …]
|
/drivers/net/usb/ |
D | rndis_host.c | 113 u32 xid = 0, msg_len, request_id; in rndis_command() local 133 buf, le32_to_cpu(buf->msg_len), in rndis_command() 163 msg_len = le32_to_cpu(buf->msg_len); in rndis_command() 190 msg->msg_len = cpu_to_le32(sizeof *msg); in rndis_command() 208 le32_to_cpu(buf->msg_type), msg_len); in rndis_command() 255 u.get->msg_len = cpu_to_le32(sizeof *u.get + in_len); in rndis_query() 328 u.init->msg_len = cpu_to_le32(sizeof *u.init); in generic_rndis_bind() 434 u.set->msg_len = cpu_to_le32(4 + sizeof *u.set); in generic_rndis_bind() 454 u.halt->msg_len = cpu_to_le32(sizeof *u.halt); in generic_rndis_bind() 479 halt->msg_len = cpu_to_le32(sizeof *halt); in rndis_unbind() [all …]
|
/drivers/net/hyperv/ |
D | rndis_filter.c | 77 u32 msg_len) in get_rndis_request() argument 92 rndis_msg->msg_len = msg_len; in get_rndis_request() 137 rndis_msg->msg_len, in dump_rndis_message() 152 rndis_msg->msg_len, in dump_rndis_message() 169 rndis_msg->msg_len, in dump_rndis_message() 181 rndis_msg->msg_len, in dump_rndis_message() 189 rndis_msg->msg_len, in dump_rndis_message() 198 rndis_msg->msg_len); in dump_rndis_message() 213 packet->total_data_buflen = req->request_msg.msg_len; in rndis_filter_send_request() 218 packet->page_buf[0].len = req->request_msg.msg_len; in rndis_filter_send_request() [all …]
|
/drivers/char/ipmi/ |
D | ipmi_bt_sm.c | 271 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/i2c/busses/ |
D | i2c-sirf.c | 73 u32 msg_len; /* Message length */ member 107 while (((siic->finished_len + i) < siic->msg_len) in i2c_sirfsoc_queue_cmd() 111 (siic->msg_len - 1)) && siic->last) in i2c_sirfsoc_queue_cmd() 121 && (siic->finished_len < siic->msg_len)) { in i2c_sirfsoc_queue_cmd() 123 if ((siic->finished_len == (siic->msg_len - 1)) in i2c_sirfsoc_queue_cmd() 158 if (siic->finished_len == siic->msg_len) in i2c_sirfsoc_irq() 237 siic->msg_len = msgs[i].len; in i2c_sirfsoc_xfer()
|
/drivers/media/common/tuners/ |
D | tda18218.c | 32 u8 buf[1+len], quotient, remainder, i, msg_len, msg_len_max; in tda18218_wr_regs() local 44 msg_len = msg_len_max; in tda18218_wr_regs() 47 msg_len = remainder; in tda18218_wr_regs() 49 msg[0].len = msg_len + 1; in tda18218_wr_regs() 51 memcpy(&buf[1], &val[i * msg_len_max], msg_len); in tda18218_wr_regs()
|
/drivers/s390/crypto/ |
D | zcrypt_cex2a.c | 108 meb1->header.msg_len = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg() 118 meb2->header.msg_len = sizeof(*meb2); in ICAMEX_msg_to_type50MEX_msg() 129 meb3->header.msg_len = sizeof(*meb3); in ICAMEX_msg_to_type50MEX_msg() 192 crb1->header.msg_len = sizeof(*crb1); in ICACRT_msg_to_type50CRT_msg() 205 crb2->header.msg_len = sizeof(*crb2); in ICACRT_msg_to_type50CRT_msg() 219 crb3->header.msg_len = sizeof(*crb3); in ICACRT_msg_to_type50CRT_msg()
|
D | zcrypt_pcica.c | 98 sme->header.msg_len = sizeof(*sme); in ICAMEX_msg_to_type4MEX_msg() 109 lme->header.msg_len = sizeof(*lme); in ICAMEX_msg_to_type4MEX_msg() 151 scr->header.msg_len = sizeof(*scr); in ICACRT_msg_to_type4CRT_msg() 165 lcr->header.msg_len = sizeof(*lcr); in ICACRT_msg_to_type4CRT_msg()
|
D | zcrypt_pcica.h | 44 unsigned short msg_len; member
|
D | zcrypt_cex2a.h | 44 unsigned short msg_len; member
|
/drivers/media/dvb/frontends/ |
D | tda10071.c | 288 dbg("%s: msg_len=%d", __func__, diseqc_cmd->msg_len); in tda10071_diseqc_send_master_cmd() 290 if (diseqc_cmd->msg_len < 3 || diseqc_cmd->msg_len > 16) { in tda10071_diseqc_send_master_cmd() 321 cmd.args[0x06] = diseqc_cmd->msg_len; in tda10071_diseqc_send_master_cmd() 322 memcpy(&cmd.args[0x07], diseqc_cmd->msg, diseqc_cmd->msg_len); in tda10071_diseqc_send_master_cmd() 323 cmd.len = 0x07 + diseqc_cmd->msg_len; in tda10071_diseqc_send_master_cmd() 370 reply->msg_len = tmp & 0x1f; /* [4:0] */; in tda10071_diseqc_recv_slave_reply() 371 if (reply->msg_len > sizeof(reply->msg)) in tda10071_diseqc_recv_slave_reply() 372 reply->msg_len = sizeof(reply->msg); /* truncate API max */ in tda10071_diseqc_recv_slave_reply() 382 ret = tda10071_rd_regs(priv, cmd.len, reply->msg, reply->msg_len); in tda10071_diseqc_recv_slave_reply()
|
D | cx24110.c | 417 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()
|
D | tda8083.c | 231 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()
|
D | mt312.c | 345 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()
|
D | cx24116.c | 969 for (i = 0 ; i < d->msg_len ;) { in cx24116_send_diseqc_msg() 971 if (++i < d->msg_len) in cx24116_send_diseqc_msg() 978 if (d->msg_len > (CX24116_ARGLEN - CX24116_DISEQC_MSGOFS)) in cx24116_send_diseqc_msg() 982 for (i = 0; i < d->msg_len; i++) in cx24116_send_diseqc_msg() 986 state->dsec_cmd.args[CX24116_DISEQC_MSGLEN] = d->msg_len; in cx24116_send_diseqc_msg() 1020 if (d->msg_len >= 4 && d->msg[2] == 0x38) in cx24116_send_diseqc_msg()
|
D | ds3000.c | 777 for (i = 0 ; i < d->msg_len;) { in ds3000_send_diseqc_msg() 779 if (++i < d->msg_len) in ds3000_send_diseqc_msg() 789 for (i = 0; i < d->msg_len; i++) in ds3000_send_diseqc_msg() 798 data |= ((d->msg_len - 1) << 3) | 0x07; in ds3000_send_diseqc_msg()
|
D | s5h1420.c | 183 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()
|
D | tda10086.c | 224 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()
|
D | stv0288.c | 168 for (i = 0; i < m->msg_len; i++) { in stv0288_send_diseqc_msg() 172 msleep(m->msg_len*12); in stv0288_send_diseqc_msg()
|
/drivers/media/dvb/dvb-usb/ |
D | vp702x-fe.c | 223 if (m->msg_len > 4) in vp702x_fe_send_diseqc_msg() 230 cmd[2] = m->msg_len; in vp702x_fe_send_diseqc_msg() 231 memcpy(&cmd[3], m->msg, m->msg_len); in vp702x_fe_send_diseqc_msg()
|
D | af9015.c | 75 u8 msg_len = REQ_HDR_LEN; in af9015_rw_udev() local 128 msg_len += req->data_len; in af9015_rw_udev() 132 debug_dump(buf, msg_len, deb_xfer); in af9015_rw_udev() 135 ret = usb_bulk_msg(udev, usb_sndbulkpipe(udev, 0x02), buf, msg_len, in af9015_rw_udev() 138 err("bulk message failed:%d (%d/%d)", ret, msg_len, act_len); in af9015_rw_udev() 140 if (act_len != msg_len) in af9015_rw_udev() 151 msg_len = ACK_HDR_LEN; in af9015_rw_udev() 153 msg_len += req->data_len; in af9015_rw_udev() 155 ret = usb_bulk_msg(udev, usb_rcvbulkpipe(udev, 0x81), buf, msg_len, in af9015_rw_udev()
|
/drivers/net/wimax/i2400m/ |
D | driver.c | 128 const void *msg_buf, size_t msg_len, in i2400m_op_msg_from_user() argument 138 msg_buf, msg_len, genl_info); in i2400m_op_msg_from_user() 139 ack_skb = i2400m_msg_to_dev(i2400m, msg_buf, msg_len); in i2400m_op_msg_from_user() 146 "genl_info %p) = %d\n", wimax_dev, i2400m, msg_buf, msg_len, in i2400m_op_msg_from_user()
|
/drivers/media/dvb/ttusb-dec/ |
D | ttusbdecfe.c | 159 memcpy(&b[4], cmd->msg, cmd->msg_len); in ttusbdecfe_dvbs_diseqc_send_master_cmd() 162 sizeof(b) - (6 - cmd->msg_len), b, in ttusbdecfe_dvbs_diseqc_send_master_cmd()
|
/drivers/staging/sep/ |
D | sep_main.c | 3563 const size_t msg_len) in sep_activate_msgarea_context() argument 3569 SEP_DRIVER_MESSAGE_SHARED_AREA_SIZE_IN_BYTES < msg_len) { in sep_activate_msgarea_context() 3572 current->pid, msg_len); in sep_activate_msgarea_context() 3576 memcpy(sep->shared_addr, *msg_region, msg_len); in sep_activate_msgarea_context() 3591 const size_t msg_len) in sep_create_msgarea_context() argument 3600 SEP_DRIVER_MAX_MESSAGE_SIZE_IN_BYTES < msg_len || in sep_create_msgarea_context() 3601 SEP_DRIVER_MIN_MESSAGE_SIZE_IN_BYTES > msg_len) { in sep_create_msgarea_context() 3604 current->pid, msg_len); in sep_create_msgarea_context() 3610 *msg_region = kzalloc(msg_len, GFP_KERNEL); in sep_create_msgarea_context() 3620 if (copy_from_user(*msg_region, msg_user, msg_len)) { in sep_create_msgarea_context() [all …]
|
D | sep_dev.h | 112 u32 msg_len; member
|