Home
last modified time | relevance | path

Searched refs:len2 (Results 1 – 13 of 13) sorted by relevance

/drivers/i2c/busses/
Di2c-viperboard.c121 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/
Dhisax_debug.h46 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/
Dtda18218.c26 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/
Dprobe.c226 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/
Dnxt200x.c148 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/
Dhycapi.c535 __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/
Ddevio.c964 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/
Dsahara.c108 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/
Dmoxa.c539 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/
Dvtbl.c269 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/
Disdn_bsdcomp.c574 unsigned short *len2 = lens_ptr(db, ent); in bsd_compress() local
575 *len1 = *len2 + 1; in bsd_compress()
/drivers/net/wan/
Dsdla.c764 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/
Dbsd_comp.c732 unsigned short *len2 = lens_ptr (db, ent); in bsd_compress() local
733 *len1 = *len2 + 1; in bsd_compress()