Home
last modified time | relevance | path

Searched defs:rvu (Results 1 – 20 of 20) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/af/
A Dmcs_rvu_if.c72 int rvu_mbox_handler_mcs_set_lmac_mode(struct rvu *rvu, in rvu_mbox_handler_mcs_set_lmac_mode()
93 struct rvu *rvu = mcs->rvu; in mcs_add_intr_wq_entry() local
179 int rvu_mbox_handler_mcs_intr_cfg(struct rvu *rvu, in rvu_mbox_handler_mcs_intr_cfg()
204 int rvu_mbox_handler_mcs_get_hw_info(struct rvu *rvu, in rvu_mbox_handler_mcs_get_hw_info()
238 int rvu_mbox_handler_mcs_clear_stats(struct rvu *rvu, in rvu_mbox_handler_mcs_clear_stats()
319 int rvu_mbox_handler_mcs_get_sc_stats(struct rvu *rvu, in rvu_mbox_handler_mcs_get_sc_stats()
343 int rvu_mbox_handler_mcs_get_sa_stats(struct rvu *rvu, in rvu_mbox_handler_mcs_get_sa_stats()
460 int rvu_mcs_flr_handler(struct rvu *rvu, u16 pcifunc) in rvu_mcs_flr_handler()
856 static void rvu_mcs_set_lmac_bmap(struct rvu *rvu) in rvu_mcs_set_lmac_bmap()
872 int rvu_mcs_init(struct rvu *rvu) in rvu_mcs_init()
[all …]
A Drvu.c711 static void rvu_reset_msix(struct rvu *rvu) in rvu_reset_msix()
2196 struct rvu *rvu = mwork->rvu; in __rvu_mbox_handler() local
2287 struct rvu *rvu = mwork->rvu; in rvu_afpf_mbox_handler() local
2303 struct rvu *rvu = mwork->rvu; in __rvu_mbox_up_handler() local
2663 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_mbox_pf_intr_handler() local
2682 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_mbox_intr_handler() local
2821 struct rvu *rvu = flrwork->rvu; in rvu_flr_handler() local
2874 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_flr_intr_handler() local
2923 struct rvu *rvu = (struct rvu *)rvu_irq; in rvu_me_vf_intr_handler() local
3224 static int rvu_flr_init(struct rvu *rvu) in rvu_flr_init()
[all …]
A Drvu_cgx.c84 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()
215 struct rvu *rvu = data; in cgx_lmac_postevent() local
344 static void rvu_cgx_wq_destroy(struct rvu *rvu) in rvu_cgx_wq_destroy()
352 int rvu_cgx_init(struct rvu *rvu) in rvu_cgx_init()
400 void cgx_start_linkup(struct rvu *rvu) in cgx_start_linkup()
431 int rvu_cgx_exit(struct rvu *rvu) in rvu_cgx_exit()
662 int rvu_mbox_handler_cgx_fec_stats(struct rvu *rvu, in rvu_mbox_handler_cgx_fec_stats()
945 u32 rvu_cgx_get_fifolen(struct rvu *rvu) in rvu_cgx_get_fifolen()
[all …]
A Drvu_devlink.c60 struct rvu *rvu; in rvu_nix_af_rvu_intr_handler() local
95 struct rvu *rvu; in rvu_nix_af_rvu_gen_handler() local
130 struct rvu *rvu; in rvu_nix_af_rvu_err_handler() local
165 struct rvu *rvu; in rvu_nix_af_rvu_ras_handler() local
495 struct rvu *rvu = rvu_dl->rvu; in rvu_nix_register_reporters() local
553 struct rvu *rvu = rvu_dl->rvu; in rvu_nix_health_reporters_create() local
570 struct rvu *rvu = rvu_dl->rvu; in rvu_nix_health_reporters_destroy() local
607 struct rvu *rvu; in rvu_npa_af_rvu_intr_handler() local
642 struct rvu *rvu; in rvu_npa_af_gen_intr_handler() local
677 struct rvu *rvu; in rvu_npa_af_err_intr_handler() local
[all …]
A Drvu_npc.c47 bool is_npc_interface_valid(struct rvu *rvu, u8 intf) in is_npc_interface_valid()
78 int rvu_npc_get_pkind(struct rvu *rvu, u16 pf) in rvu_npc_get_pkind()
126 struct rvu *rvu = hw->rvu; in npc_get_ucast_mcam_index() local
151 struct rvu *rvu = hw->rvu; in npc_get_nixlf_mcam_index() local
1542 static int npc_apply_custom_kpu(struct rvu *rvu, in npc_apply_custom_kpu()
1707 static void npc_load_kpu_profile(struct rvu *rvu) in npc_load_kpu_profile()
1819 void npc_mcam_rsrcs_deinit(struct rvu *rvu) in npc_mcam_rsrcs_deinit()
2081 int rvu_npc_init(struct rvu *rvu) in rvu_npc_init()
2165 void rvu_npc_freemem(struct rvu *rvu) in rvu_npc_freemem()
3009 static int __npc_mcam_alloc_counter(struct rvu *rvu, in __npc_mcam_alloc_counter()
[all …]
A Drvu_nix.c108 bool is_nixlf_attached(struct rvu *rvu, u16 pcifunc) in is_nixlf_attached()
119 int rvu_get_nixlf_count(struct rvu *rvu) in rvu_get_nixlf_count()
206 struct rvu *rvu = hw->rvu; in get_nix_hw() local
581 static int nix_bp_disable(struct rvu *rvu, in nix_bp_disable()
727 static int nix_bp_enable(struct rvu *rvu, in nix_bp_enable()
1456 int rvu_mbox_handler_nix_aq_enq(struct rvu *rvu, in rvu_mbox_handler_nix_aq_enq()
1469 int rvu_mbox_handler_nix_aq_enq(struct rvu *rvu, in rvu_mbox_handler_nix_aq_enq()
2608 static int nix_txschq_free_one(struct rvu *rvu, in nix_txschq_free_one()
4558 static void nix_find_link_frs(struct rvu *rvu, in nix_find_link_frs()
5090 int rvu_nix_init(struct rvu *rvu) in rvu_nix_init()
[all …]
A Drvu.h88 struct rvu *rvu; member
118 struct rvu *rvu; member
144 struct rvu *rvu; member
397 struct rvu *rvu; member
568 struct rvu { struct
573 struct rvu_hwinfo *hw; argument
588 struct rvu_work *flr_wrk; argument
593 u16 num_vec;
620 struct rvu_fwdata *fwdata; argument
634 struct rvu_debugfs rvu_dbg; argument
[all …]
A Drvu_cpt.c50 static u16 cpt_max_engines_get(struct rvu *rvu) in cpt_max_engines_get()
84 struct rvu *rvu = block->rvu; in cpt_af_flt_intr_handler() local
146 struct rvu *rvu = block->rvu; in rvu_cpt_af_rvu_intr_handler() local
160 struct rvu *rvu = block->rvu; in rvu_cpt_af_ras_intr_handler() local
175 struct rvu *rvu = block->rvu; in rvu_cpt_do_register_interrupt() local
192 struct rvu *rvu = block->rvu; in cpt_10k_unregister_interrupts() local
260 struct rvu *rvu = block->rvu; in cpt_10k_register_interrupts() local
376 int rvu_cpt_register_interrupts(struct rvu *rvu) in rvu_cpt_register_interrupts()
387 static int get_cpt_pf_num(struct rvu *rvu) in get_cpt_pf_num()
444 int rvu_mbox_handler_cpt_lf_alloc(struct rvu *rvu, in rvu_mbox_handler_cpt_lf_alloc()
[all …]
A Drvu_npc_hash.c200 void npc_config_secret_key(struct rvu *rvu, int blkaddr) in npc_config_secret_key()
219 void npc_program_mkex_hash(struct rvu *rvu, int blkaddr) in npc_program_mkex_hash()
275 void npc_update_field_hash(struct rvu *rvu, u8 intf, in npc_update_field_hash()
721 u32 rvu_npc_exact_get_max_entries(struct rvu *rvu) in rvu_npc_exact_get_max_entries()
734 bool rvu_npc_exact_has_match_table(struct rvu *rvu) in rvu_npc_exact_has_match_table()
1592 int rvu_npc_exact_mac_addr_update(struct rvu *rvu, in rvu_npc_exact_mac_addr_update()
1674 int rvu_npc_exact_mac_addr_add(struct rvu *rvu, in rvu_npc_exact_mac_addr_add()
1710 int rvu_npc_exact_mac_addr_del(struct rvu *rvu, in rvu_npc_exact_mac_addr_del()
1820 void rvu_npc_exact_disable_feature(struct rvu *rvu) in rvu_npc_exact_disable_feature()
1830 void rvu_npc_exact_reset(struct rvu *rvu, u16 pcifunc) in rvu_npc_exact_reset()
[all …]
A Drvu_npa.c15 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 Drvu_rep.c36 static int rvu_rep_up_notify(struct rvu *rvu, struct rep_event *event) in rvu_rep_up_notify()
71 struct rvu *rvu = container_of(work, struct rvu, rep_evt_work); in rvu_rep_wq_handler() local
112 int rvu_rep_notify_pfvf_state(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_rep_notify_pfvf_state()
147 int rvu_mbox_handler_nix_lf_stats(struct rvu *rvu, in rvu_mbox_handler_nix_lf_stats()
184 static u16 rvu_rep_get_vlan_id(struct rvu *rvu, u16 pcifunc) in rvu_rep_get_vlan_id()
194 static int rvu_rep_tx_vlan_cfg(struct rvu *rvu, u16 pcifunc, in rvu_rep_tx_vlan_cfg()
218 static int rvu_rep_rx_vlan_cfg(struct rvu *rvu, u16 pcifunc) in rvu_rep_rx_vlan_cfg()
234 static int rvu_rep_install_rx_rule(struct rvu *rvu, u16 pcifunc, in rvu_rep_install_rx_rule()
314 int rvu_rep_install_mcam_rules(struct rvu *rvu) in rvu_rep_install_mcam_rules()
387 void rvu_rep_update_rules(struct rvu *rvu, u16 pcifunc, bool ena) in rvu_rep_update_rules()
[all …]
A Drvu_cn10k.c23 static int lmtst_map_table_ops(struct rvu *rvu, u32 index, u64 *val, in lmtst_map_table_ops()
67 static u32 rvu_get_lmtst_tbl_index(struct rvu *rvu, u16 pcifunc) in rvu_get_lmtst_tbl_index()
73 static int rvu_get_lmtaddr(struct rvu *rvu, u16 pcifunc, in rvu_get_lmtaddr()
148 int rvu_mbox_handler_lmtst_tbl_setup(struct rvu *rvu, in rvu_mbox_handler_lmtst_tbl_setup()
254 void rvu_reset_lmt_map_tbl(struct rvu *rvu, u16 pcifunc) in rvu_reset_lmt_map_tbl()
296 int rvu_set_channels_base(struct rvu *rvu) in rvu_set_channels_base()
383 static void rvu_lbk_set_channels(struct rvu *rvu) in rvu_lbk_set_channels()
507 static void rvu_nix_set_channels(struct rvu *rvu) in rvu_nix_set_channels()
533 static void rvu_rpm_set_channels(struct rvu *rvu) in rvu_rpm_set_channels()
547 void rvu_program_channels(struct rvu *rvu) in rvu_program_channels()
[all …]
A Drvu_npc_fs.c198 static bool npc_check_overlap(struct rvu *rvu, int blkaddr, in npc_check_overlap()
459 static void npc_scan_ldata(struct rvu *rvu, int blkaddr, u8 lid, in npc_scan_ldata()
633 static int npc_scan_kex(struct rvu *rvu, int blkaddr, u8 intf) in npc_scan_kex()
681 static int npc_scan_verify_kex(struct rvu *rvu, int blkaddr) in npc_scan_verify_kex()
712 int npc_flow_steering_init(struct rvu *rvu, int blkaddr) in npc_flow_steering_init()
753 void npc_update_entry(struct rvu *rvu, enum key_fields type, in npc_update_entry()
1396 int rvu_mbox_handler_npc_install_flow(struct rvu *rvu, in rvu_mbox_handler_npc_install_flow()
1552 int rvu_mbox_handler_npc_delete_flow(struct rvu *rvu, in rvu_mbox_handler_npc_delete_flow()
1631 void npc_mcam_enable_flows(struct rvu *rvu, u16 target) in npc_mcam_enable_flows()
1687 void npc_mcam_disable_flows(struct rvu *rvu, u16 target) in npc_mcam_disable_flows()
[all …]
A Drvu_debugfs.c996 struct rvu *rvu; in rvu_dbg_qsize_display() local
1202 struct rvu *rvu; in rvu_dbg_npa_ctx_display() local
1435 struct rvu *rvu; in ndc_cache_stats() local
1488 struct rvu *rvu; in ndc_blk_hits_miss_stats() local
2821 struct rvu *rvu; in cgx_print_stats() local
2938 struct rvu *rvu; in cgx_print_dmac_flt() local
2996 struct rvu *rvu; in cgx_print_fwdata() local
3733 struct rvu *rvu = ctx->rvu; in cpt_eng_sts_display() local
3798 struct rvu *rvu = ctx->rvu; in rvu_dbg_cpt_engines_info_display() local
3832 struct rvu *rvu = ctx->rvu; in rvu_dbg_cpt_lfs_info_display() local
[all …]
A Drvu_sdp.c20 bool is_sdp_pfvf(struct rvu *rvu, u16 pcifunc) in is_sdp_pfvf()
37 bool is_sdp_pf(struct rvu *rvu, u16 pcifunc) in is_sdp_pf()
44 bool is_sdp_vf(struct rvu *rvu, u16 pcifunc) in is_sdp_vf()
53 int rvu_sdp_init(struct rvu *rvu) in rvu_sdp_init()
93 rvu_mbox_handler_set_sdp_chan_info(struct rvu *rvu, in rvu_mbox_handler_set_sdp_chan_info()
107 rvu_mbox_handler_get_sdp_chan_info(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_get_sdp_chan_info()
A Drvu_switch.c11 void rvu_switch_enable_lbk_link(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_switch_enable_lbk_link()
22 static int rvu_switch_install_rx_rule(struct rvu *rvu, u16 pcifunc, in rvu_switch_install_rx_rule()
51 static int rvu_switch_install_tx_rule(struct rvu *rvu, u16 pcifunc, u16 entry) in rvu_switch_install_tx_rule()
83 static int rvu_switch_install_rules(struct rvu *rvu) in rvu_switch_install_rules()
156 void rvu_switch_enable(struct rvu *rvu) in rvu_switch_enable()
217 void rvu_switch_disable(struct rvu *rvu) in rvu_switch_disable()
272 void rvu_switch_update_rules(struct rvu *rvu, u16 pcifunc, bool ena) in rvu_switch_update_rules()
A Dptp.c99 static bool is_tstmp_atomic_update_supported(struct rvu *rvu) in is_tstmp_atomic_update_supported()
367 void ptp_start(struct rvu *rvu, u64 sclk, u32 ext_clk_freq, u32 extts) in ptp_start()
619 int rvu_mbox_handler_ptp_op(struct rvu *rvu, struct ptp_req *req, in rvu_mbox_handler_ptp_op()
664 int rvu_mbox_handler_ptp_get_cap(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_ptp_get_cap()
A Drvu_devlink.h72 struct rvu *rvu; member
A Dmcs.h150 void *rvu; member
/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
A Dmbox_init.c19 struct rvu *rvu = rvu_irq_data->rvu; in cn20k_afvf_mbox_intr_handler() local
38 int cn20k_register_afvf_mbox_intr(struct rvu *rvu, int pf_vec_start) in cn20k_register_afvf_mbox_intr()
105 struct rvu *rvu = rvu_irq_data->rvu; in cn20k_mbox_pf_common_intr_handler() local
125 void cn20k_rvu_enable_mbox_intr(struct rvu *rvu) in cn20k_rvu_enable_mbox_intr()
156 void cn20k_rvu_unregister_interrupts(struct rvu *rvu) in cn20k_rvu_unregister_interrupts()
171 int cn20k_register_afpf_mbox_intr(struct rvu *rvu) in cn20k_register_afpf_mbox_intr()
268 static int rvu_alloc_mbox_memory(struct rvu *rvu, int type, in rvu_alloc_mbox_memory()
318 int cn20k_rvu_mbox_init(struct rvu *rvu, int type, int ndevs) in cn20k_rvu_mbox_init()
338 void cn20k_free_mbox_memory(struct rvu *rvu) in cn20k_free_mbox_memory()
347 void cn20k_rvu_disable_afvf_intr(struct rvu *rvu, int vfs) in cn20k_rvu_disable_afvf_intr()
[all …]

Completed in 69 milliseconds