/drivers/i2c/busses/ |
D | i2c-viperboard.c | 121 u16 remain_len, bytes_xfer, len1, len2, in vprbrd_i2c_read() local 132 len2 = 0x00; in vprbrd_i2c_read() 135 rmsg->header.len2 = 0x00; in vprbrd_i2c_read() 142 len2 = 0x00; in vprbrd_i2c_read() 145 rmsg->header.len2 = 0x00; in vprbrd_i2c_read() 152 len2 = 0x00; in vprbrd_i2c_read() 155 rmsg->header.len2 = 0xff; in vprbrd_i2c_read() 162 len2 = remain_len - 512; in vprbrd_i2c_read() 165 rmsg->header.len2 = 0xff; in vprbrd_i2c_read() 173 len2 = remain_len - 512; in vprbrd_i2c_read() [all …]
|
/drivers/isdn/hisax/ |
D | hisax_debug.h | 46 int i, len1, len2; in dump_packet() local 52 len2 = DUMP_TLR_SIZE; in dump_packet() 55 len2 = 0; in dump_packet() 60 if (len2) { in dump_packet()
|
/drivers/media/tuners/ |
D | tda18218.c | 26 int ret = 0, len2, remaining; in tda18218_wr_regs() local 38 len2 = remaining; in tda18218_wr_regs() 39 if (len2 > (priv->cfg->i2c_wr_max - 1)) in tda18218_wr_regs() 40 len2 = (priv->cfg->i2c_wr_max - 1); in tda18218_wr_regs() 42 msg[0].len = 1 + len2; in tda18218_wr_regs() 44 memcpy(&buf[1], &val[len - remaining], len2); in tda18218_wr_regs()
|
/drivers/parport/ |
D | probe.c | 226 size_t idlen, len2; in parport_read_device_id() local 237 len2 = len; in parport_read_device_id() 238 while(len2 < idlen && retval > 0) { in parport_read_device_id() 241 min(sizeof tmp, idlen-len2)); in parport_read_device_id() 244 len2 += retval; in parport_read_device_id()
|
/drivers/media/dvb-frontends/ |
D | nxt200x.c | 148 u8 attr, len2, buf; in nxt200x_writereg_multibyte() local 159 len2 = len; in nxt200x_writereg_multibyte() 171 len2 = ((attr << 4) | 0x10) | len; in nxt200x_writereg_multibyte() 180 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_writereg_multibyte() 209 u8 buf, len2, attr; in nxt200x_readreg_multibyte() local 218 len2 = len & 0x80; in nxt200x_readreg_multibyte() 219 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_readreg_multibyte() 235 len2 = (attr << 4) | len; in nxt200x_readreg_multibyte() 236 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_readreg_multibyte()
|
/drivers/isdn/hysdn/ |
D | hycapi.c | 535 __u16 len2, CapiCmd; in hycapi_rx_capipkt() local 554 len2 = len + (30 - MsgLen); in hycapi_rx_capipkt() 555 if (!(skb = alloc_skb(len2, GFP_ATOMIC))) { in hycapi_rx_capipkt()
|
/drivers/usb/core/ |
D | devio.c | 964 int len2; in proc_bulk() local 1001 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in proc_bulk() 1003 snoop_urb(dev, NULL, pipe, len2, i, COMPLETE, tbuf, len2); in proc_bulk() 1005 if (!i && len2) { in proc_bulk() 1006 if (copy_to_user(bulk.data, tbuf, len2)) { in proc_bulk() 1021 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in proc_bulk() 1023 snoop_urb(dev, NULL, pipe, len2, i, COMPLETE, NULL, 0); in proc_bulk() 1025 ret = (i < 0 ? i : len2); in proc_bulk()
|
/drivers/crypto/ |
D | sahara.c | 108 u32 len2; member 378 dev_dbg(dev->device, "\tlen2 = %u\n", dev->hw_desc[i]->len2); in sahara_dump_descriptors() 451 dev->hw_desc[0]->len2 = ctx->keylen; in sahara_hw_descriptor_create() 509 dev->hw_desc[1]->len2 = dev->total; in sahara_hw_descriptor_create()
|
/drivers/tty/ |
D | moxa.c | 539 size_t wlen, len2, j; in moxa_real_load_code() local 576 len2 = (wlen > 2048) ? 2048 : wlen; in moxa_real_load_code() 577 wlen -= len2; in moxa_real_load_code() 578 memcpy_toio(baseAddr + loadbuf, ptr + j, len2 << 1); in moxa_real_load_code() 579 j += len2 << 1; in moxa_real_load_code() 581 writew(len2, baseAddr + loadlen); in moxa_real_load_code()
|
/drivers/mtd/ubi/ |
D | vtbl.c | 269 int len2 = be16_to_cpu(vtbl[n].name_len); in vtbl_check() local 271 if (len1 > 0 && len1 == len2 && in vtbl_check()
|
/drivers/isdn/i4l/ |
D | isdn_bsdcomp.c | 574 unsigned short *len2 = lens_ptr(db, ent); in bsd_compress() local 575 *len1 = *len2 + 1; in bsd_compress()
|
/drivers/net/wan/ |
D | sdla.c | 764 short dlci, len, len2, split; in sdla_receive() local 855 len2 = len - split; in sdla_receive() 857 __sdla_read(dev, addr, skb_put(skb, len2), len2); in sdla_receive()
|
/drivers/net/ppp/ |
D | bsd_comp.c | 732 unsigned short *len2 = lens_ptr (db, ent); in bsd_compress() local 733 *len1 = *len2 + 1; in bsd_compress()
|