Home
last modified time | relevance | path

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

/drivers/net/ethernet/rocker/
A Drocker_tlv.h32 int totlen = ROCKER_TLV_ALIGN(tlv->len); in rocker_tlv_next() local
34 *remaining -= totlen; in rocker_tlv_next()
35 return (struct rocker_tlv *) ((char *) tlv + totlen); in rocker_tlv_next()
/drivers/net/ethernet/i825xx/
A Dsun3_82586.c760 unsigned short totlen; in sun3_82586_rcv_int() local
774 if( (totlen = swab16(rbd->status)) & RBD_LAST) /* the first and the last buffer? */ in sun3_82586_rcv_int()
776 totlen &= RBD_MASK; /* length of this frame */ in sun3_82586_rcv_int()
778 skb = netdev_alloc_skb(dev, totlen + 2); in sun3_82586_rcv_int()
782 skb_put(skb,totlen); in sun3_82586_rcv_int()
783 skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); in sun3_82586_rcv_int()
795 totlen = 0; in sun3_82586_rcv_int()
798 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
807 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
809 printk("%s: received oversized frame! length: %d\n",dev->name,totlen); in sun3_82586_rcv_int()
/drivers/mtd/nand/raw/
A Dnand_bbt.c171 size_t retlen, len, totlen; in read_bbt() local
178 totlen = (num * bits) >> 3; in read_bbt()
182 while (totlen) { in read_bbt()
183 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt()
242 totlen -= len; in read_bbt()
/drivers/usb/core/
A Ddevio.c1627 unsigned int u, totlen, isofrmlen; in proc_do_submiturb() local
1756 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb()
1765 totlen += isopkt[u].length; in proc_do_submiturb()
1768 uurb->buffer_length = totlen; in proc_do_submiturb()
1818 totlen = uurb->buffer_length; in proc_do_submiturb()
1820 u = (totlen > USB_SG_SIZE) ? USB_SG_SIZE : totlen; in proc_do_submiturb()
1835 totlen -= u; in proc_do_submiturb()
1913 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb()
1914 as->urb->iso_frame_desc[u].offset = totlen; in proc_do_submiturb()
1916 totlen += isopkt[u].length; in proc_do_submiturb()
/drivers/mtd/chips/
A Dcfi_cmdset_0020.c668 size_t totlen = 0, thislen; in cfi_staa_writev() local
697 totlen += thislen; in cfi_staa_writev()
707 totlen += thislen; in cfi_staa_writev()
721 totlen += thislen; in cfi_staa_writev()
727 *retlen = totlen; in cfi_staa_writev()
/drivers/net/ethernet/brocade/bna/
A Dbnad.c526 u32 ci, pi, totlen = 0; in bnad_cq_setup_skb_frags() local
554 totlen += len; in bnad_cq_setup_skb_frags()
566 skb->len += totlen; in bnad_cq_setup_skb_frags()
567 skb->data_len += totlen; in bnad_cq_setup_skb_frags()
597 u32 packets = 0, len = 0, totlen = 0; in bnad_cq_process() local
642 totlen = len; in bnad_cq_process()
672 totlen += len; in bnad_cq_process()
696 rcb->rxq->rx_bytes += totlen; in bnad_cq_process()
697 ccb->bytes_per_intr += totlen; in bnad_cq_process()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dsdio.h328 struct sk_buff_head *pktq, uint totlen);
A Dsdio.c1516 u16 dlen, totlen; in brcmf_sdio_rxglom() local
1543 for (totlen = num = 0; dlen; num++) { in brcmf_sdio_rxglom()
1559 totlen += sublen; in brcmf_sdio_rxglom()
1565 (roundup(totlen, bus->blocksize) - totlen); in brcmf_sdio_rxglom()
1566 totlen = roundup(totlen, bus->blocksize); in brcmf_sdio_rxglom()
1586 totlen, num); in brcmf_sdio_rxglom()
1588 totlen != bus->cur_read.len) { in brcmf_sdio_rxglom()
1590 bus->cur_read.len, totlen, rxseq); in brcmf_sdio_rxglom()
A Dbcmsdh.c565 struct sk_buff_head *pktq, uint totlen) in brcmf_sdiod_recv_chain() argument
586 glom_skb = brcmu_pkt_buf_get_skb(totlen); in brcmf_sdiod_recv_chain()
A Dcfg80211.c422 int totlen = buflen; in brcmf_parse_tlvs() local
425 while (totlen >= TLV_HDR_LEN) { in brcmf_parse_tlvs()
429 if ((elt->id == key) && (totlen >= (len + TLV_HDR_LEN))) in brcmf_parse_tlvs()
433 totlen -= (len + TLV_HDR_LEN); in brcmf_parse_tlvs()
/drivers/net/ppp/
A Dbsd_comp.c137 int totlen; /* length of this structure */ member
438 db->totlen = sizeof (struct bsd_db) + in bsd_alloc()
A Dppp_generic.c1933 int len, totlen; in ppp_mp_explode() local
1997 totlen = len; in ppp_mp_explode()
2046 totlen = len; in ppp_mp_explode()
2069 flen = (((totfree - nzero)*(totlen + hdrlen*totfree)) / in ppp_mp_explode()
/drivers/net/wireless/marvell/libertas_tf/
A Dif_usb.c768 static int check_fwfile_format(const u8 *data, u32 totlen) in check_fwfile_format() argument
787 if (len >= totlen) in check_fwfile_format()
/drivers/net/wireless/marvell/libertas/
A Dif_usb.c779 static int check_fwfile_format(const uint8_t *data, uint32_t totlen) in check_fwfile_format() argument
798 if (len >= totlen) in check_fwfile_format()
/drivers/net/ethernet/alacritech/
A Dslic.h491 __le32 totlen; member
A Dslicoss.c1437 desc->totlen = cpu_to_le32(maplen); in slic_xmit()
/drivers/scsi/csiostor/
A Dcsio_wr.h343 uint32_t totlen; /* Total length */ member
A Dcsio_wr.c1070 flb.totlen = len; in csio_wr_process_fl()
A Dcsio_hw.c3944 if (!flb || !flb->totlen) { in csio_process_fwevtq_entry()
3950 msg_len = flb->totlen; in csio_process_fwevtq_entry()
/drivers/scsi/qla2xxx/
A Dqla_edif.c2540 u16 totlen; in qla24xx_auth_els() local
2564 totlen = (le16_to_cpu(p->frame_size) & 0x0fff) - PURX_ELS_HEADER_SIZE; in qla24xx_auth_els()
2566 totlen = le16_to_cpu(p->trunc_frame_size); in qla24xx_auth_els()
2572 if (totlen > ELS_MAX_PAYLOAD) { in qla24xx_auth_els()
2575 __func__, totlen); in qla24xx_auth_els()
2602 purex->pur_info.pur_bytes_rcvd = totlen; in qla24xx_auth_els()
/drivers/mtd/
A Dmtdcore.c2383 size_t totlen = 0, thislen; in default_mtd_writev() local
2391 totlen += thislen; in default_mtd_writev()
2396 *retlen = totlen; in default_mtd_writev()
/drivers/crypto/inside-secure/
A Dsafexcel_cipher.c688 unsigned int totlen; in safexcel_send_req() local
733 totlen = totlen_src; in safexcel_send_req()
775 if (!totlen) { in safexcel_send_req()
804 sg_dma_address(sg), len, totlen, in safexcel_send_req()

Completed in 939 milliseconds