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()
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()
281 struct rvu *rvu = container_of(work, struct rvu, cgx_evh_work); in cgx_evhandler_task() local
306 static int cgx_lmac_event_handler_init(struct rvu *rvu) in cgx_lmac_event_handler_init()
342 static void rvu_cgx_wq_destroy(struct rvu *rvu) in rvu_cgx_wq_destroy()
350 int rvu_cgx_init(struct rvu *rvu) in rvu_cgx_init()
405 int rvu_cgx_exit(struct rvu *rvu) in rvu_cgx_exit()
431 inline bool is_cgx_config_permitted(struct rvu *rvu, u16 pcifunc) in is_cgx_config_permitted()
439 void rvu_cgx_enadis_rx_bp(struct rvu *rvu, int pf, bool enable) in rvu_cgx_enadis_rx_bp()
459 int rvu_cgx_config_rxtx(struct rvu *rvu, u16 pcifunc, bool start) in rvu_cgx_config_rxtx()
476 int rvu_cgx_tx_enable(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_cgx_tx_enable()
501 void rvu_cgx_disable_dmac_entries(struct rvu *rvu, u16 pcifunc) in rvu_cgx_disable_dmac_entries()
537 int rvu_mbox_handler_cgx_start_rxtx(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_start_rxtx()
544 int rvu_mbox_handler_cgx_stop_rxtx(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stop_rxtx()
551 static int rvu_lmac_get_stats(struct rvu *rvu, struct msg_req *req, in rvu_lmac_get_stats()
595 int rvu_mbox_handler_cgx_stats(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stats()
601 int rvu_mbox_handler_rpm_stats(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_rpm_stats()
607 int rvu_mbox_handler_cgx_stats_rst(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stats_rst()
636 int rvu_mbox_handler_cgx_fec_stats(struct rvu *rvu, in rvu_mbox_handler_cgx_fec_stats()
654 int rvu_mbox_handler_cgx_mac_addr_set(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_set()
674 int rvu_mbox_handler_cgx_mac_addr_add(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_add()
698 int rvu_mbox_handler_cgx_mac_addr_del(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_del()
715 int rvu_mbox_handler_cgx_mac_max_entries_get(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_max_entries_get()
742 int rvu_mbox_handler_cgx_mac_addr_get(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_get()
763 int rvu_mbox_handler_cgx_promisc_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_promisc_enable()
783 int rvu_mbox_handler_cgx_promisc_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_promisc_disable()
802 static int rvu_cgx_ptp_rx_cfg(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_cgx_ptp_rx_cfg()
838 int rvu_mbox_handler_cgx_ptp_rx_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_ptp_rx_enable()
847 int rvu_mbox_handler_cgx_ptp_rx_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_ptp_rx_disable()
853 static int rvu_cgx_config_linkevents(struct rvu *rvu, u16 pcifunc, bool en) in rvu_cgx_config_linkevents()
874 int rvu_mbox_handler_cgx_start_linkevents(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_start_linkevents()
881 int rvu_mbox_handler_cgx_stop_linkevents(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stop_linkevents()
888 int rvu_mbox_handler_cgx_get_linkinfo(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_get_linkinfo()
906 int rvu_mbox_handler_cgx_features_get(struct rvu *rvu, in rvu_mbox_handler_cgx_features_get()
924 u32 rvu_cgx_get_fifolen(struct rvu *rvu) in rvu_cgx_get_fifolen()
935 u32 rvu_cgx_get_lmac_fifolen(struct rvu *rvu, int cgx, int lmac) in rvu_cgx_get_lmac_fifolen()
951 static int rvu_cgx_config_intlbk(struct rvu *rvu, u16 pcifunc, bool en) in rvu_cgx_config_intlbk()
967 int rvu_mbox_handler_cgx_intlbk_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_intlbk_enable()
974 int rvu_mbox_handler_cgx_intlbk_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_intlbk_disable()
981 int rvu_cgx_cfg_pause_frm(struct rvu *rvu, u16 pcifunc, u8 tx_pause, u8 rx_pause) in rvu_cgx_cfg_pause_frm()
1020 int rvu_mbox_handler_cgx_cfg_pause_frm(struct rvu *rvu, in rvu_mbox_handler_cgx_cfg_pause_frm()
1048 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()
1064 int rvu_cgx_nix_cuml_stats(struct rvu *rvu, void *cgxd, int lmac_id, in rvu_cgx_nix_cuml_stats()
1106 int rvu_cgx_start_stop_io(struct rvu *rvu, u16 pcifunc, bool start) in rvu_cgx_start_stop_io()
1153 int rvu_mbox_handler_cgx_set_fec_param(struct rvu *rvu, in rvu_mbox_handler_cgx_set_fec_param()
1170 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()
1196 int rvu_mbox_handler_cgx_set_link_mode(struct rvu *rvu, in rvu_mbox_handler_cgx_set_link_mode()
1213 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()
1230 int rvu_mbox_handler_cgx_mac_addr_update(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_update()
1247 int rvu_cgx_prio_flow_ctrl_cfg(struct rvu *rvu, u16 pcifunc, u8 tx_pause, in rvu_cgx_prio_flow_ctrl_cfg()
1284 int rvu_mbox_handler_cgx_prio_flow_ctrl_cfg(struct rvu *rvu, in rvu_mbox_handler_cgx_prio_flow_ctrl_cfg()
1311 void rvu_mac_reset(struct rvu *rvu, u16 pcifunc) in rvu_mac_reset()