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_npc.c47 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 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind()
78 int rvu_npc_get_pkind(struct rvu *rvu, u16 pf) in rvu_npc_get_pkind()
94 int npc_config_ts_kpuaction(struct rvu *rvu, int pf, u16 pcifunc, bool enable) in npc_config_ts_kpuaction()
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
185 bool is_mcam_entry_enabled(struct rvu *rvu, struct npc_mcam *mcam, in is_mcam_entry_enabled()
196 void npc_enable_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_enable_mcam_entry()
210 static void npc_clear_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_clear_mcam_entry()
[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_npc_hash.c103 static u64 npc_update_use_hash(struct rvu *rvu, int blkaddr, in npc_update_use_hash()
122 static void npc_program_mkex_hash_rx(struct rvu *rvu, int blkaddr, in npc_program_mkex_hash_rx()
162 static void npc_program_mkex_hash_tx(struct rvu *rvu, int blkaddr, in npc_program_mkex_hash_tx()
200 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()
359 int rvu_mbox_handler_npc_get_field_hash_info(struct rvu *rvu, in rvu_mbox_handler_npc_get_field_hash_info()
426 static u32 rvu_exact_calculate_hash(struct rvu *rvu, u16 chan, u16 ctype, u8 *mac, in rvu_exact_calculate_hash()
465 static int rvu_npc_exact_alloc_mem_table_entry(struct rvu *rvu, u8 *way, in rvu_npc_exact_alloc_mem_table_entry()
502 static void rvu_npc_exact_free_id(struct rvu *rvu, u32 seq_id) in rvu_npc_exact_free_id()
[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_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()
113 static int rvu_update_lmtaddr(struct rvu *rvu, u16 pcifunc, u64 lmt_addr) in rvu_update_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()
367 static void __rvu_lbk_set_chans(struct rvu *rvu, void __iomem *base, in __rvu_lbk_set_chans()
383 static void rvu_lbk_set_channels(struct rvu *rvu) in rvu_lbk_set_channels()
451 static void __rvu_nix_set_channels(struct rvu *rvu, int blkaddr) in __rvu_nix_set_channels()
[all …]
H A Drvu_npc_fs.c60 bool npc_is_feature_supported(struct rvu *rvu, u64 features, u8 intf) in npc_is_feature_supported()
139 static bool npc_is_field_present(struct rvu *rvu, enum key_fields type, u8 intf) in npc_is_field_present()
198 static bool npc_check_overlap(struct rvu *rvu, int blkaddr, in npc_check_overlap()
247 static bool npc_check_field(struct rvu *rvu, int blkaddr, enum key_fields type, in npc_check_field()
328 static void npc_handle_multi_layer_fields(struct rvu *rvu, int blkaddr, u8 intf) in npc_handle_multi_layer_fields()
459 static void npc_scan_ldata(struct rvu *rvu, int blkaddr, u8 lid, in npc_scan_ldata()
560 static void npc_set_features(struct rvu *rvu, int blkaddr, u8 intf) in npc_set_features()
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()
[all …]
H 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()
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 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 …]