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()
398 void cgx_start_linkup(struct rvu *rvu) in cgx_start_linkup()
429 int rvu_cgx_exit(struct rvu *rvu) in rvu_cgx_exit()
455 inline bool is_cgx_config_permitted(struct rvu *rvu, u16 pcifunc) in is_cgx_config_permitted()
463 void rvu_cgx_enadis_rx_bp(struct rvu *rvu, int pf, bool enable) in rvu_cgx_enadis_rx_bp()
483 int rvu_cgx_config_rxtx(struct rvu *rvu, u16 pcifunc, bool start) in rvu_cgx_config_rxtx()
500 int rvu_cgx_tx_enable(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_cgx_tx_enable()
525 void rvu_cgx_disable_dmac_entries(struct rvu *rvu, u16 pcifunc) in rvu_cgx_disable_dmac_entries()
561 int rvu_mbox_handler_cgx_start_rxtx(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_start_rxtx()
568 int rvu_mbox_handler_cgx_stop_rxtx(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stop_rxtx()
575 static int rvu_lmac_get_stats(struct rvu *rvu, struct msg_req *req, in rvu_lmac_get_stats()
619 int rvu_mbox_handler_cgx_stats(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stats()
625 int rvu_mbox_handler_rpm_stats(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_rpm_stats()
631 int rvu_mbox_handler_cgx_stats_rst(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stats_rst()
660 int rvu_mbox_handler_cgx_fec_stats(struct rvu *rvu, in rvu_mbox_handler_cgx_fec_stats()
678 int rvu_mbox_handler_cgx_mac_addr_set(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_set()
698 int rvu_mbox_handler_cgx_mac_addr_add(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_add()
722 int rvu_mbox_handler_cgx_mac_addr_del(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_del()
739 int rvu_mbox_handler_cgx_mac_max_entries_get(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_max_entries_get()
766 int rvu_mbox_handler_cgx_mac_addr_get(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_get()
787 int rvu_mbox_handler_cgx_promisc_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_promisc_enable()
807 int rvu_mbox_handler_cgx_promisc_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_promisc_disable()
826 static int rvu_cgx_ptp_rx_cfg(struct rvu *rvu, u16 pcifunc, bool enable) in rvu_cgx_ptp_rx_cfg()
862 int rvu_mbox_handler_cgx_ptp_rx_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_ptp_rx_enable()
871 int rvu_mbox_handler_cgx_ptp_rx_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_ptp_rx_disable()
877 static int rvu_cgx_config_linkevents(struct rvu *rvu, u16 pcifunc, bool en) in rvu_cgx_config_linkevents()
898 int rvu_mbox_handler_cgx_start_linkevents(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_start_linkevents()
905 int rvu_mbox_handler_cgx_stop_linkevents(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_stop_linkevents()
912 int rvu_mbox_handler_cgx_get_linkinfo(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_get_linkinfo()
930 int rvu_mbox_handler_cgx_features_get(struct rvu *rvu, in rvu_mbox_handler_cgx_features_get()
948 u32 rvu_cgx_get_fifolen(struct rvu *rvu) in rvu_cgx_get_fifolen()
958 u32 rvu_cgx_get_lmac_fifolen(struct rvu *rvu, int cgx, int lmac) in rvu_cgx_get_lmac_fifolen()
974 static int rvu_cgx_config_intlbk(struct rvu *rvu, u16 pcifunc, bool en) in rvu_cgx_config_intlbk()
990 int rvu_mbox_handler_cgx_intlbk_enable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_intlbk_enable()
997 int rvu_mbox_handler_cgx_intlbk_disable(struct rvu *rvu, struct msg_req *req, in rvu_mbox_handler_cgx_intlbk_disable()
1004 int rvu_cgx_cfg_pause_frm(struct rvu *rvu, u16 pcifunc, u8 tx_pause, u8 rx_pause) in rvu_cgx_cfg_pause_frm()
1043 int rvu_mbox_handler_cgx_cfg_pause_frm(struct rvu *rvu, in rvu_mbox_handler_cgx_cfg_pause_frm()
1071 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()
1087 int rvu_cgx_nix_cuml_stats(struct rvu *rvu, void *cgxd, int lmac_id, in rvu_cgx_nix_cuml_stats()
1129 int rvu_cgx_start_stop_io(struct rvu *rvu, u16 pcifunc, bool start) in rvu_cgx_start_stop_io()
1176 int rvu_mbox_handler_cgx_set_fec_param(struct rvu *rvu, in rvu_mbox_handler_cgx_set_fec_param()
1193 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()
1219 int rvu_mbox_handler_cgx_set_link_mode(struct rvu *rvu, in rvu_mbox_handler_cgx_set_link_mode()
1236 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()
1253 int rvu_mbox_handler_cgx_mac_addr_update(struct rvu *rvu, in rvu_mbox_handler_cgx_mac_addr_update()
1270 int rvu_cgx_prio_flow_ctrl_cfg(struct rvu *rvu, u16 pcifunc, u8 tx_pause, in rvu_cgx_prio_flow_ctrl_cfg()
1307 int rvu_mbox_handler_cgx_prio_flow_ctrl_cfg(struct rvu *rvu, in rvu_mbox_handler_cgx_prio_flow_ctrl_cfg()
1334 void rvu_mac_reset(struct rvu *rvu, u16 pcifunc) in rvu_mac_reset()