Lines Matching defs:cgx
75 struct cgx *cgx = cgxd; in is_dev_rpm() local
81 bool is_lmac_valid(struct cgx *cgx, int lmac_id) in is_lmac_valid()
91 static int get_sequence_id_of_lmac(struct cgx *cgx, int lmac_id) in get_sequence_id_of_lmac()
112 void cgx_write(struct cgx *cgx, u64 lmac, u64 offset, u64 val) in cgx_write()
118 u64 cgx_read(struct cgx *cgx, u64 lmac, u64 offset) in cgx_read()
124 struct lmac *lmac_pdata(u8 lmac_id, struct cgx *cgx) in lmac_pdata()
149 struct cgx *cgx = cgxd; in cgx_get_lmac_cnt() local
184 struct cgx *cgx = cgxd; in cgx_get_cgxid() local
271 struct cgx *cgx = cgxd; in cgx_read_dmac_ctrl() local
286 struct cgx *cgx; in cgx_read_dmac_entry() local
485 struct cgx *cgx = cgxd; in cgx_set_pkind() local
496 struct cgx *cgx = cgxd; in cgx_get_lmac_type() local
505 struct cgx *cgx = cgxd; in cgx_get_lmac_fifo_len() local
532 struct cgx *cgx = cgxd; in cgx_lmac_internal_loopback() local
560 struct cgx *cgx = cgx_get_pdata(cgx_id); in cgx_lmac_promisc_config() local
612 struct cgx *cgx = cgxd; in cgx_lmac_get_pause_frm_status() local
632 struct cgx *cgx = cgxd; in cgx_lmac_enadis_rx_pause_fwding() local
686 struct cgx *cgx = cgxd; in cgx_get_rx_stats() local
696 struct cgx *cgx = cgxd; in cgx_get_tx_stats() local
741 struct cgx *cgx = cgxd; in cgx_get_fec_stats() local
769 struct cgx *cgx = cgxd; in cgx_lmac_rx_tx_enable() local
786 struct cgx *cgx = cgxd; in cgx_lmac_tx_enable() local
807 struct cgx *cgx = cgxd; in cgx_lmac_enadis_pause_frm() local
839 struct cgx *cgx = cgxd; in cgx_lmac_pause_frm_config() local
892 struct cgx *cgx = cgxd; in verify_lmac_fc_cfg() local
928 struct cgx *cgx = cgxd; in cgx_lmac_pfc_config() local
971 struct cgx *cgx = cgxd; in cgx_lmac_get_pfc_frm_cfg() local
987 struct cgx *cgx = cgxd; in cgx_lmac_ptp_config() local
1017 struct cgx *cgx = lmac->cgx; in cgx_fwi_cmd_send() local
1063 int cgx_fwi_cmd_generic(u64 req, u64 *resp, struct cgx *cgx, int lmac_id) in cgx_fwi_cmd_generic()
1224 struct cgx *cgx, u8 lmac_id) in link_status_user_format()
1243 struct cgx *cgx = lmac->cgx; in cgx_link_change_handler() local
1310 struct cgx *cgx; in cgx_fwi_event_handler() local
1363 struct cgx *cgx = cgxd; in cgx_lmac_evh_register() local
1379 struct cgx *cgx = cgxd; in cgx_lmac_evh_unregister() local
1396 struct cgx *cgx; in cgx_get_fwdata_base() local
1416 struct cgx *cgx = cgxd; in cgx_set_link_mode() local
1440 struct cgx *cgx; in cgx_set_fec() local
1460 struct cgx *cgx = cgxd; in cgx_get_phy_fec_stats() local
1470 static int cgx_fwi_link_change(struct cgx *cgx, int lmac_id, bool enable) in cgx_fwi_link_change()
1491 static inline int cgx_fwi_read_version(u64 *resp, struct cgx *cgx) in cgx_fwi_read_version()
1500 static int cgx_lmac_verify_fwi_version(struct cgx *cgx) in cgx_lmac_verify_fwi_version()
1526 struct cgx *cgx = container_of(work, struct cgx, cgx_cmd_work); in cgx_lmac_linkup_work() local
1541 struct cgx *cgx = cgxd; in cgx_lmac_linkup_start() local
1551 static int cgx_configure_interrupt(struct cgx *cgx, struct lmac *lmac, in cgx_configure_interrupt()
1580 struct cgx *cgx = cgxd; in cgx_get_nr_lmacs() local
1587 struct cgx *cgx = cgxd; in cgx_get_lmacid() local
1594 struct cgx *cgx = cgxd; in cgx_get_lmac_bmap() local
1599 static int cgx_lmac_init(struct cgx *cgx) in cgx_lmac_init()
1687 static int cgx_lmac_exit(struct cgx *cgx) in cgx_lmac_exit()
1712 static void cgx_populate_features(struct cgx *cgx) in cgx_populate_features()
1728 static u8 cgx_get_rxid_mapoffset(struct cgx *cgx) in cgx_get_rxid_mapoffset()
1771 struct cgx *cgx; in cgx_probe() local
1865 struct cgx *cgx = pci_get_drvdata(pdev); in cgx_remove() local