Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmcs_rvu_if.c36 void rvu_mcs_ptp_cfg(struct rvu *rvu, u8 rpm_id, u8 lmac_id, bool ena) in rvu_mcs_ptp_cfg()
72 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
121 static int mcs_notify_pfvf(struct mcs_intr_event *event, struct rvu *rvu) in mcs_notify_pfvf()
153 struct rvu *rvu = container_of(work, struct rvu, mcs_intr_work); in mcs_intr_handler_task() local
177 int rvu_mbox_handler_mcs_intr_cfg(struct rvu *rvu, in rvu_mbox_handler_mcs_intr_cfg()
202 int rvu_mbox_handler_mcs_get_hw_info(struct rvu *rvu, in rvu_mbox_handler_mcs_get_hw_info()
221 int rvu_mbox_handler_mcs_port_reset(struct rvu *rvu, struct mcs_port_reset_req *req, in rvu_mbox_handler_mcs_port_reset()
236 int rvu_mbox_handler_mcs_clear_stats(struct rvu *rvu, in rvu_mbox_handler_mcs_clear_stats()
258 int rvu_mbox_handler_mcs_get_flowid_stats(struct rvu *rvu, in rvu_mbox_handler_mcs_get_flowid_stats()
[all …]
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()
408 void rvu_get_pf_numvfs(struct rvu *rvu, int pf, int *numvfs, int *hwvf) in rvu_get_pf_numvfs()
420 int rvu_get_hwvf(struct rvu *rvu, int pcifunc) in rvu_get_hwvf()
434 struct rvu_pfvf *rvu_get_pfvf(struct rvu *rvu, int pcifunc) in rvu_get_pfvf()
443 static bool is_pf_func_valid(struct rvu *rvu, u16 pcifunc) in is_pf_func_valid()
476 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.h58 struct rvu *rvu; member
88 struct rvu *rvu; member
114 struct rvu *rvu; member
367 struct rvu *rvu; member
431 struct rvu *rvu; member
521 struct rvu { struct
526 struct rvu_hwinfo *hw; argument
527 struct rvu_pfvf *pf; argument
528 struct rvu_pfvf *hwvf; argument
541 struct rvu_work *flr_wrk; argument
[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_nix.c91 int rvu_get_next_nix_blkaddr(struct rvu *rvu, int blkaddr) in rvu_get_next_nix_blkaddr()
108 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()
133 int nix_get_nixlf(struct rvu *rvu, u16 pcifunc, int *nixlf, int *nix_blkaddr) in nix_get_nixlf()
153 int nix_get_struct_ptrs(struct rvu *rvu, u16 pcifunc, in nix_get_struct_ptrs()
206 struct rvu *rvu = hw->rvu; in get_nix_hw() local
271 static void nix_rx_sync(struct rvu *rvu, int blkaddr) in nix_rx_sync()
293 static bool is_valid_txschq(struct rvu *rvu, int blkaddr, in is_valid_txschq()
330 static int nix_interface_init(struct rvu *rvu, u16 pcifunc, int type, int nixlf, in nix_interface_init()
481 static void nix_interface_deinit(struct rvu *rvu, u16 pcifunc, u8 nixlf) in nix_interface_deinit()
[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_cn10k.c20 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()
99 static int rvu_update_lmtaddr(struct rvu *rvu, u16 pcifunc, u64 lmt_addr) in rvu_update_lmtaddr()
134 int rvu_mbox_handler_lmtst_tbl_setup(struct rvu *rvu, in rvu_mbox_handler_lmtst_tbl_setup()
240 void rvu_reset_lmt_map_tbl(struct rvu *rvu, u16 pcifunc) in rvu_reset_lmt_map_tbl()
282 int rvu_set_channels_base(struct rvu *rvu) in rvu_set_channels_base()
353 static void __rvu_lbk_set_chans(struct rvu *rvu, void __iomem *base, in __rvu_lbk_set_chans()
369 static void rvu_lbk_set_channels(struct rvu *rvu) in rvu_lbk_set_channels()
437 static void __rvu_nix_set_channels(struct rvu *rvu, int blkaddr) in __rvu_nix_set_channels()
[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_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.c44 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 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()
620 int rvu_mbox_handler_ptp_op(struct rvu *rvu, struct ptp_req *req, in rvu_mbox_handler_ptp_op()
665 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