Lines Matching defs:rvu

46 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()
280 int rvu_cgx_init(struct rvu *rvu) in rvu_cgx_init()
335 int rvu_cgx_exit(struct rvu *rvu) in rvu_cgx_exit()
359 static bool is_cgx_config_permitted(struct rvu *rvu, u16 pcifunc) in is_cgx_config_permitted()
367 void rvu_cgx_enadis_rx_bp(struct rvu *rvu, int pf, bool enable) in rvu_cgx_enadis_rx_bp()
385 int rvu_cgx_config_rxtx(struct rvu *rvu, u16 pcifunc, bool start) in rvu_cgx_config_rxtx()
400 int rvu_mbox_handler_cgx_start_rxtx(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_start_rxtx()
407 int rvu_mbox_handler_cgx_stop_rxtx(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stop_rxtx()
414 int rvu_mbox_handler_cgx_stats(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stats()
450 int rvu_mbox_handler_cgx_mac_addr_set(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_set()
464 int rvu_mbox_handler_cgx_mac_addr_get(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_get()
483 int rvu_mbox_handler_cgx_promisc_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_promisc_enable()
499 int rvu_mbox_handler_cgx_promisc_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_promisc_disable()
514 static int rvu_cgx_ptp_rx_cfg(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_cgx_ptp_rx_cfg()
541 int rvu_mbox_handler_cgx_ptp_rx_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_ptp_rx_enable()
547 int rvu_mbox_handler_cgx_ptp_rx_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_ptp_rx_disable()
553 static int rvu_cgx_config_linkevents(struct rvu *rvu, u16 pcifunc, bool en) in rvu_cgx_config_linkevents()
574 int rvu_mbox_handler_cgx_start_linkevents(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_start_linkevents()
581 int rvu_mbox_handler_cgx_stop_linkevents(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stop_linkevents()
588 int rvu_mbox_handler_cgx_get_linkinfo(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_get_linkinfo()
606 static int rvu_cgx_config_intlbk(struct rvu *rvu, u16 pcifunc, bool en) in rvu_cgx_config_intlbk()
620 int rvu_mbox_handler_cgx_intlbk_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_intlbk_enable()
627 int rvu_mbox_handler_cgx_intlbk_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_intlbk_disable()
634 int rvu_mbox_handler_cgx_cfg_pause_frm(struct rvu *rvu, in rvu_mbox_handler_cgx_cfg_pause_frm()
661 int rvu_cgx_nix_cuml_stats(struct rvu *rvu, void *cgxd, int lmac_id, in rvu_cgx_nix_cuml_stats()
703 int rvu_cgx_start_stop_io(struct rvu *rvu, u16 pcifunc, bool start) in rvu_cgx_start_stop_io()