/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | mcs_rvu_if.c | 35 int rvu_mbox_handler_mcs_set_lmac_mode(struct rvu *rvu, in rvu_mbox_handler_mcs_set_lmac_mode() 56 struct rvu *rvu = mcs->rvu; in mcs_add_intr_wq_entry() local 135 int rvu_mbox_handler_mcs_intr_cfg(struct rvu *rvu, in rvu_mbox_handler_mcs_intr_cfg() 160 int rvu_mbox_handler_mcs_get_hw_info(struct rvu *rvu, in rvu_mbox_handler_mcs_get_hw_info() 194 int rvu_mbox_handler_mcs_clear_stats(struct rvu *rvu, in rvu_mbox_handler_mcs_clear_stats() 275 int rvu_mbox_handler_mcs_get_sc_stats(struct rvu *rvu, in rvu_mbox_handler_mcs_get_sc_stats() 299 int rvu_mbox_handler_mcs_get_sa_stats(struct rvu *rvu, in rvu_mbox_handler_mcs_get_sa_stats() 416 int rvu_mcs_flr_handler(struct rvu *rvu, u16 pcifunc) in rvu_mcs_flr_handler() 812 static void rvu_mcs_set_lmac_bmap(struct rvu *rvu) in rvu_mcs_set_lmac_bmap() 828 int rvu_mcs_init(struct rvu *rvu) in rvu_mcs_init() [all …]
|
A D | rvu.c | 716 static void rvu_reset_msix(struct rvu *rvu) in rvu_reset_msix() 2119 struct rvu *rvu = mwork->rvu; in __rvu_mbox_handler() local 2204 struct rvu *rvu = mwork->rvu; in __rvu_mbox_up_handler() local 2494 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_mbox_intr_handler() local 2625 struct rvu *rvu = flrwork->rvu; in rvu_flr_handler() local 2678 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_flr_intr_handler() local 2727 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_me_vf_intr_handler() local 2745 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_me_pf_intr_handler() local 3003 static int rvu_flr_init(struct rvu *rvu) in rvu_flr_init() 3184 struct rvu *rvu; in rvu_probe() local [all …]
|
A D | rvu_cgx.c | 65 int cgxlmac_to_pf(struct rvu *rvu, int cgx_id, int lmac_id) in cgxlmac_to_pf() 84 void *rvu_cgx_pdata(u8 cgx_id, struct rvu *rvu) in rvu_cgx_pdata() 93 void *rvu_first_cgx_pdata(struct rvu *rvu) in rvu_first_cgx_pdata() 121 static int rvu_map_cgx_lmac_pf(struct rvu *rvu) in rvu_map_cgx_lmac_pf() 213 struct rvu *rvu = data; in cgx_lmac_postevent() local 293 static int cgx_lmac_event_handler_init(struct rvu *rvu) in cgx_lmac_event_handler_init() 329 static void rvu_cgx_wq_destroy(struct rvu *rvu) in rvu_cgx_wq_destroy() 337 int rvu_cgx_init(struct rvu *rvu) in rvu_cgx_init() 392 int rvu_cgx_exit(struct rvu *rvu) in rvu_cgx_exit() 577 int rvu_mbox_handler_cgx_fec_stats(struct rvu *rvu, in rvu_mbox_handler_cgx_fec_stats() [all …]
|
A D | rvu_devlink.c | 70 struct rvu *rvu; in rvu_nix_af_rvu_intr_handler() local 105 struct rvu *rvu; in rvu_nix_af_rvu_gen_handler() local 140 struct rvu *rvu; in rvu_nix_af_rvu_err_handler() local 175 struct rvu *rvu; in rvu_nix_af_rvu_ras_handler() local 599 struct rvu *rvu = rvu_dl->rvu; in rvu_nix_register_reporters() local 660 struct rvu *rvu = rvu_dl->rvu; in rvu_nix_health_reporters_create() local 677 struct rvu *rvu = rvu_dl->rvu; in rvu_nix_health_reporters_destroy() local 714 struct rvu *rvu; in rvu_npa_af_rvu_intr_handler() local 749 struct rvu *rvu; in rvu_npa_af_gen_intr_handler() local 784 struct rvu *rvu; in rvu_npa_af_err_intr_handler() local [all …]
|
A D | rvu_cpt.c | 43 struct rvu *rvu = block->rvu; in cpt_af_flt_intr_handler() local 105 struct rvu *rvu = block->rvu; in rvu_cpt_af_rvu_intr_handler() local 119 struct rvu *rvu = block->rvu; in rvu_cpt_af_ras_intr_handler() local 134 struct rvu *rvu = block->rvu; in rvu_cpt_do_register_interrupt() local 151 struct rvu *rvu = block->rvu; in cpt_10k_unregister_interrupts() local 201 void rvu_cpt_unregister_interrupts(struct rvu *rvu) in rvu_cpt_unregister_interrupts() 209 struct rvu *rvu = block->rvu; in cpt_10k_register_interrupts() local 316 int rvu_cpt_register_interrupts(struct rvu *rvu) in rvu_cpt_register_interrupts() 327 static int get_cpt_pf_num(struct rvu *rvu) in get_cpt_pf_num() 384 int rvu_mbox_handler_cpt_lf_alloc(struct rvu *rvu, in rvu_mbox_handler_cpt_lf_alloc() [all …]
|
A D | rvu_nix.c | 99 bool is_nixlf_attached(struct rvu *rvu, u16 pcifunc) in is_nixlf_attached() 110 int rvu_get_nixlf_count(struct rvu *rvu) in rvu_get_nixlf_count() 144 int nix_get_struct_ptrs(struct rvu *rvu, u16 pcifunc, in nix_get_struct_ptrs() 182 struct rvu *rvu = hw->rvu; in get_nix_hw() local 1259 int rvu_mbox_handler_nix_aq_enq(struct rvu *rvu, in rvu_mbox_handler_nix_aq_enq() 1272 int rvu_mbox_handler_nix_aq_enq(struct rvu *rvu, in rvu_mbox_handler_nix_aq_enq() 2199 static int nix_txschq_free_one(struct rvu *rvu, in nix_txschq_free_one() 3835 static void nix_find_link_frs(struct rvu *rvu, in nix_find_link_frs() 4450 int rvu_nix_init(struct rvu *rvu) in rvu_nix_init() 4513 void rvu_nix_freemem(struct rvu *rvu) in rvu_nix_freemem() [all …]
|
A D | rvu.h | 55 struct rvu *rvu; member 84 struct rvu *rvu; member 110 struct rvu *rvu; member 320 struct rvu *rvu; member 455 struct rvu { struct 460 struct rvu_hwinfo *hw; argument 473 struct rvu_work *flr_wrk; argument 478 u16 num_vec; 505 struct rvu_fwdata *fwdata; argument 519 struct rvu_debugfs rvu_dbg; argument [all …]
|
A D | rvu_npc_hash.c | 197 void npc_config_secret_key(struct rvu *rvu, int blkaddr) in npc_config_secret_key() 216 void npc_program_mkex_hash(struct rvu *rvu, int blkaddr) in npc_program_mkex_hash() 231 void npc_update_field_hash(struct rvu *rvu, u8 intf, in npc_update_field_hash() 314 int rvu_mbox_handler_npc_get_secret_key(struct rvu *rvu, in rvu_mbox_handler_npc_get_secret_key() 679 u32 rvu_npc_exact_get_max_entries(struct rvu *rvu) in rvu_npc_exact_get_max_entries() 692 bool rvu_npc_exact_has_match_table(struct rvu *rvu) in rvu_npc_exact_has_match_table() 1556 int rvu_npc_exact_mac_addr_update(struct rvu *rvu, in rvu_npc_exact_mac_addr_update() 1638 int rvu_npc_exact_mac_addr_add(struct rvu *rvu, in rvu_npc_exact_mac_addr_add() 1674 int rvu_npc_exact_mac_addr_del(struct rvu *rvu, in rvu_npc_exact_mac_addr_del() 1784 void rvu_npc_exact_disable_feature(struct rvu *rvu) in rvu_npc_exact_disable_feature() [all …]
|
A D | rvu_npc.c | 47 bool is_npc_interface_valid(struct rvu *rvu, u8 intf) in is_npc_interface_valid() 54 int rvu_npc_get_tx_nibble_cfg(struct rvu *rvu, u64 nibble_ena) in rvu_npc_get_tx_nibble_cfg() 64 static int npc_mcam_verify_pf_func(struct rvu *rvu, in npc_mcam_verify_pf_func() 100 int rvu_npc_get_pkind(struct rvu *rvu, u16 pf) in rvu_npc_get_pkind() 148 struct rvu *rvu = hw->rvu; in npc_get_ucast_mcam_index() local 1523 static int npc_apply_custom_kpu(struct rvu *rvu, in npc_apply_custom_kpu() 1688 static void npc_load_kpu_profile(struct rvu *rvu) in npc_load_kpu_profile() 2037 int rvu_npc_init(struct rvu *rvu) in rvu_npc_init() 2121 void rvu_npc_freemem(struct rvu *rvu) in rvu_npc_freemem() 2803 int rvu_mbox_handler_npc_mcam_ena_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_ena_entry() [all …]
|
A D | rvu_npa.c | 15 static int npa_aq_enqueue_wait(struct rvu *rvu, struct rvu_block *block, in npa_aq_enqueue_wait() 61 int rvu_npa_aq_enq_inst(struct rvu *rvu, struct npa_aq_enq_req *req, in rvu_npa_aq_enq_inst() 281 int rvu_mbox_handler_npa_aq_enq(struct rvu *rvu, in rvu_mbox_handler_npa_aq_enq() 294 int rvu_mbox_handler_npa_aq_enq(struct rvu *rvu, in rvu_mbox_handler_npa_aq_enq() 302 int rvu_mbox_handler_npa_hwctx_disable(struct rvu *rvu, in rvu_mbox_handler_npa_hwctx_disable() 309 static void npa_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) in npa_ctx_free() 327 int rvu_mbox_handler_npa_lf_alloc(struct rvu *rvu, in rvu_mbox_handler_npa_lf_alloc() 467 static int npa_aq_init(struct rvu *rvu, struct rvu_block *block) in npa_aq_init() 514 int rvu_npa_init(struct rvu *rvu) in rvu_npa_init() 527 void rvu_npa_freemem(struct rvu *rvu) in rvu_npa_freemem() [all …]
|
A D | rvu_cn10k.c | 20 static int lmtst_map_table_ops(struct rvu *rvu, u32 index, u64 *val, in lmtst_map_table_ops() 53 static u32 rvu_get_lmtst_tbl_index(struct rvu *rvu, u16 pcifunc) in rvu_get_lmtst_tbl_index() 59 static int rvu_get_lmtaddr(struct rvu *rvu, u16 pcifunc, in rvu_get_lmtaddr() 131 int rvu_mbox_handler_lmtst_tbl_setup(struct rvu *rvu, in rvu_mbox_handler_lmtst_tbl_setup() 237 void rvu_reset_lmt_map_tbl(struct rvu *rvu, u16 pcifunc) in rvu_reset_lmt_map_tbl() 279 int rvu_set_channels_base(struct rvu *rvu) in rvu_set_channels_base() 366 static void rvu_lbk_set_channels(struct rvu *rvu) in rvu_lbk_set_channels() 434 static void __rvu_nix_set_channels(struct rvu *rvu, int blkaddr) in __rvu_nix_set_channels() 490 static void rvu_nix_set_channels(struct rvu *rvu) in rvu_nix_set_channels() 516 static void rvu_rpm_set_channels(struct rvu *rvu) in rvu_rpm_set_channels() [all …]
|
A D | rvu_npc_fs.c | 52 bool npc_is_feature_supported(struct rvu *rvu, u64 features, u8 intf) in npc_is_feature_supported() 190 static bool npc_check_overlap(struct rvu *rvu, int blkaddr, in npc_check_overlap() 572 static int npc_scan_kex(struct rvu *rvu, int blkaddr, u8 intf) in npc_scan_kex() 621 static int npc_scan_verify_kex(struct rvu *rvu, int blkaddr) in npc_scan_verify_kex() 652 int npc_flow_steering_init(struct rvu *rvu, int blkaddr) in npc_flow_steering_init() 693 void npc_update_entry(struct rvu *rvu, enum key_fields type, in npc_update_entry() 1250 int rvu_mbox_handler_npc_install_flow(struct rvu *rvu, in rvu_mbox_handler_npc_install_flow() 1400 int rvu_mbox_handler_npc_delete_flow(struct rvu *rvu, in rvu_mbox_handler_npc_delete_flow() 1474 void npc_mcam_enable_flows(struct rvu *rvu, u16 target) in npc_mcam_enable_flows() 1530 void npc_mcam_disable_flows(struct rvu *rvu, u16 target) in npc_mcam_disable_flows() [all …]
|
A D | rvu_switch.c | 11 static int rvu_switch_install_rx_rule(struct rvu *rvu, u16 pcifunc, in rvu_switch_install_rx_rule() 40 static int rvu_switch_install_tx_rule(struct rvu *rvu, u16 pcifunc, u16 entry) in rvu_switch_install_tx_rule() 70 static int rvu_switch_install_rules(struct rvu *rvu) in rvu_switch_install_rules() 143 void rvu_switch_enable(struct rvu *rvu) in rvu_switch_enable() 196 void rvu_switch_disable(struct rvu *rvu) in rvu_switch_disable() 241 void rvu_switch_update_rules(struct rvu *rvu, u16 pcifunc) in rvu_switch_update_rules()
|
A D | rvu_debugfs.c | 950 struct rvu *rvu; in rvu_dbg_qsize_display() local 1165 struct rvu *rvu; in rvu_dbg_npa_ctx_display() local 1393 struct rvu *rvu; in ndc_cache_stats() local 1446 struct rvu *rvu; in ndc_blk_hits_miss_stats() local 2397 struct rvu *rvu; in cgx_print_stats() local 2528 struct rvu *rvu; in cgx_print_dmac_flt() local 3161 struct rvu *rvu = ctx->rvu; in cpt_eng_sts_display() local 3226 struct rvu *rvu = ctx->rvu; in rvu_dbg_cpt_engines_info_display() local 3260 struct rvu *rvu = ctx->rvu; in rvu_dbg_cpt_lfs_info_display() local 3292 struct rvu *rvu = ctx->rvu; in rvu_dbg_cpt_err_info_display() local [all …]
|
A D | rvu_sdp.c | 49 int rvu_sdp_init(struct rvu *rvu) in rvu_sdp_init() 81 rvu_mbox_handler_set_sdp_chan_info(struct rvu *rvu, in rvu_mbox_handler_set_sdp_chan_info() 95 rvu_mbox_handler_get_sdp_chan_info(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_get_sdp_chan_info()
|
A D | rvu_devlink.h | 72 struct rvu *rvu; member
|
A D | ptp.c | 494 int rvu_mbox_handler_ptp_op(struct rvu *rvu, struct ptp_req *req, in rvu_mbox_handler_ptp_op()
|
A D | mcs.h | 158 void *rvu; member
|