Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cgx.c46 static u16 cgxlmac_to_pfmap(struct rvu *rvu, u8 cgx_id, u8 lmac_id) in cgxlmac_to_pfmap()
51 static int cgxlmac_to_pf(struct rvu *rvu, int cgx_id, int lmac_id) in cgxlmac_to_pf()
69 void *rvu_cgx_pdata(u8 cgx_id, struct rvu *rvu) in rvu_cgx_pdata()
77 static int rvu_map_cgx_lmac_pf(struct rvu *rvu) in rvu_map_cgx_lmac_pf()
126 static int rvu_cgx_send_link_info(int cgx_id, int lmac_id, struct rvu *rvu) in rvu_cgx_send_link_info()
158 struct rvu *rvu = data; in cgx_lmac_postevent() local
175 static void cgx_notify_pfs(struct cgx_link_event *event, struct rvu *rvu) in cgx_notify_pfs()
212 struct rvu *rvu = container_of(work, struct rvu, cgx_evh_work); in cgx_evhandler_task() local
237 static int cgx_lmac_event_handler_init(struct rvu *rvu) in cgx_lmac_event_handler_init()
271 static void rvu_cgx_wq_destroy(struct rvu *rvu) in rvu_cgx_wq_destroy()
[all …]
Drvu.c60 static void rvu_setup_hw_capabilities(struct rvu *rvu) in rvu_setup_hw_capabilities()
85 int rvu_poll_reg(struct rvu *rvu, u64 block, u64 offset, u64 mask, bool zero) in rvu_poll_reg()
189 int rvu_get_lf(struct rvu *rvu, struct rvu_block *block, u16 pcifunc, u16 slot) in rvu_get_lf()
214 int rvu_get_blkaddr(struct rvu *rvu, int blktype, u16 pcifunc) in rvu_get_blkaddr()
283 static void rvu_update_rsrc_map(struct rvu *rvu, struct rvu_pfvf *pfvf, in rvu_update_rsrc_map()
345 void rvu_get_pf_numvfs(struct rvu *rvu, int pf, int *numvfs, int *hwvf) in rvu_get_pf_numvfs()
355 static int rvu_get_hwvf(struct rvu *rvu, int pcifunc) in rvu_get_hwvf()
369 struct rvu_pfvf *rvu_get_pfvf(struct rvu *rvu, int pcifunc) in rvu_get_pfvf()
378 static bool is_pf_func_valid(struct rvu *rvu, u16 pcifunc) in is_pf_func_valid()
411 static void rvu_check_block_implemented(struct rvu *rvu) in rvu_check_block_implemented()
[all …]
Drvu_nix.c71 bool is_nixlf_attached(struct rvu *rvu, u16 pcifunc) in is_nixlf_attached()
82 int rvu_get_nixlf_count(struct rvu *rvu) in rvu_get_nixlf_count()
94 int nix_get_nixlf(struct rvu *rvu, u16 pcifunc, int *nixlf, int *nix_blkaddr) in nix_get_nixlf()
141 static void nix_rx_sync(struct rvu *rvu, int blkaddr) in nix_rx_sync()
152 static bool is_valid_txschq(struct rvu *rvu, int blkaddr, in is_valid_txschq()
187 static int nix_interface_init(struct rvu *rvu, u16 pcifunc, int type, int nixlf) in nix_interface_init()
261 static void nix_interface_deinit(struct rvu *rvu, u16 pcifunc, u8 nixlf) in nix_interface_deinit()
282 int rvu_mbox_handler_nix_bp_disable(struct rvu *rvu, in rvu_mbox_handler_nix_bp_disable()
309 static int rvu_nix_get_bpid(struct rvu *rvu, struct nix_bp_cfg_req *req, in rvu_nix_get_bpid()
368 int rvu_mbox_handler_nix_bp_enable(struct rvu *rvu, in rvu_mbox_handler_nix_bp_enable()
[all …]
Drvu_npa.c18 static int npa_aq_enqueue_wait(struct rvu *rvu, struct rvu_block *block, in npa_aq_enqueue_wait()
55 int rvu_npa_aq_enq_inst(struct rvu *rvu, struct npa_aq_enq_req *req, in rvu_npa_aq_enq_inst()
204 static int npa_lf_hwctx_disable(struct rvu *rvu, struct hwctx_disable_req *req) in npa_lf_hwctx_disable()
252 static int npa_lf_hwctx_lockdown(struct rvu *rvu, struct npa_aq_enq_req *req) in npa_lf_hwctx_lockdown()
275 int rvu_mbox_handler_npa_aq_enq(struct rvu *rvu, in rvu_mbox_handler_npa_aq_enq()
288 int rvu_mbox_handler_npa_aq_enq(struct rvu *rvu, in rvu_mbox_handler_npa_aq_enq()
296 int rvu_mbox_handler_npa_hwctx_disable(struct rvu *rvu, in rvu_mbox_handler_npa_hwctx_disable()
303 static void npa_ctx_free(struct rvu *rvu, struct rvu_pfvf *pfvf) in npa_ctx_free()
321 int rvu_mbox_handler_npa_lf_alloc(struct rvu *rvu, in rvu_mbox_handler_npa_lf_alloc()
425 int rvu_mbox_handler_npa_lf_free(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_npa_lf_free()
[all …]
Drvu_npc.c39 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind()
53 int rvu_npc_get_pkind(struct rvu *rvu, u16 pf) in rvu_npc_get_pkind()
69 int npc_config_ts_kpuaction(struct rvu *rvu, int pf, u16 pcifunc, bool enable) in npc_config_ts_kpuaction()
131 static bool is_mcam_entry_enabled(struct rvu *rvu, struct npc_mcam *mcam, in is_mcam_entry_enabled()
142 static void npc_enable_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_enable_mcam_entry()
156 static void npc_clear_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_clear_mcam_entry()
260 static void npc_config_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_config_mcam_entry()
320 static void npc_copy_mcam_entry(struct rvu *rvu, struct npc_mcam *mcam, in npc_copy_mcam_entry()
360 static u64 npc_get_mcam_action(struct rvu *rvu, struct npc_mcam *mcam, in npc_get_mcam_action()
370 void rvu_npc_install_ucast_entry(struct rvu *rvu, u16 pcifunc, in rvu_npc_install_ucast_entry()
[all …]
Drvu.h65 struct rvu *rvu; member
308 struct rvu { struct
313 struct rvu_hwinfo *hw; argument
314 struct rvu_pfvf *pf; argument
315 struct rvu_pfvf *hwvf; argument
324 struct rvu_work *flr_wrk; argument
325 struct workqueue_struct *flr_wq;
326 struct mutex flr_lock; /* Serialize FLRs */
329 u16 num_vec;
330 char *irq_name;
[all …]
Drvu_debugfs.c112 #define NDC_MAX_BANK(rvu, blk_addr) (rvu_read64(rvu, \ argument
148 struct rvu *rvu = filp->private_data; in rvu_dbg_rsrc_attach_status() local
227 static bool rvu_dbg_is_valid_lf(struct rvu *rvu, int blktype, int lf, in rvu_dbg_is_valid_lf()
295 struct rvu *rvu; in rvu_dbg_qsize_display() local
331 struct rvu *rvu = seqfile->private; in rvu_dbg_qsize_write() local
480 struct rvu *rvu; in rvu_dbg_npa_ctx_display() local
552 static int write_npa_ctx(struct rvu *rvu, bool all, in write_npa_ctx()
648 struct rvu *rvu = seqfp->private; in rvu_dbg_npa_ctx_write() local
707 struct rvu *rvu = s->private; in ndc_cache_stats() local
752 struct rvu *rvu = s->private; in ndc_blk_hits_miss_stats() local
[all …]
Dptp.c247 int rvu_mbox_handler_ptp_op(struct rvu *rvu, struct ptp_req *req, in rvu_mbox_handler_ptp_op()