Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.c61 static void rvu_setup_hw_capabilities(struct rvu *rvu) in rvu_setup_hw_capabilities()
98 int rvu_poll_reg(struct rvu *rvu, u64 block, u64 offset, u64 mask, bool zero) in rvu_poll_reg()
225 int rvu_get_lf(struct rvu *rvu, struct rvu_block *block, u16 pcifunc, u16 slot) in rvu_get_lf()
253 int rvu_get_blkaddr(struct rvu *rvu, int blktype, u16 pcifunc) in rvu_get_blkaddr()
341 static void rvu_update_rsrc_map(struct rvu *rvu, struct rvu_pfvf *pfvf, in rvu_update_rsrc_map()
403 void rvu_get_pf_numvfs(struct rvu *rvu, int pf, int *numvfs, int *hwvf) in rvu_get_pf_numvfs()
415 int rvu_get_hwvf(struct rvu *rvu, int pcifunc) in rvu_get_hwvf()
429 struct rvu_pfvf *rvu_get_pfvf(struct rvu *rvu, int pcifunc) in rvu_get_pfvf()
438 static bool is_pf_func_valid(struct rvu *rvu, u16 pcifunc) in is_pf_func_valid()
471 static void rvu_check_block_implemented(struct rvu *rvu) in rvu_check_block_implemented()
[all …]
H A Drvu_cgx.c44 bool is_mac_feature_supported(struct rvu *rvu, int pf, int feature) in is_mac_feature_supported()
60 static u64 cgxlmac_to_pfmap(struct rvu *rvu, u8 cgx_id, u8 lmac_id) in cgxlmac_to_pfmap()
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()
108 static void rvu_map_cgx_nix_block(struct rvu *rvu, int pf, in rvu_map_cgx_nix_block()
121 static int rvu_map_cgx_lmac_pf(struct rvu *rvu) in rvu_map_cgx_lmac_pf()
181 static int rvu_cgx_send_link_info(int cgx_id, int lmac_id, struct rvu *rvu) in rvu_cgx_send_link_info()
215 struct rvu *rvu = data; in cgx_lmac_postevent() local
232 static void cgx_notify_pfs(struct cgx_link_event *event, struct rvu *rvu) in cgx_notify_pfs()
[all …]
H A Drvu_devlink.c29 static bool rvu_common_request_irq(struct rvu *rvu, int offset, in rvu_common_request_irq()
60 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
186 static void rvu_nix_unregister_interrupts(struct rvu *rvu) in rvu_nix_unregister_interrupts()
217 static int rvu_nix_register_interrupts(struct rvu *rvu) in rvu_nix_register_interrupts()
364 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_dump() local
377 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_intr_recover() local
395 struct rvu *rvu = devlink_health_reporter_priv(reporter); in rvu_hw_nix_gen_dump() local
[all …]
H A Drvu_cpt.c50 static u16 cpt_max_engines_get(struct rvu *rvu) in cpt_max_engines_get()
66 static int cpt_10k_flt_nvecs_get(struct rvu *rvu, u16 max_engs) in cpt_10k_flt_nvecs_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
220 static void cpt_unregister_interrupts(struct rvu *rvu, int blkaddr) in cpt_unregister_interrupts()
251 void rvu_cpt_unregister_interrupts(struct rvu *rvu) in rvu_cpt_unregister_interrupts()
260 struct rvu *rvu = block->rvu; in cpt_10k_register_interrupts() local
[all …]
H A Drvu.h88 struct rvu *rvu; member
118 struct rvu *rvu; member
144 struct rvu *rvu; member
397 struct rvu *rvu; member
461 struct rvu *rvu; member
483 struct rvu *rvu; member
568 struct rvu { struct
573 struct rvu_hwinfo *hw; argument
574 struct rvu_pfvf *pf; argument
575 struct rvu_pfvf *hwvf; argument
[all …]
H 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()
210 static int npa_lf_hwctx_disable(struct rvu *rvu, struct hwctx_disable_req *req) in npa_lf_hwctx_disable()
258 static int npa_lf_hwctx_lockdown(struct rvu *rvu, struct npa_aq_enq_req *req) in npa_lf_hwctx_lockdown()
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()
435 int rvu_mbox_handler_npa_lf_free(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_npa_lf_free()
[all …]
H 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
95 int rvu_mbox_handler_rep_event_notify(struct rvu *rvu, struct rep_event *req, in rvu_mbox_handler_rep_event_notify()
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()
275 static int rvu_rep_install_tx_rule(struct rvu *rvu, u16 pcifunc, u16 entry, in rvu_rep_install_tx_rule()
[all …]
H A Drvu_debugfs.c492 static void rvu_dbg_mcs_init(struct rvu *rvu) in rvu_dbg_mcs_init()
552 struct rvu *rvu = filp->private_data; in rvu_dbg_lmtst_map_table_display() local
678 static int get_max_column_width(struct rvu *rvu) in get_max_column_width()
717 struct rvu *rvu = filp->private_data; in rvu_dbg_rsrc_attach_status() local
820 struct rvu *rvu = filp->private; in rvu_dbg_rvu_pf_cgx_map_display() local
872 struct rvu *rvu = s->private; in rvu_dbg_rvu_fwdata_display() local
935 static bool rvu_dbg_is_valid_lf(struct rvu *rvu, int blkaddr, int lf, in rvu_dbg_is_valid_lf()
996 struct rvu *rvu; in rvu_dbg_qsize_display() local
1038 struct rvu *rvu = seqfile->private; in rvu_dbg_qsize_write() local
1102 struct rvu *rvu = m->private; in print_npa_aura_ctx() local
[all …]
H 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()
H 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()
H A Drvu_devlink.h72 struct rvu *rvu; member
H A Dmcs.h150 void *rvu; member
/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H 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()
232 int cn20k_rvu_get_mbox_regions(struct rvu *rvu, void **mbox_addr, in cn20k_rvu_get_mbox_regions()
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()
[all …]