Home
last modified time | relevance | path

Searched refs:stat_len (Results 1 – 9 of 9) sorted by relevance

/drivers/net/wan/
Dhdlc_fr.c485 int stat_len = (lmi == LMI_CISCO) ? 6 : 3; in fr_lmi_send() local
490 len += state(hdlc)->dce_pvc_count * (2 + stat_len); in fr_lmi_send()
528 data[i++] = stat_len; in fr_lmi_send()
558 i += stat_len; in fr_lmi_send()
666 int stat_len = (lmi == LMI_CISCO) ? 6 : 3, reptype, error, no_ram, i; in fr_lmi_recv() local
798 while (skb->len >= i + 2 + stat_len) { in fr_lmi_recv()
810 if (skb->data[++i] != stat_len) { in fr_lmi_recv()
852 i += stat_len; in fr_lmi_recv()
/drivers/crypto/bcm/
Dcipher.c205 u32 stat_len; in spu_skcipher_tx_sg_create() local
235 stat_len = spu->spu_tx_status_len(); in spu_skcipher_tx_sg_create()
236 if (stat_len) { in spu_skcipher_tx_sg_create()
237 memset(rctx->msg_buf.tx_stat, 0, stat_len); in spu_skcipher_tx_sg_create()
238 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_skcipher_tx_sg_create()
589 u32 stat_len; in spu_ahash_tx_sg_create() local
619 stat_len = spu->spu_tx_status_len(); in spu_ahash_tx_sg_create()
620 if (stat_len) { in spu_ahash_tx_sg_create()
621 memset(rctx->msg_buf.tx_stat, 0, stat_len); in spu_ahash_tx_sg_create()
622 sg_set_buf(sg, rctx->msg_buf.tx_stat, stat_len); in spu_ahash_tx_sg_create()
[all …]
/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c2288 &fl->addr, &fl->sdesc, s->stat_len); in t4vf_sge_alloc_rxq()
2300 s->stat_len / EQ_UNIT); in t4vf_sge_alloc_rxq()
2427 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4vf_sge_alloc_eth_txq()
2436 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len); in t4vf_sge_alloc_eth_txq()
2519 tq->size * sizeof(*tq->desc) + s->stat_len, in free_txq()
2549 fl->size * sizeof(*fl->desc) + s->stat_len, in free_rspq_fl()
2668 s->stat_len = ((sge_params->sge_control & EGRSTATUSPAGESIZE_F) in t4vf_sge_init()
Dadapter.h315 u32 stat_len; /* length of status page at ring end */ member
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c4407 &fl->sdesc, s->stat_len, in t4_sge_alloc_rxq()
4412 flsz = fl->size / 8 + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_rxq()
4576 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq()
4580 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len, in t4_sge_alloc_eth_txq()
4664 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq()
4734 nentries = q->size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ofld_txq()
4737 &q->sdesc, s->stat_len, NUMA_NO_NODE); in t4_sge_alloc_ofld_txq()
4827 q->size * sizeof(struct tx_desc) + s->stat_len, in free_txq()
4852 dma_free_coherent(adap->pdev_dev, fl->size * 8 + s->stat_len, in free_rspq_fl()
5156 s->stat_len = (sge_control & EGRSTATUSPAGESIZE_F) ? 128 : 64; in t4_sge_init()
Dcxgb4_uld.c631 lld->sge_egrstatuspagesize = adap->sge.stat_len; in uld_init()
Dcxgb4.h997 u32 stat_len; /* length of status page at ring end */ member
Dt4_hw.c7307 unsigned int stat_len = cache_line_size > 64 ? 128 : 64; in t4_fixup_host_params() local
7327 EGRSTATUSPAGESIZE_V(stat_len != 64)); in t4_fixup_host_params()
7403 EGRSTATUSPAGESIZE_V(stat_len != 64)); in t4_fixup_host_params()
/drivers/scsi/csiostor/
Dcsio_wr.c1315 uint32_t stat_len = clsz > 64 ? 128 : 64; in csio_wr_fixup_host_params() local
1395 EGRSTATUSPAGESIZE_V(stat_len != 64)); in csio_wr_fixup_host_params()