Home
last modified time | relevance | path

Searched refs:totlen (Results 1 – 23 of 23) sorted by relevance

/drivers/net/ethernet/i825xx/
Dsun3_82586.c763 unsigned short totlen; in sun3_82586_rcv_int() local
777 if( (totlen = swab16(rbd->status)) & RBD_LAST) /* the first and the last buffer? */ in sun3_82586_rcv_int()
779 totlen &= RBD_MASK; /* length of this frame */ in sun3_82586_rcv_int()
781 skb = netdev_alloc_skb(dev, totlen + 2); in sun3_82586_rcv_int()
785 skb_put(skb,totlen); in sun3_82586_rcv_int()
786 skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); in sun3_82586_rcv_int()
798 totlen = 0; in sun3_82586_rcv_int()
801 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
810 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
812 printk("%s: received oversized frame! length: %d\n",dev->name,totlen); in sun3_82586_rcv_int()
/drivers/usb/core/
Ddevio.c1291 unsigned int u, totlen, isofrmlen; in proc_do_submiturb() local
1421 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb()
1432 totlen += isopkt[u].length; in proc_do_submiturb()
1435 uurb->buffer_length = totlen; in proc_do_submiturb()
1471 totlen = uurb->buffer_length; in proc_do_submiturb()
1473 u = (totlen > USB_SG_SIZE) ? USB_SG_SIZE : totlen; in proc_do_submiturb()
1488 totlen -= u; in proc_do_submiturb()
1562 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb()
1563 as->urb->iso_frame_desc[u].offset = totlen; in proc_do_submiturb()
1565 totlen += isopkt[u].length; in proc_do_submiturb()
/drivers/mtd/nand/
Dnand_bbt.c176 size_t retlen, len, totlen; in read_bbt() local
183 totlen = (num * bits) >> 3; in read_bbt()
187 while (totlen) { in read_bbt()
188 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt()
247 totlen -= len; in read_bbt()
/drivers/mtd/chips/
Dcfi_cmdset_0020.c666 size_t totlen = 0, thislen; in cfi_staa_writev() local
695 totlen += thislen; in cfi_staa_writev()
705 totlen += thislen; in cfi_staa_writev()
719 totlen += thislen; in cfi_staa_writev()
725 *retlen = totlen; in cfi_staa_writev()
/drivers/media/usb/usbvision/
Dusbvision-core.c1203 int i, totlen = 0; in usbvision_compress_isochronous() local
1260 totlen += packet_len; in usbvision_compress_isochronous()
1265 if (totlen > 0) { in usbvision_compress_isochronous()
1270 usbvision_hexdump(data0, (totlen > 64) ? 64 : totlen); in usbvision_compress_isochronous()
1275 return totlen; in usbvision_compress_isochronous()
/drivers/net/wireless/brcm80211/brcmfmac/
Dsdio.h324 struct sk_buff_head *pktq, uint totlen);
Dsdio.c1555 u16 dlen, totlen; in brcmf_sdio_rxglom() local
1582 for (totlen = num = 0; dlen; num++) { in brcmf_sdio_rxglom()
1598 totlen += sublen; in brcmf_sdio_rxglom()
1604 (roundup(totlen, bus->blocksize) - totlen); in brcmf_sdio_rxglom()
1605 totlen = roundup(totlen, bus->blocksize); in brcmf_sdio_rxglom()
1625 totlen, num); in brcmf_sdio_rxglom()
1627 totlen != bus->cur_read.len) { in brcmf_sdio_rxglom()
1629 bus->cur_read.len, totlen, rxseq); in brcmf_sdio_rxglom()
Dbcmsdh.c706 struct sk_buff_head *pktq, uint totlen) in brcmf_sdiod_recv_chain() argument
724 glom_skb = brcmu_pkt_buf_get_skb(totlen); in brcmf_sdiod_recv_chain()
Dcfg80211.c320 int totlen = buflen; in brcmf_parse_tlvs() local
323 while (totlen >= TLV_HDR_LEN) { in brcmf_parse_tlvs()
327 if ((elt->id == key) && (totlen >= (len + TLV_HDR_LEN))) in brcmf_parse_tlvs()
331 totlen -= (len + TLV_HDR_LEN); in brcmf_parse_tlvs()
/drivers/isdn/i4l/
Disdn_bsdcomp.c116 int totlen; /* length of this structure */ member
366 db->totlen = sizeof(struct bsd_db) + (sizeof(struct bsd_dict) * hsize); in bsd_alloc()
/drivers/mtd/
Dmtdcore.c1161 size_t totlen = 0, thislen; in default_mtd_writev() local
1169 totlen += thislen; in default_mtd_writev()
1174 *retlen = totlen; in default_mtd_writev()
/drivers/net/ppp/
Dbsd_comp.c137 int totlen; /* length of this structure */ member
438 db->totlen = sizeof (struct bsd_db) + in bsd_alloc()
Dppp_generic.c1443 int len, totlen; in ppp_mp_explode() local
1507 totlen = len; in ppp_mp_explode()
1556 totlen = len; in ppp_mp_explode()
1579 flen = (((totfree - nzero)*(totlen + hdrlen*totfree)) / in ppp_mp_explode()
/drivers/net/ethernet/brocade/bna/
Dbnad.c549 u32 ci, vec, len, totlen = 0; in bnad_cq_setup_skb_frags() local
571 totlen += len; in bnad_cq_setup_skb_frags()
580 skb->len += totlen; in bnad_cq_setup_skb_frags()
581 skb->data_len += totlen; in bnad_cq_setup_skb_frags()
611 u32 packets = 0, len = 0, totlen = 0; in bnad_cq_process() local
656 totlen = len; in bnad_cq_process()
686 totlen += len; in bnad_cq_process()
710 rcb->rxq->rx_bytes += totlen; in bnad_cq_process()
711 ccb->bytes_per_intr += totlen; in bnad_cq_process()
/drivers/net/wireless/libertas_tf/
Dif_usb.c777 static int check_fwfile_format(const u8 *data, u32 totlen) in check_fwfile_format() argument
796 if (len >= totlen) in check_fwfile_format()
/drivers/net/wireless/libertas/
Dif_usb.c792 static int check_fwfile_format(const uint8_t *data, uint32_t totlen) in check_fwfile_format() argument
811 if (len >= totlen) in check_fwfile_format()
/drivers/scsi/csiostor/
Dcsio_wr.h343 uint32_t totlen; /* Total length */ member
Dcsio_hw.c3482 if (!flb || !flb->totlen) { in csio_process_fwevtq_entry()
3488 msg_len = flb->totlen; in csio_process_fwevtq_entry()
Dcsio_wr.c1065 flb.totlen = len; in csio_wr_process_fl()
/drivers/staging/slicoss/
Dslichw.h278 u32 totlen; member
Dslicoss.c1874 ihcmd->u.slic_buffers.totlen = skb->len; in slic_xmit_build_request()
/drivers/net/ethernet/rocker/
Drocker.c688 int totlen = ROCKER_TLV_ALIGN(tlv->len); in rocker_tlv_next() local
690 *remaining -= totlen; in rocker_tlv_next()
691 return (struct rocker_tlv *) ((char *) tlv + totlen); in rocker_tlv_next()
/drivers/net/wireless/brcm80211/brcmsmac/
Dmain.c842 uint totlen, supr_status; in brcms_c_dotxstatus() local
991 totlen = p->len; in brcms_c_dotxstatus()