Lines Matching defs:rvu

44 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()
179 static int rvu_cgx_send_link_info(int cgx_id, int lmac_id, struct rvu *rvu) in rvu_cgx_send_link_info()
213 struct rvu *rvu = data; in cgx_lmac_postevent() local
230 static void cgx_notify_pfs(struct cgx_link_event *event, struct rvu *rvu) in cgx_notify_pfs()
273 struct rvu *rvu = container_of(work, struct rvu, cgx_evh_work); in cgx_evhandler_task() local
298 static int cgx_lmac_event_handler_init(struct rvu *rvu) in cgx_lmac_event_handler_init()
334 static void rvu_cgx_wq_destroy(struct rvu *rvu) in rvu_cgx_wq_destroy()
342 int rvu_cgx_init(struct rvu *rvu) in rvu_cgx_init()
397 int rvu_cgx_exit(struct rvu *rvu) in rvu_cgx_exit()
423 inline bool is_cgx_config_permitted(struct rvu *rvu, u16 pcifunc) in is_cgx_config_permitted()
431 void rvu_cgx_enadis_rx_bp(struct rvu *rvu, int pf, bool enable) in rvu_cgx_enadis_rx_bp()
451 int rvu_cgx_config_rxtx(struct rvu *rvu, u16 pcifunc, bool start) in rvu_cgx_config_rxtx()
468 int rvu_cgx_tx_enable(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_cgx_tx_enable()
493 void rvu_cgx_disable_dmac_entries(struct rvu *rvu, u16 pcifunc) in rvu_cgx_disable_dmac_entries()
529 int rvu_mbox_handler_cgx_start_rxtx(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_start_rxtx()
536 int rvu_mbox_handler_cgx_stop_rxtx(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stop_rxtx()
543 static int rvu_lmac_get_stats(struct rvu *rvu, struct msg_req *req, in rvu_lmac_get_stats()
587 int rvu_mbox_handler_cgx_stats(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stats()
593 int rvu_mbox_handler_rpm_stats(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_rpm_stats()
599 int rvu_mbox_handler_cgx_fec_stats(struct rvu *rvu, in rvu_mbox_handler_cgx_fec_stats()
617 int rvu_mbox_handler_cgx_mac_addr_set(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_set()
637 int rvu_mbox_handler_cgx_mac_addr_add(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_add()
661 int rvu_mbox_handler_cgx_mac_addr_del(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_del()
678 int rvu_mbox_handler_cgx_mac_max_entries_get(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_max_entries_get()
705 int rvu_mbox_handler_cgx_mac_addr_get(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_get()
726 int rvu_mbox_handler_cgx_promisc_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_promisc_enable()
746 int rvu_mbox_handler_cgx_promisc_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_promisc_disable()
765 static int rvu_cgx_ptp_rx_cfg(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_cgx_ptp_rx_cfg()
801 int rvu_mbox_handler_cgx_ptp_rx_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_ptp_rx_enable()
810 int rvu_mbox_handler_cgx_ptp_rx_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_ptp_rx_disable()
816 static int rvu_cgx_config_linkevents(struct rvu *rvu, u16 pcifunc, bool en) in rvu_cgx_config_linkevents()
837 int rvu_mbox_handler_cgx_start_linkevents(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_start_linkevents()
844 int rvu_mbox_handler_cgx_stop_linkevents(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stop_linkevents()
851 int rvu_mbox_handler_cgx_get_linkinfo(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_get_linkinfo()
869 int rvu_mbox_handler_cgx_features_get(struct rvu *rvu, in rvu_mbox_handler_cgx_features_get()
887 u32 rvu_cgx_get_fifolen(struct rvu *rvu) in rvu_cgx_get_fifolen()
898 u32 rvu_cgx_get_lmac_fifolen(struct rvu *rvu, int cgx, int lmac) in rvu_cgx_get_lmac_fifolen()
914 static int rvu_cgx_config_intlbk(struct rvu *rvu, u16 pcifunc, bool en) in rvu_cgx_config_intlbk()
930 int rvu_mbox_handler_cgx_intlbk_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_intlbk_enable()
937 int rvu_mbox_handler_cgx_intlbk_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_intlbk_disable()
944 int rvu_cgx_cfg_pause_frm(struct rvu *rvu, u16 pcifunc, u8 tx_pause, u8 rx_pause) in rvu_cgx_cfg_pause_frm()
983 int rvu_mbox_handler_cgx_cfg_pause_frm(struct rvu *rvu, in rvu_mbox_handler_cgx_cfg_pause_frm()
1011 int rvu_mbox_handler_cgx_get_phy_fec_stats(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_get_phy_fec_stats()
1027 int rvu_cgx_nix_cuml_stats(struct rvu *rvu, void *cgxd, int lmac_id, in rvu_cgx_nix_cuml_stats()
1069 int rvu_cgx_start_stop_io(struct rvu *rvu, u16 pcifunc, bool start) in rvu_cgx_start_stop_io()
1116 int rvu_mbox_handler_cgx_set_fec_param(struct rvu *rvu, in rvu_mbox_handler_cgx_set_fec_param()
1133 int rvu_mbox_handler_cgx_get_aux_link_info(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_get_aux_link_info()
1159 int rvu_mbox_handler_cgx_set_link_mode(struct rvu *rvu, in rvu_mbox_handler_cgx_set_link_mode()
1176 int rvu_mbox_handler_cgx_mac_addr_reset(struct rvu *rvu, struct cgx_mac_addr_reset_req *req, in rvu_mbox_handler_cgx_mac_addr_reset()
1193 int rvu_mbox_handler_cgx_mac_addr_update(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_update()
1210 int rvu_cgx_prio_flow_ctrl_cfg(struct rvu *rvu, u16 pcifunc, u8 tx_pause, in rvu_cgx_prio_flow_ctrl_cfg()
1247 int rvu_mbox_handler_cgx_prio_flow_ctrl_cfg(struct rvu *rvu, in rvu_mbox_handler_cgx_prio_flow_ctrl_cfg()
1274 void rvu_mac_reset(struct rvu *rvu, u16 pcifunc) in rvu_mac_reset()