Lines Matching defs:mcam
144 static int npc_get_ucast_mcam_index(struct npc_mcam *mcam, u16 pcifunc, in npc_get_ucast_mcam_index()
169 int npc_get_nixlf_mcam_index(struct npc_mcam *mcam, in npc_get_nixlf_mcam_index()
194 int npc_get_bank(struct npc_mcam *mcam, int index) in npc_get_bank()
205 bool is_mcam_entry_enabled(struct rvu *rvu, struct npc_mcam *mcam, in is_mcam_entry_enabled()
216 void npc_enable_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_enable_mcam_entry()
230 static void npc_clear_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_clear_mcam_entry()
386 static u64 npc_get_default_entry_action(struct rvu *rvu, struct npc_mcam *mcam, in npc_get_default_entry_action()
402 static void npc_fixup_vf_rule(struct rvu *rvu, struct npc_mcam *mcam, in npc_fixup_vf_rule()
441 static void npc_config_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_config_mcam_entry()
516 void npc_read_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_read_mcam_entry()
552 static void npc_copy_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_copy_mcam_entry()
592 static u64 npc_get_mcam_action(struct rvu *rvu, struct npc_mcam *mcam, in npc_get_mcam_action()
608 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_install_ucast_entry() local
663 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_install_promisc_entry() local
745 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_enable_promisc_entry() local
766 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_install_bcast_match_entry() local
825 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_enable_bcast_entry() local
845 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_install_allmulti_entry() local
929 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_enable_allmulti_entry() local
944 static void npc_update_vf_flow_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_update_vf_flow_entry()
990 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_update_flowkey_alg_idx() local
1061 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_enadis_default_mce_entry() local
1097 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_enadis_default_entries() local
1137 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_enable_mcam_by_entry_index() local
1176 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_disable_mcam_entries() local
1212 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_free_mcam_entries() local
1803 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_mcam_rsrcs_init() local
1926 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_hw_init() local
1971 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_setup_interfaces() local
2041 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_init() local
2124 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_freemem() local
2139 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_get_mcam_entry_alloc_info() local
2158 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_npc_get_mcam_counter_alloc_info() local
2173 static int npc_mcam_verify_entry(struct npc_mcam *mcam, in npc_mcam_verify_entry()
2191 static int npc_mcam_verify_counter(struct npc_mcam *mcam, in npc_mcam_verify_counter()
2206 static void npc_map_mcam_entry_and_cntr(struct rvu *rvu, struct npc_mcam *mcam, in npc_map_mcam_entry_and_cntr()
2223 struct npc_mcam *mcam, in npc_unmap_mcam_entry_and_cntr()
2241 static void npc_mcam_set_bit(struct npc_mcam *mcam, u16 index) in npc_mcam_set_bit()
2257 static void npc_mcam_clear_bit(struct npc_mcam *mcam, u16 index) in npc_mcam_clear_bit()
2269 static void npc_mcam_free_all_entries(struct rvu *rvu, struct npc_mcam *mcam, in npc_mcam_free_all_entries()
2294 static void npc_mcam_free_all_counters(struct rvu *rvu, struct npc_mcam *mcam, in npc_mcam_free_all_counters()
2373 npc_get_mcam_search_range_priority(struct npc_mcam *mcam, in npc_get_mcam_search_range_priority()
2432 static int npc_mcam_alloc_entries(struct npc_mcam *mcam, u16 pcifunc, in npc_mcam_alloc_entries()
2622 struct npc_mcam *mcam = &rvu->hw->mcam; in npc_mcam_rsrcs_reserve() local
2631 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_alloc_entry() local
2678 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_free_entry() local
2725 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_read_entry() local
2750 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_write_entry() local
2807 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_ena_entry() local
2830 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_dis_entry() local
2853 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_shift_entry() local
2922 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_alloc_counter() local
2985 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_free_counter() local
3027 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_unmap_counter() local
3074 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_clear_counter() local
3096 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_counter_stats() local
3124 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_alloc_and_write_entry() local
3345 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_read_base_steer_rule() local
3391 struct npc_mcam *mcam = &rvu->hw->mcam; in rvu_mbox_handler_npc_mcam_entry_stats() local