Searched refs:nix_hw (Results 1 – 4 of 4) 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.h | 365 struct nix_hw { struct 430 struct nix_hw *nix; 922 int rvu_nix_reserve_mark_format(struct rvu *rvu, struct nix_hw *nix_hw, 933 struct nix_hw *get_nix_hw(struct rvu_hwinfo *hw, int blkaddr); 937 struct nix_hw **nix_hw, int *blkaddr); 940 int nix_aq_context_read(struct rvu *rvu, struct nix_hw *nix_hw, 1058 void rvu_nix_block_cn10k_init(struct rvu *rvu, struct nix_hw *nix_hw);
|
H A D | rvu_cn10k.c | 545 void rvu_nix_block_cn10k_init(struct rvu *rvu, struct nix_hw *nix_hw) in rvu_nix_block_cn10k_init() argument 547 int blkaddr = nix_hw->blkaddr; in rvu_nix_block_cn10k_init()
|
H A D | rvu.c | 1911 struct nix_hw *nix_hw; in rvu_mbox_handler_free_rsrc_cnt() local 1952 nix_hw = get_nix_hw(hw, BLKADDR_NIX0); in rvu_mbox_handler_free_rsrc_cnt() 1953 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt() 1957 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt() 1961 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt() 1965 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL2]; in rvu_mbox_handler_free_rsrc_cnt() 1972 nix_hw = get_nix_hw(hw, BLKADDR_NIX1); in rvu_mbox_handler_free_rsrc_cnt() 1973 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_SMQ]; in rvu_mbox_handler_free_rsrc_cnt() 1977 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL4]; in rvu_mbox_handler_free_rsrc_cnt() 1981 txsch = &nix_hw->txsch[NIX_TXSCH_LVL_TL3]; in rvu_mbox_handler_free_rsrc_cnt() [all …]
|