Home
last modified time | relevance | path

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

/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/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.c149 u8 attr, len2, buf; in nxt200x_writereg_multibyte() local
160 len2 = len; in nxt200x_writereg_multibyte()
172 len2 = ((attr << 4) | 0x10) | len; in nxt200x_writereg_multibyte()
181 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_writereg_multibyte()
210 u8 buf, len2, attr; in nxt200x_readreg_multibyte() local
219 len2 = len & 0x80; in nxt200x_readreg_multibyte()
220 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_readreg_multibyte()
236 len2 = (attr << 4) | len; in nxt200x_readreg_multibyte()
237 nxt200x_writebytes(state, 0x34, &len2, 1); in nxt200x_readreg_multibyte()
/drivers/net/wireless/iwlwifi/
Diwl-devtrace.h242 const void *hcmd2, size_t len2),
243 TP_ARGS(dev, flags, hcmd0, len0, hcmd1, len1, hcmd2, len2),
248 __dynamic_array(u8, hcmd2, len2)
255 memcpy(__get_dynamic_array(hcmd2), hcmd2, len2);
/drivers/usb/core/
Ddevio.c933 int len2; in proc_bulk() local
970 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in proc_bulk()
972 snoop_urb(dev, NULL, pipe, len2, i, COMPLETE, tbuf, len2); in proc_bulk()
974 if (!i && len2) { in proc_bulk()
975 if (copy_to_user(bulk.data, tbuf, len2)) { in proc_bulk()
990 i = usb_bulk_msg(dev, pipe, tbuf, len1, &len2, tmo); in proc_bulk()
992 snoop_urb(dev, NULL, pipe, len2, i, COMPLETE, NULL, 0); in proc_bulk()
994 ret = (i < 0 ? i : len2); in proc_bulk()
/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/net/wan/
Dcycx_x25.c1023 void *d1, int len1, void *d2, int len2) in x25_exec() argument
1033 c.len = len1 + len2; in x25_exec()
1045 if (len2 > 254) { in x25_exec()
1050 len2 - 249); in x25_exec()
1052 cycx_poke(&card->hw, addr + len1, d2, len2); in x25_exec()
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/tty/
Dmoxa.c538 size_t wlen, len2, j; in moxa_real_load_code() local
575 len2 = (wlen > 2048) ? 2048 : wlen; in moxa_real_load_code()
576 wlen -= len2; in moxa_real_load_code()
577 memcpy_toio(baseAddr + loadbuf, ptr + j, len2 << 1); in moxa_real_load_code()
578 j += len2 << 1; in moxa_real_load_code()
580 writew(len2, baseAddr + loadlen); in moxa_real_load_code()
/drivers/mtd/ubi/
Dvtbl.c274 int len2 = be16_to_cpu(vtbl[n].name_len); in vtbl_check() local
276 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/ppp/
Dbsd_comp.c732 unsigned short *len2 = lens_ptr (db, ent); in bsd_compress() local
733 *len1 = *len2 + 1; in bsd_compress()
/drivers/staging/telephony/
Dixj.c3180 char mdmflen, len1, len2, len3; in ixj_write_cid() local
3201 len2 = strlen(sdmf2); in ixj_write_cid()
3203 mdmflen = len1 + len2 + len3 + 6; in ixj_write_cid()
3223 ixj_write_cid_byte(j, len2); in ixj_write_cid()
3224 checksum = checksum + len2; in ixj_write_cid()
3261 char mdmflen, len1, len2, len3; in ixj_write_cidcw() local
3351 len2 = strlen(sdmf2); in ixj_write_cidcw()
3353 mdmflen = len1 + len2 + len3 + 6; in ixj_write_cidcw()
3370 ixj_write_cid_byte(j, len2); in ixj_write_cidcw()
3371 checksum = checksum + len2; in ixj_write_cidcw()