Searched refs:nix_hw (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 26 struct nix_hw *nix_hw, int blkaddr); 27 static void nix_ipolicer_freemem(struct rvu *rvu, struct nix_hw *nix_hw); 29 struct nix_hw *nix_hw, u16 pcifunc); 31 static void nix_clear_ratelimit_aggr(struct rvu *rvu, struct nix_hw *nix_hw, 154 struct nix_hw **nix_hw, int *blkaddr) in nix_get_struct_ptrs() argument 163 *nix_hw = get_nix_hw(rvu->hw, *blkaddr); in nix_get_struct_ptrs() 164 if (!*nix_hw) in nix_get_struct_ptrs() 203 struct nix_hw *get_nix_hw(struct rvu_hwinfo *hw, int blkaddr) in get_nix_hw() 298 struct nix_hw *nix_hw; in is_valid_txschq() local 301 nix_hw = get_nix_hw(rvu->hw, blkaddr); in is_valid_txschq() [all …]
|
| H A D | rvu_debugfs.c | 1446 struct nix_hw *nix_hw; in ndc_cache_stats() local 1453 nix_hw = s->private; in ndc_cache_stats() 1454 rvu = nix_hw->rvu; in ndc_cache_stats() 1499 struct nix_hw *nix_hw; in ndc_blk_hits_miss_stats() local 1507 nix_hw = s->private; in ndc_blk_hits_miss_stats() 1508 rvu = nix_hw->rvu; in ndc_blk_hits_miss_stats() 1527 struct nix_hw *nix_hw = filp->private; in rvu_dbg_nix_ndc_rx_cache_display() local 1531 blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ? in rvu_dbg_nix_ndc_rx_cache_display() 1533 ndc_idx = (nix_hw->blkaddr == BLKADDR_NIX1 ? NIX1_RX : NIX0_RX); in rvu_dbg_nix_ndc_rx_cache_display() 1542 struct nix_hw *nix_hw = filp->private; in rvu_dbg_nix_ndc_tx_cache_display() local [all …]
|
| H A D | rvu_switch.c | 14 struct nix_hw *nix_hw; in rvu_switch_enable_lbk_link() local 16 nix_hw = get_nix_hw(rvu->hw, pfvf->nix_blkaddr); in rvu_switch_enable_lbk_link() 19 &nix_hw->txsch[NIX_TXSCH_LVL_TL2], enable); in rvu_switch_enable_lbk_link()
|
| H A D | rvu.h | 395 struct nix_hw { struct 460 struct nix_hw *nix; 1008 int rvu_nix_reserve_mark_format(struct rvu *rvu, struct nix_hw *nix_hw, 1019 struct nix_hw *get_nix_hw(struct rvu_hwinfo *hw, int blkaddr); 1023 struct nix_hw **nix_hw, int *blkaddr); 1026 int nix_aq_context_read(struct rvu *rvu, struct nix_hw *nix_hw, 1149 void rvu_nix_block_cn10k_init(struct rvu *rvu, struct nix_hw *nix_hw);
|
| H A D | rvu_cn10k.c | 559 void rvu_nix_block_cn10k_init(struct rvu *rvu, struct nix_hw *nix_hw) in rvu_nix_block_cn10k_init() argument 561 int blkaddr = nix_hw->blkaddr; in rvu_nix_block_cn10k_init()
|
| H A D | rvu.c | 1958 struct nix_hw *nix_hw; in rvu_mbox_handler_free_rsrc_cnt() local 1999 nix_hw = get_nix_hw(hw, BLKADDR_NIX0); in rvu_mbox_handler_free_rsrc_cnt() 2000 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt() 2004 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt() 2008 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt() 2012 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2]; in rvu_mbox_handler_free_rsrc_cnt() 2019 nix_hw = get_nix_hw(hw, BLKADDR_NIX1); in rvu_mbox_handler_free_rsrc_cnt() 2020 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt() 2024 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt() 2028 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt() [all …]
|
| H A D | rvu_devlink.c | 1189 struct nix_hw *nix_hw; in rvu_af_dl_dwrr_mtu_validate() local 1204 nix_hw = get_nix_hw(rvu->hw, BLKADDR_NIX0); in rvu_af_dl_dwrr_mtu_validate() 1205 if (!nix_hw) in rvu_af_dl_dwrr_mtu_validate() 1208 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_af_dl_dwrr_mtu_validate()
|