Lines Matching defs:cgx
76 struct cgx *cgx = cgxd; in is_dev_rpm() local
82 bool is_lmac_valid(struct cgx *cgx, int lmac_id) in is_lmac_valid()
92 static int get_sequence_id_of_lmac(struct cgx *cgx, int lmac_id) in get_sequence_id_of_lmac()
113 void cgx_write(struct cgx *cgx, u64 lmac, u64 offset, u64 val) in cgx_write()
119 u64 cgx_read(struct cgx *cgx, u64 lmac, u64 offset) in cgx_read()
125 struct lmac *lmac_pdata(u8 lmac_id, struct cgx *cgx) in lmac_pdata()
150 struct cgx *cgx = cgxd; in cgx_get_lmac_cnt() local
192 struct cgx *cgx = cgxd; in cgx_get_cgxid() local
264 struct cgx *cgx = cgxd; in cgx_read_dmac_ctrl() local
279 struct cgx *cgx; in cgx_read_dmac_entry() local
478 struct cgx *cgx = cgxd; in cgx_set_pkind() local
489 struct cgx *cgx = cgxd; in cgx_get_lmac_type() local
498 struct cgx *cgx = cgxd; in cgx_get_lmac_fifo_len() local
525 struct cgx *cgx = cgxd; in cgx_lmac_internal_loopback() local
554 struct cgx *cgx = cgx_get_pdata(cgx_id); in cgx_lmac_promisc_config() local
607 struct cgx *cgx = cgxd; in cgx_lmac_get_pause_frm_status() local
627 struct cgx *cgx = cgxd; in cgx_lmac_enadis_rx_pause_fwding() local
681 struct cgx *cgx = cgxd; in cgx_get_rx_stats() local
691 struct cgx *cgx = cgxd; in cgx_get_tx_stats() local
736 struct cgx *cgx = cgxd; in cgx_get_fec_stats() local
764 struct cgx *cgx = cgxd; in cgx_lmac_rx_tx_enable() local
781 struct cgx *cgx = cgxd; in cgx_lmac_tx_enable() local
802 struct cgx *cgx = cgxd; in cgx_lmac_enadis_pause_frm() local
834 struct cgx *cgx = cgxd; in cgx_lmac_pause_frm_config() local
887 struct cgx *cgx = cgxd; in verify_lmac_fc_cfg() local
923 struct cgx *cgx = cgxd; in cgx_lmac_pfc_config() local
966 struct cgx *cgx = cgxd; in cgx_lmac_get_pfc_frm_cfg() local
982 struct cgx *cgx = cgxd; in cgx_lmac_ptp_config() local
1012 struct cgx *cgx = lmac->cgx; in cgx_fwi_cmd_send() local
1058 int cgx_fwi_cmd_generic(u64 req, u64 *resp, struct cgx *cgx, int lmac_id) in cgx_fwi_cmd_generic()
1219 struct cgx *cgx, u8 lmac_id) in link_status_user_format()
1246 struct cgx *cgx = lmac->cgx; in cgx_link_change_handler() local
1313 struct cgx *cgx; in cgx_fwi_event_handler() local
1366 struct cgx *cgx = cgxd; in cgx_lmac_evh_register() local
1382 struct cgx *cgx = cgxd; in cgx_lmac_evh_unregister() local
1399 struct cgx *cgx; in cgx_get_fwdata_base() local
1419 struct cgx *cgx = cgxd; in cgx_set_link_mode() local
1443 struct cgx *cgx; in cgx_set_fec() local
1463 struct cgx *cgx = cgxd; in cgx_get_phy_fec_stats() local
1473 static int cgx_fwi_link_change(struct cgx *cgx, int lmac_id, bool enable) in cgx_fwi_link_change()
1494 static inline int cgx_fwi_read_version(u64 *resp, struct cgx *cgx) in cgx_fwi_read_version()
1503 static int cgx_lmac_verify_fwi_version(struct cgx *cgx) in cgx_lmac_verify_fwi_version()
1529 struct cgx *cgx = container_of(work, struct cgx, cgx_cmd_work); in cgx_lmac_linkup_work() local
1544 struct cgx *cgx = cgxd; in cgx_lmac_linkup_start() local
1556 struct cgx *cgx = cgxd; in cgx_lmac_reset() local
1571 static int cgx_configure_interrupt(struct cgx *cgx, struct lmac *lmac, in cgx_configure_interrupt()
1600 struct cgx *cgx = cgxd; in cgx_get_nr_lmacs() local
1607 struct cgx *cgx = cgxd; in cgx_get_lmacid() local
1614 struct cgx *cgx = cgxd; in cgx_get_lmac_bmap() local
1619 static int cgx_lmac_init(struct cgx *cgx) in cgx_lmac_init()
1708 static int cgx_lmac_exit(struct cgx *cgx) in cgx_lmac_exit()
1733 static void cgx_populate_features(struct cgx *cgx) in cgx_populate_features()
1749 static u8 cgx_get_rxid_mapoffset(struct cgx *cgx) in cgx_get_rxid_mapoffset()
1793 struct cgx *cgx; in cgx_probe() local
1887 struct cgx *cgx = pci_get_drvdata(pdev); in cgx_remove() local