Lines Matching defs:rvu

46 bool is_npc_interface_valid(struct rvu *rvu, u8 intf)  in is_npc_interface_valid()
53 int rvu_npc_get_tx_nibble_cfg(struct rvu *rvu, u64 nibble_ena) in rvu_npc_get_tx_nibble_cfg()
63 static int npc_mcam_verify_pf_func(struct rvu *rvu, in npc_mcam_verify_pf_func()
85 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind()
99 int rvu_npc_get_pkind(struct rvu *rvu, u16 pf) in rvu_npc_get_pkind()
115 int npc_config_ts_kpuaction(struct rvu *rvu, int pf, u16 pcifunc, bool enable) in npc_config_ts_kpuaction()
147 struct rvu *rvu = hw->rvu; in npc_get_ucast_mcam_index() local
204 bool is_mcam_entry_enabled(struct rvu *rvu, struct npc_mcam *mcam, in is_mcam_entry_enabled()
215 void npc_enable_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_enable_mcam_entry()
229 static void npc_clear_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_clear_mcam_entry()
385 static u64 npc_get_default_entry_action(struct rvu *rvu, struct npc_mcam *mcam, in npc_get_default_entry_action()
401 static void npc_fixup_vf_rule(struct rvu *rvu, struct npc_mcam *mcam, in npc_fixup_vf_rule()
433 static void npc_config_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_config_mcam_entry()
508 void npc_read_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_read_mcam_entry()
544 static void npc_copy_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_copy_mcam_entry()
584 static u64 npc_get_mcam_action(struct rvu *rvu, struct npc_mcam *mcam, in npc_get_mcam_action()
594 void rvu_npc_install_ucast_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_ucast_entry()
644 void rvu_npc_install_promisc_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_promisc_entry()
729 void rvu_npc_enable_promisc_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_enable_promisc_entry()
747 void rvu_npc_install_bcast_match_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_bcast_match_entry()
801 void rvu_npc_enable_bcast_entry(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_enable_bcast_entry()
819 void rvu_npc_install_allmulti_entry(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_install_allmulti_entry()
897 void rvu_npc_enable_allmulti_entry(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_enable_allmulti_entry()
915 static void npc_update_vf_flow_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_update_vf_flow_entry()
949 void rvu_npc_update_flowkey_alg_idx(struct rvu *rvu, u16 pcifunc, int nixlf, in rvu_npc_update_flowkey_alg_idx()
1020 void npc_enadis_default_mce_entry(struct rvu *rvu, u16 pcifunc, in npc_enadis_default_mce_entry()
1056 static void npc_enadis_default_entries(struct rvu *rvu, u16 pcifunc, in npc_enadis_default_entries()
1082 void rvu_npc_disable_default_entries(struct rvu *rvu, u16 pcifunc, int nixlf) in rvu_npc_disable_default_entries()
1093 void rvu_npc_enable_default_entries(struct rvu *rvu, u16 pcifunc, int nixlf) in rvu_npc_enable_default_entries()
1101 void rvu_npc_disable_mcam_entries(struct rvu *rvu, u16 pcifunc, int nixlf) in rvu_npc_disable_mcam_entries()
1138 void rvu_npc_free_mcam_entries(struct rvu *rvu, u16 pcifunc, int nixlf) in rvu_npc_free_mcam_entries()
1177 static void npc_program_mkex_rx(struct rvu *rvu, int blkaddr, in npc_program_mkex_rx()
1206 static void npc_program_mkex_tx(struct rvu *rvu, int blkaddr, in npc_program_mkex_tx()
1235 static void npc_program_mkex_profile(struct rvu *rvu, int blkaddr, in npc_program_mkex_profile()
1252 static int npc_fwdb_prfl_img_map(struct rvu *rvu, void __iomem **prfl_img_addr, in npc_fwdb_prfl_img_map()
1278 static void npc_load_mkex_profile(struct rvu *rvu, int blkaddr, in npc_load_mkex_profile()
1326 static void npc_config_kpuaction(struct rvu *rvu, int blkaddr, in npc_config_kpuaction()
1368 static void npc_config_kpucam(struct rvu *rvu, int blkaddr, in npc_config_kpucam()
1396 static void npc_program_kpu_profile(struct rvu *rvu, int blkaddr, int kpu, in npc_program_kpu_profile()
1455 static int npc_apply_custom_kpu(struct rvu *rvu, in npc_apply_custom_kpu()
1535 static int npc_load_kpu_prfl_img(struct rvu *rvu, void __iomem *prfl_addr, in npc_load_kpu_prfl_img()
1555 static int npc_fwdb_detect_load_prfl_img(struct rvu *rvu, uint64_t prfl_sz, in npc_fwdb_detect_load_prfl_img()
1593 static int npc_load_kpu_profile_fwdb(struct rvu *rvu, const char *kpu_profile) in npc_load_kpu_profile_fwdb()
1620 static void npc_load_kpu_profile(struct rvu *rvu) in npc_load_kpu_profile()
1697 static void npc_parser_profile_init(struct rvu *rvu, int blkaddr) in npc_parser_profile_init()
1732 static int npc_mcam_rsrcs_init(struct rvu *rvu, int blkaddr) in npc_mcam_rsrcs_init()
1856 static void rvu_npc_hw_init(struct rvu *rvu, int blkaddr) in rvu_npc_hw_init()
1901 static void rvu_npc_setup_interfaces(struct rvu *rvu, int blkaddr) in rvu_npc_setup_interfaces()
1969 int rvu_npc_init(struct rvu *rvu) in rvu_npc_init()
2052 void rvu_npc_freemem(struct rvu *rvu) in rvu_npc_freemem()
2066 void rvu_npc_get_mcam_entry_alloc_info(struct rvu *rvu, u16 pcifunc, in rvu_npc_get_mcam_entry_alloc_info()
2085 void rvu_npc_get_mcam_counter_alloc_info(struct rvu *rvu, u16 pcifunc, in rvu_npc_get_mcam_counter_alloc_info()
2137 static void npc_map_mcam_entry_and_cntr(struct rvu *rvu, struct npc_mcam *mcam, in npc_map_mcam_entry_and_cntr()
2153 static void npc_unmap_mcam_entry_and_cntr(struct rvu *rvu, in npc_unmap_mcam_entry_and_cntr()
2200 static void npc_mcam_free_all_entries(struct rvu *rvu, struct npc_mcam *mcam, in npc_mcam_free_all_entries()
2225 static void npc_mcam_free_all_counters(struct rvu *rvu, struct npc_mcam *mcam, in npc_mcam_free_all_counters()
2550 int rvu_mbox_handler_npc_mcam_alloc_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_alloc_entry()
2597 int rvu_mbox_handler_npc_mcam_free_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_free_entry()
2644 int rvu_mbox_handler_npc_mcam_read_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_read_entry()
2668 int rvu_mbox_handler_npc_mcam_write_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_write_entry()
2726 int rvu_mbox_handler_npc_mcam_ena_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_ena_entry()
2749 int rvu_mbox_handler_npc_mcam_dis_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_dis_entry()
2772 int rvu_mbox_handler_npc_mcam_shift_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_shift_entry()
2841 int rvu_mbox_handler_npc_mcam_alloc_counter(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_alloc_counter()
2905 int rvu_mbox_handler_npc_mcam_free_counter(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_free_counter()
2947 int rvu_mbox_handler_npc_mcam_unmap_counter(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_unmap_counter()
2994 int rvu_mbox_handler_npc_mcam_clear_counter(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_clear_counter()
3015 int rvu_mbox_handler_npc_mcam_counter_stats(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_counter_stats()
3038 int rvu_mbox_handler_npc_mcam_alloc_and_write_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_alloc_and_write_entry()
3136 int rvu_mbox_handler_npc_get_kex_cfg(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_npc_get_kex_cfg()
3169 npc_set_var_len_offset_pkind(struct rvu *rvu, u16 pcifunc, u64 pkind, in npc_set_var_len_offset_pkind()
3201 int rvu_npc_set_parse_mode(struct rvu *rvu, u16 pcifunc, u64 mode, u8 dir, in rvu_npc_set_parse_mode()
3256 int rvu_mbox_handler_npc_set_pkind(struct rvu *rvu, struct npc_set_pkind *req, in rvu_mbox_handler_npc_set_pkind()
3264 int rvu_mbox_handler_npc_read_base_steer_rule(struct rvu *rvu, in rvu_mbox_handler_npc_read_base_steer_rule()
3310 int rvu_mbox_handler_npc_mcam_entry_stats(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_entry_stats()