Searched refs:lens (Results 1 – 5 of 5) sorted by relevance
/drivers/isdn/i4l/ |
D | isdn_bsdcomp.c | 138 unsigned short *lens; /* array of lengths of codes */ member 290 vfree(db->lens); in bsd_free() 291 db->lens = NULL; in bsd_free() 354 db->lens = NULL; in bsd_alloc() 356 db->lens = vmalloc((maxmaxcode + 1) * sizeof(db->lens[0])); in bsd_alloc() 357 if (!db->lens) { in bsd_alloc() 394 || (decomp && db->lens == NULL)) { in bsd_init() 395 …d: %d %d %d %d %lx\n", data->optlen, data->num, data->options[0], decomp, (unsigned long)db->lens); in bsd_init() 401 db->lens[indx] = 1; in bsd_init() 424 #define lens_ptrx(p, idx) &(p->lens[idx]) [all …]
|
/drivers/net/ppp/ |
D | bsd_comp.c | 159 unsigned short *lens; /* array of lengths of codes */ member 340 vfree(db->lens); in bsd_free() 341 db->lens = NULL; in bsd_free() 421 db->lens = NULL; in bsd_alloc() 428 db->lens = vmalloc((maxmaxcode + 1) * sizeof(db->lens[0])); in bsd_alloc() 429 if (!db->lens) in bsd_alloc() 472 || (decomp && db->lens == NULL)) in bsd_init() 482 db->lens[indx] = 1; in bsd_init() 524 #define lens_ptrx(p,idx) &(p->lens[idx]) 729 if (db->lens) in bsd_compress()
|
/drivers/tty/ |
D | moxa.c | 747 u16 lens[5]; in moxa_load_fw() local 760 BUILD_BUG_ON(ARRAY_SIZE(hdr->len) != ARRAY_SIZE(lens)); in moxa_load_fw() 781 for (a = 0; a < ARRAY_SIZE(lens); a++) { in moxa_load_fw() 782 lens[a] = le16_to_cpu(hdr->len[a]); in moxa_load_fw() 783 if (lens[a] && len + lens[a] <= fw->size && in moxa_load_fw() 787 if (!lens[a] && a < lencnt) { in moxa_load_fw() 791 len += lens[a]; in moxa_load_fw() 805 ret = moxa_load_bios(brd, ptr, lens[lenp]); in moxa_load_fw() 810 ptr += lens[lenp] + lens[lenp + 1]; in moxa_load_fw() 814 ret = moxa_load_320b(brd, ptr, lens[lenp]); in moxa_load_fw() [all …]
|
/drivers/scsi/mvsas/ |
D | mv_sas.h | 200 __le32 lens; /* cmd, max resp frame len */ member
|
D | mv_sas.c | 398 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | ((req_len - 4) / 4)); in mvs_task_prep_smp() 537 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | (req_len / 4)); in mvs_task_prep_ata() 653 hdr->lens = cpu_to_le32(((resp_len / 4) << 16) | (req_len / 4)); in mvs_task_prep_ssp()
|