/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | rvu_cgx.c | 63 int cgxlmac_to_pf(struct rvu *rvu, int cgx_id, int lmac_id) in cgxlmac_to_pf() 81 void *rvu_cgx_pdata(u8 cgx_id, struct rvu *rvu) in rvu_cgx_pdata() 90 void *rvu_first_cgx_pdata(struct rvu *rvu) in rvu_first_cgx_pdata() 118 static int rvu_map_cgx_lmac_pf(struct rvu *rvu) in rvu_map_cgx_lmac_pf() 209 struct rvu *rvu = data; in cgx_lmac_postevent() local 288 static int cgx_lmac_event_handler_init(struct rvu *rvu) in cgx_lmac_event_handler_init() 324 static void rvu_cgx_wq_destroy(struct rvu *rvu) in rvu_cgx_wq_destroy() 332 int rvu_cgx_init(struct rvu *rvu) in rvu_cgx_init() 387 int rvu_cgx_exit(struct rvu *rvu) in rvu_cgx_exit() 551 int rvu_mbox_handler_cgx_fec_stats(struct rvu *rvu, in rvu_mbox_handler_cgx_fec_stats() [all …]
|
A D | rvu.c | 708 static void rvu_reset_msix(struct rvu *rvu) in rvu_reset_msix() 2090 struct rvu *rvu = mwork->rvu; in __rvu_mbox_handler() local 2175 struct rvu *rvu = mwork->rvu; in __rvu_mbox_up_handler() local 2465 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_mbox_intr_handler() local 2587 struct rvu *rvu = flrwork->rvu; in rvu_flr_handler() local 2640 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_flr_intr_handler() local 2689 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_me_vf_intr_handler() local 2707 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_me_pf_intr_handler() local 2965 static int rvu_flr_init(struct rvu *rvu) in rvu_flr_init() 3146 struct rvu *rvu; in rvu_probe() local [all …]
|
A D | rvu_devlink.c | 69 struct rvu *rvu; in rvu_nix_af_rvu_intr_handler() local 104 struct rvu *rvu; in rvu_nix_af_rvu_gen_handler() local 139 struct rvu *rvu; in rvu_nix_af_rvu_err_handler() local 174 struct rvu *rvu; in rvu_nix_af_rvu_ras_handler() local 598 struct rvu *rvu = rvu_dl->rvu; in rvu_nix_register_reporters() local 659 struct rvu *rvu = rvu_dl->rvu; in rvu_nix_health_reporters_create() local 676 struct rvu *rvu = rvu_dl->rvu; in rvu_nix_health_reporters_destroy() local 713 struct rvu *rvu; in rvu_npa_af_rvu_intr_handler() local 748 struct rvu *rvu; in rvu_npa_af_gen_intr_handler() local 783 struct rvu *rvu; in rvu_npa_af_err_intr_handler() local [all …]
|
A D | rvu_cpt.c | 43 struct rvu *rvu = block->rvu; in rvu_cpt_af_flt_intr_handler() local 71 struct rvu *rvu = block->rvu; in rvu_cpt_af_rvu_intr_handler() local 85 struct rvu *rvu = block->rvu; in rvu_cpt_af_ras_intr_handler() local 100 struct rvu *rvu = block->rvu; in rvu_cpt_do_register_interrupt() local 117 struct rvu *rvu = block->rvu; in cpt_10k_unregister_interrupts() local 165 void rvu_cpt_unregister_interrupts(struct rvu *rvu) in rvu_cpt_unregister_interrupts() 173 struct rvu *rvu = block->rvu; in cpt_10k_register_interrupts() local 259 int rvu_cpt_register_interrupts(struct rvu *rvu) in rvu_cpt_register_interrupts() 270 static int get_cpt_pf_num(struct rvu *rvu) in get_cpt_pf_num() 292 static bool is_cpt_pf(struct rvu *rvu, u16 pcifunc) in is_cpt_pf() [all …]
|
A D | rvu_nix.c | 98 bool is_nixlf_attached(struct rvu *rvu, u16 pcifunc) in is_nixlf_attached() 109 int rvu_get_nixlf_count(struct rvu *rvu) in rvu_get_nixlf_count() 143 int nix_get_struct_ptrs(struct rvu *rvu, u16 pcifunc, in nix_get_struct_ptrs() 181 struct rvu *rvu = hw->rvu; in get_nix_hw() local 1252 int rvu_mbox_handler_nix_aq_enq(struct rvu *rvu, in rvu_mbox_handler_nix_aq_enq() 1265 int rvu_mbox_handler_nix_aq_enq(struct rvu *rvu, in rvu_mbox_handler_nix_aq_enq() 2185 static int nix_txschq_free_one(struct rvu *rvu, in nix_txschq_free_one() 3811 static void nix_find_link_frs(struct rvu *rvu, in nix_find_link_frs() 4399 int rvu_nix_init(struct rvu *rvu) in rvu_nix_init() 4462 void rvu_nix_freemem(struct rvu *rvu) in rvu_nix_freemem() [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() 52 int rvu_npa_aq_enq_inst(struct rvu *rvu, struct npa_aq_enq_req *req, in rvu_npa_aq_enq_inst() 272 int rvu_mbox_handler_npa_aq_enq(struct rvu *rvu, in rvu_mbox_handler_npa_aq_enq() 285 int rvu_mbox_handler_npa_aq_enq(struct rvu *rvu, in rvu_mbox_handler_npa_aq_enq() 293 int rvu_mbox_handler_npa_hwctx_disable(struct rvu *rvu, in rvu_mbox_handler_npa_hwctx_disable() 300 static void npa_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) in npa_ctx_free() 318 int rvu_mbox_handler_npa_lf_alloc(struct rvu *rvu, in rvu_mbox_handler_npa_lf_alloc() 458 static int npa_aq_init(struct rvu *rvu, struct rvu_block *block) in npa_aq_init() 505 int rvu_npa_init(struct rvu *rvu) in rvu_npa_init() 518 void rvu_npa_freemem(struct rvu *rvu) in rvu_npa_freemem() [all …]
|
A D | rvu_npc.c | 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() 99 int rvu_npc_get_pkind(struct rvu *rvu, u16 pf) in rvu_npc_get_pkind() 147 struct rvu *rvu = hw->rvu; in npc_get_ucast_mcam_index() local 1455 static int npc_apply_custom_kpu(struct rvu *rvu, in npc_apply_custom_kpu() 1620 static void npc_load_kpu_profile(struct rvu *rvu) in npc_load_kpu_profile() 1969 int rvu_npc_init(struct rvu *rvu) in rvu_npc_init() 2052 void rvu_npc_freemem(struct rvu *rvu) in rvu_npc_freemem() 2726 int rvu_mbox_handler_npc_mcam_ena_entry(struct rvu *rvu, in rvu_mbox_handler_npc_mcam_ena_entry() [all …]
|
A D | rvu.h | 53 struct rvu *rvu; member 78 struct rvu *rvu; member 104 struct rvu *rvu; member 312 struct rvu *rvu; member 369 struct rvu *rvu; member 437 struct rvu { struct 442 struct rvu_hwinfo *hw; argument 454 struct rvu_work *flr_wrk; argument 459 u16 num_vec; 486 struct rvu_fwdata *fwdata; argument [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 | 172 static bool npc_check_overlap(struct rvu *rvu, int blkaddr, in npc_check_overlap() 388 static void npc_scan_ldata(struct rvu *rvu, int blkaddr, u8 lid, in npc_scan_ldata() 453 static void npc_set_features(struct rvu *rvu, int blkaddr, u8 intf) in npc_set_features() 508 static int npc_scan_kex(struct rvu *rvu, int blkaddr, u8 intf) in npc_scan_kex() 545 static int npc_scan_verify_kex(struct rvu *rvu, int blkaddr) in npc_scan_verify_kex() 586 int npc_flow_steering_init(struct rvu *rvu, int blkaddr) in npc_flow_steering_init() 1154 int rvu_mbox_handler_npc_install_flow(struct rvu *rvu, in rvu_mbox_handler_npc_install_flow() 1275 int rvu_mbox_handler_npc_delete_flow(struct rvu *rvu, in rvu_mbox_handler_npc_delete_flow() 1318 static int npc_update_dmac_value(struct rvu *rvu, int npcblkaddr, in npc_update_dmac_value() 1349 void npc_mcam_enable_flows(struct rvu *rvu, u16 target) in npc_mcam_enable_flows() [all …]
|
A D | rvu_debugfs.c | 605 struct rvu *rvu; in rvu_dbg_qsize_display() local 820 struct rvu *rvu; in rvu_dbg_npa_ctx_display() local 1048 struct rvu *rvu; in ndc_cache_stats() local 1101 struct rvu *rvu; in ndc_blk_hits_miss_stats() local 2048 struct rvu *rvu; in cgx_print_stats() local 2179 struct rvu *rvu; in cgx_print_dmac_flt() local 2619 struct rvu *rvu = ctx->rvu; in cpt_eng_sts_display() local 2684 struct rvu *rvu = ctx->rvu; in rvu_dbg_cpt_engines_info_display() local 2718 struct rvu *rvu = ctx->rvu; in rvu_dbg_cpt_lfs_info_display() local 2750 struct rvu *rvu = ctx->rvu; in rvu_dbg_cpt_err_info_display() local [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_sdp.c | 49 int rvu_sdp_init(struct rvu *rvu) in rvu_sdp_init() 78 rvu_mbox_handler_set_sdp_chan_info(struct rvu *rvu, in rvu_mbox_handler_set_sdp_chan_info() 92 rvu_mbox_handler_get_sdp_chan_info(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_get_sdp_chan_info()
|
A D | ptp.c | 278 int rvu_mbox_handler_ptp_op(struct rvu *rvu, struct ptp_req *req, in rvu_mbox_handler_ptp_op()
|
A D | rvu_devlink.h | 72 struct rvu *rvu; member
|