Lines Matching refs:totlen
3678 int i, totlen, seglen, pad; in iwn_send() local
3812 totlen = msgdsize(mp); in iwn_send()
3852 if (totlen + IEEE80211_CRC_LEN > ic->ic_rtsthreshold) { in iwn_send()
3911 tx->len = htole16(totlen); in iwn_send()
3937 bcopy(mp->b_rptr, data->dma_data.vaddr, totlen - hdrlen); in iwn_send()
3955 for (i = 1, seglen = totlen - hdrlen; in iwn_send()
3972 sc->ops.update_sched(sc, ring->qid, ring->cur, tx->id, totlen); in iwn_send()
3984 ic->ic_stats.is_tx_bytes += totlen; in iwn_send()
4410 int totlen, ret; in iwn_cmd() local
4416 totlen = 4 + size; in iwn_cmd()
4420 if (iwn_dma_contig_alloc(sc, &data->cmd_dma, totlen, in iwn_cmd()
4440 desc->segs[0].len = htole16(IWN_HIADDR(paddr) | totlen << 4); in iwn_cmd()
4443 (void) ddi_dma_sync(data->cmd_dma.dma_hdl, 0, totlen, in iwn_cmd()
4448 totlen, DDI_DMA_SYNC_FORDEV); in iwn_cmd()