Home
last modified time | relevance | path

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

/drivers/net/wan/
Dhdlc_fr.c477 int stat_len = (lmi == LMI_CISCO) ? 6 : 3; in fr_lmi_send() local
482 len += state(hdlc)->dce_pvc_count * (2 + stat_len); in fr_lmi_send()
522 data[i++] = stat_len; in fr_lmi_send()
552 i += stat_len; in fr_lmi_send()
660 int stat_len = (lmi == LMI_CISCO) ? 6 : 3, reptype, error, no_ram, i; in fr_lmi_recv() local
792 while (skb->len >= i + 2 + stat_len) { in fr_lmi_recv()
804 if (skb->data[++i] != stat_len) { in fr_lmi_recv()
846 i += stat_len; in fr_lmi_recv()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c2123 &fl->addr, &fl->sdesc, s->stat_len); in t4vf_sge_alloc_rxq()
2135 s->stat_len / EQ_UNIT); in t4vf_sge_alloc_rxq()
2232 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4vf_sge_alloc_eth_txq()
2241 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len); in t4vf_sge_alloc_eth_txq()
2317 tq->size * sizeof(*tq->desc) + s->stat_len, in free_txq()
2347 fl->size * sizeof(*fl->desc) + s->stat_len, in free_rspq_fl()
2455 s->stat_len = ((sge_params->sge_control & EGRSTATUSPAGESIZE_MASK) in t4vf_sge_init()
Dadapter.h305 u32 stat_len; /* length of status page at ring end */ member
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c2321 &fl->sdesc, s->stat_len, NUMA_NO_NODE); in t4_sge_alloc_rxq()
2325 flsz = fl->size / 8 + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_rxq()
2416 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_eth_txq()
2420 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len, in t4_sge_alloc_eth_txq()
2471 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ctrl_txq()
2523 nentries = txq->q.size + s->stat_len / sizeof(struct tx_desc); in t4_sge_alloc_ofld_txq()
2527 &txq->q.phys_addr, &txq->q.sdesc, s->stat_len, in t4_sge_alloc_ofld_txq()
2574 q->size * sizeof(struct tx_desc) + s->stat_len, in free_txq()
2599 dma_free_coherent(adap->pdev_dev, fl->size * 8 + s->stat_len, in free_rspq_fl()
2927 s->stat_len = (sge_control & EGRSTATUSPAGESIZE_MASK) ? 128 : 64; in t4_sge_init()
Dcxgb4.h580 u32 stat_len; /* length of status page at ring end */ member
Dt4_hw.c3118 unsigned int stat_len = cache_line_size > 64 ? 128 : 64; in t4_fixup_host_params() local
3137 EGRSTATUSPAGESIZE(stat_len != 64)); in t4_fixup_host_params()
3171 EGRSTATUSPAGESIZE(stat_len != 64)); in t4_fixup_host_params()
Dcxgb4_main.c4250 lli.sge_egrstatuspagesize = adap->sge.stat_len; in uld_attach()
/drivers/scsi/csiostor/
Dcsio_wr.c1311 uint32_t stat_len = clsz > 64 ? 128 : 64; in csio_wr_fixup_host_params() local
1325 EGRSTATUSPAGESIZE(stat_len != 64)); in csio_wr_fixup_host_params()