Searched refs:rq_mask (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_rx.c | 276 q->rqes[q->rq_cons & q->rq_mask] = in get_buf() 281 return &q->bufs[q->rq_cons & q->rq_mask]; in get_buf() 528 writel((q->rq_cons - 1) & q->rq_mask, q->rq_db); in fun_rxq_napi_poll() 541 for (i = 0; i <= q->rq_mask; i++, b++) in fun_rxq_free_bufs() 554 for (i = 0; i <= q->rq_mask; i++, b++) { in fun_rxq_alloc_bufs() 632 q->rq_mask = nrqe - 1; in fun_rxq_create_sw() 658 q->stats.rx_bufs = q->rq_mask; in fun_rxq_create_sw() 683 fun_free_ring_mem(q->dma_dev, q->rq_mask + 1, sizeof(*q->rqes), false, in fun_rxq_free_sw() 701 unsigned int nrqe = q->rq_mask + 1; in fun_rxq_create_dev() 745 writel(q->rq_mask, q->rq_db); in fun_rxq_create_dev()
|
H A D | funeth_txrx.h | 180 unsigned int rq_mask; /* RQ depth - 1 */ member
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | cn10k.c | 320 aq->rq_mask.policer_ena = 1; in cn10k_map_unmap_rq_policer() 323 aq->rq_mask.band_prof_id = GENMASK(9, 0); in cn10k_map_unmap_rq_policer()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mbox.h | 915 struct nix_cn10k_rq_ctx_s rq_mask; member 951 struct nix_rq_ctx_s rq_mask; member
|
H A D | rvu_nix.c | 984 memcpy(mask, &req->rq_mask, in rvu_nix_blk_aq_enq_inst() 1046 ena = (req->rq.ena & req->rq_mask.ena) | in rvu_nix_blk_aq_enq_inst() 1048 ~req->rq_mask.ena); in rvu_nix_blk_aq_enq_inst() 1239 aq_req.rq_mask.ena = 1; in nix_lf_hwctx_disable()
|