Lines Matching defs:cgx

74 	struct cgx *cgx = cgxd;  in is_dev_rpm()  local
79 bool is_lmac_valid(struct cgx *cgx, int lmac_id) in is_lmac_valid()
89 static int get_sequence_id_of_lmac(struct cgx *cgx, int lmac_id) in get_sequence_id_of_lmac()
110 void cgx_write(struct cgx *cgx, u64 lmac, u64 offset, u64 val) in cgx_write()
116 u64 cgx_read(struct cgx *cgx, u64 lmac, u64 offset) in cgx_read()
122 struct lmac *lmac_pdata(u8 lmac_id, struct cgx *cgx) in lmac_pdata()
147 struct cgx *cgx = cgxd; in cgx_get_lmac_cnt() local
182 struct cgx *cgx = cgxd; in cgx_get_cgxid() local
269 struct cgx *cgx = cgxd; in cgx_read_dmac_ctrl() local
284 struct cgx *cgx; in cgx_read_dmac_entry() local
483 struct cgx *cgx = cgxd; in cgx_set_pkind() local
494 struct cgx *cgx = cgxd; in cgx_get_lmac_type() local
504 struct cgx *cgx = cgxd; in cgx_lmac_internal_loopback() local
532 struct cgx *cgx = cgx_get_pdata(cgx_id); in cgx_lmac_promisc_config() local
584 struct cgx *cgx = cgxd; in cgx_lmac_enadis_rx_pause_fwding() local
611 struct cgx *cgx = cgxd; in cgx_get_rx_stats() local
621 struct cgx *cgx = cgxd; in cgx_get_tx_stats() local
666 struct cgx *cgx = cgxd; in cgx_get_fec_stats() local
690 struct cgx *cgx = cgxd; in cgx_lmac_rx_tx_enable() local
707 struct cgx *cgx = cgxd; in cgx_lmac_tx_enable() local
728 struct cgx *cgx = cgxd; in cgx_lmac_get_pause_frm_status() local
748 struct cgx *cgx = cgxd; in cgx_lmac_enadis_pause_frm() local
780 struct cgx *cgx = cgxd; in cgx_lmac_pause_frm_config() local
835 struct cgx *cgx = cgxd; in cgx_lmac_ptp_config() local
865 struct cgx *cgx = lmac->cgx; in cgx_fwi_cmd_send() local
911 int cgx_fwi_cmd_generic(u64 req, u64 *resp, struct cgx *cgx, int lmac_id) in cgx_fwi_cmd_generic()
1072 struct cgx *cgx, u8 lmac_id) in link_status_user_format()
1091 struct cgx *cgx = lmac->cgx; in cgx_link_change_handler() local
1158 struct cgx *cgx; in cgx_fwi_event_handler() local
1211 struct cgx *cgx = cgxd; in cgx_lmac_evh_register() local
1227 struct cgx *cgx = cgxd; in cgx_lmac_evh_unregister() local
1244 struct cgx *cgx; in cgx_get_fwdata_base() local
1264 struct cgx *cgx = cgxd; in cgx_set_link_mode() local
1288 struct cgx *cgx; in cgx_set_fec() local
1308 struct cgx *cgx = cgxd; in cgx_get_phy_fec_stats() local
1318 static int cgx_fwi_link_change(struct cgx *cgx, int lmac_id, bool enable) in cgx_fwi_link_change()
1331 static inline int cgx_fwi_read_version(u64 *resp, struct cgx *cgx) in cgx_fwi_read_version()
1340 static int cgx_lmac_verify_fwi_version(struct cgx *cgx) in cgx_lmac_verify_fwi_version()
1366 struct cgx *cgx = container_of(work, struct cgx, cgx_cmd_work); in cgx_lmac_linkup_work() local
1381 struct cgx *cgx = cgxd; in cgx_lmac_linkup_start() local
1391 static void cgx_lmac_get_fifolen(struct cgx *cgx) in cgx_lmac_get_fifolen()
1399 static int cgx_configure_interrupt(struct cgx *cgx, struct lmac *lmac, in cgx_configure_interrupt()
1428 struct cgx *cgx = cgxd; in cgx_get_nr_lmacs() local
1435 struct cgx *cgx = cgxd; in cgx_get_lmacid() local
1442 struct cgx *cgx = cgxd; in cgx_get_lmac_bmap() local
1447 static int cgx_lmac_init(struct cgx *cgx) in cgx_lmac_init()
1516 static int cgx_lmac_exit(struct cgx *cgx) in cgx_lmac_exit()
1541 static void cgx_populate_features(struct cgx *cgx) in cgx_populate_features()
1578 struct cgx *cgx; in cgx_probe() local
1663 struct cgx *cgx = pci_get_drvdata(pdev); in cgx_remove() local