Home
last modified time | relevance | path

Searched refs:mask_idx (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.h30 #define SET_KEX_LD_HASH_MASK(intf, ld, mask_idx, cfg) \ argument
32 NPC_AF_INTFX_HASHX_MASKX(intf, ld, mask_idx), cfg)
37 #define GET_KEX_LD_HASH_MASK(intf, ld, mask_idx) \ argument
38 rvu_read64(rvu, blkaddr, NPC_AF_INTFX_HASHX_MASKX(intf, ld, mask_idx))
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_flex_pipe.c1403 ice_write_prof_mask_reg(struct ice_hw *hw, enum ice_block blk, u16 mask_idx, in ice_write_prof_mask_reg() argument
1411 offset = GLQF_HMASK(mask_idx); in ice_write_prof_mask_reg()
1416 offset = GLQF_FDMASK(mask_idx); in ice_write_prof_mask_reg()
1506 u16 *mask_idx) in ice_alloc_prof_mask() argument
1557 *mask_idx = i; in ice_alloc_prof_mask()
1573 ice_free_prof_mask(struct ice_hw *hw, enum ice_block blk, u16 mask_idx) in ice_free_prof_mask() argument
1578 if (!(mask_idx >= hw->blk[blk].masks.first && in ice_free_prof_mask()
1579 mask_idx < hw->blk[blk].masks.first + hw->blk[blk].masks.count)) in ice_free_prof_mask()
1584 if (!hw->blk[blk].masks.masks[mask_idx].in_use) in ice_free_prof_mask()
1587 if (hw->blk[blk].masks.masks[mask_idx].ref > 1) { in ice_free_prof_mask()
[all …]