Home
last modified time | relevance | path

Searched refs:nix_hw (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c24 struct nix_hw *nix_hw, int blkaddr);
25 static void nix_ipolicer_freemem(struct rvu *rvu, struct nix_hw *nix_hw);
27 struct nix_hw *nix_hw, u16 pcifunc);
29 static void nix_clear_ratelimit_aggr(struct rvu *rvu, struct nix_hw *nix_hw,
143 struct nix_hw **nix_hw, int *blkaddr) in nix_get_struct_ptrs() argument
152 *nix_hw = get_nix_hw(rvu->hw, *blkaddr); in nix_get_struct_ptrs()
153 if (!*nix_hw) in nix_get_struct_ptrs()
177 struct nix_hw *get_nix_hw(struct rvu_hwinfo *hw, int blkaddr) in get_nix_hw()
260 struct nix_hw *nix_hw; in is_valid_txschq() local
263 nix_hw = get_nix_hw(rvu->hw, blkaddr); in is_valid_txschq()
[all …]
Drvu_debugfs.c954 struct nix_hw *nix_hw; in ndc_cache_stats() local
961 nix_hw = s->private; in ndc_cache_stats()
962 rvu = nix_hw->rvu; in ndc_cache_stats()
1007 struct nix_hw *nix_hw; in ndc_blk_hits_miss_stats() local
1014 nix_hw = s->private; in ndc_blk_hits_miss_stats()
1015 rvu = nix_hw->rvu; in ndc_blk_hits_miss_stats()
1033 struct nix_hw *nix_hw = filp->private; in rvu_dbg_nix_ndc_rx_cache_display() local
1037 blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ? in rvu_dbg_nix_ndc_rx_cache_display()
1039 ndc_idx = (nix_hw->blkaddr == BLKADDR_NIX1 ? NIX1_RX : NIX0_RX); in rvu_dbg_nix_ndc_rx_cache_display()
1048 struct nix_hw *nix_hw = filp->private; in rvu_dbg_nix_ndc_tx_cache_display() local
[all …]
Drvu.h307 struct nix_hw { struct
365 struct nix_hw *nix;
723 int rvu_nix_reserve_mark_format(struct rvu *rvu, struct nix_hw *nix_hw,
734 struct nix_hw *get_nix_hw(struct rvu_hwinfo *hw, int blkaddr);
738 struct nix_hw **nix_hw, int *blkaddr);
741 int nix_aq_context_read(struct rvu *rvu, struct nix_hw *nix_hw,
Drvu.c1817 struct nix_hw *nix_hw; in rvu_mbox_handler_free_rsrc_cnt() local
1858 nix_hw = get_nix_hw(hw, BLKADDR_NIX0); in rvu_mbox_handler_free_rsrc_cnt()
1859 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
1863 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()
1867 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt()
1871 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2]; in rvu_mbox_handler_free_rsrc_cnt()
1878 nix_hw = get_nix_hw(hw, BLKADDR_NIX1); in rvu_mbox_handler_free_rsrc_cnt()
1879 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt()
1883 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt()
1887 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt()
[all …]
Drvu_devlink.c1376 struct nix_hw *nix_hw; in rvu_af_dl_dwrr_mtu_validate() local
1391 nix_hw = get_nix_hw(rvu->hw, BLKADDR_NIX0); in rvu_af_dl_dwrr_mtu_validate()
1392 if (!nix_hw) in rvu_af_dl_dwrr_mtu_validate()
1395 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_af_dl_dwrr_mtu_validate()