Lines Matching defs:cgx
78 struct cgx *cgx = cgxd; in is_dev_rpm() local
84 bool is_lmac_valid(struct cgx *cgx, int lmac_id) in is_lmac_valid()
94 static int get_sequence_id_of_lmac(struct cgx *cgx, int lmac_id) in get_sequence_id_of_lmac()
115 void cgx_write(struct cgx *cgx, u64 lmac, u64 offset, u64 val) in cgx_write()
121 u64 cgx_read(struct cgx *cgx, u64 lmac, u64 offset) in cgx_read()
127 struct lmac *lmac_pdata(u8 lmac_id, struct cgx *cgx) in lmac_pdata()
152 struct cgx *cgx = cgxd; in cgx_get_lmac_cnt() local
194 struct cgx *cgx = cgxd; in cgx_get_cgxid() local
266 struct cgx *cgx = cgxd; in cgx_read_dmac_ctrl() local
281 struct cgx *cgx; in cgx_read_dmac_entry() local
480 struct cgx *cgx = cgxd; in cgx_set_pkind() local
491 struct cgx *cgx = cgxd; in cgx_get_lmac_type() local
500 struct cgx *cgx = cgxd; in cgx_get_lmac_fifo_len() local
527 struct cgx *cgx = cgxd; in cgx_lmac_internal_loopback() local
556 struct cgx *cgx = cgx_get_pdata(cgx_id); in cgx_lmac_promisc_config() local
609 struct cgx *cgx = cgxd; in cgx_lmac_get_pause_frm_status() local
629 struct cgx *cgx = cgxd; in cgx_lmac_enadis_rx_pause_fwding() local
683 struct cgx *cgx = cgxd; in cgx_get_rx_stats() local
693 struct cgx *cgx = cgxd; in cgx_get_tx_stats() local
708 struct cgx *cgx = cgxd; in cgx_stats_reset() local
762 struct cgx *cgx = cgxd; in cgx_get_fec_stats() local
790 struct cgx *cgx = cgxd; in cgx_lmac_rx_tx_enable() local
807 struct cgx *cgx = cgxd; in cgx_lmac_tx_enable() local
828 struct cgx *cgx = cgxd; in cgx_lmac_enadis_pause_frm() local
865 struct cgx *cgx = cgxd; in cgx_lmac_pause_frm_config() local
918 struct cgx *cgx = cgxd; in verify_lmac_fc_cfg() local
954 struct cgx *cgx = cgxd; in cgx_lmac_pfc_config() local
997 struct cgx *cgx = cgxd; in cgx_lmac_get_pfc_frm_cfg() local
1013 struct cgx *cgx = cgxd; in cgx_lmac_ptp_config() local
1043 struct cgx *cgx = lmac->cgx; in cgx_fwi_cmd_send() local
1089 int cgx_fwi_cmd_generic(u64 req, u64 *resp, struct cgx *cgx, int lmac_id) in cgx_fwi_cmd_generic()
1250 struct cgx *cgx, u8 lmac_id) in link_status_user_format()
1275 struct cgx *cgx = lmac->cgx; in cgx_link_change_handler() local
1342 struct cgx *cgx; in cgx_fwi_event_handler() local
1395 struct cgx *cgx = cgxd; in cgx_lmac_evh_register() local
1411 struct cgx *cgx = cgxd; in cgx_lmac_evh_unregister() local
1428 struct cgx *cgx; in cgx_get_fwdata_base() local
1448 struct cgx *cgx = cgxd; in cgx_set_link_mode() local
1472 struct cgx *cgx; in cgx_set_fec() local
1492 struct cgx *cgx = cgxd; in cgx_get_phy_fec_stats() local
1502 static int cgx_fwi_link_change(struct cgx *cgx, int lmac_id, bool enable) in cgx_fwi_link_change()
1523 static inline int cgx_fwi_read_version(u64 *resp, struct cgx *cgx) in cgx_fwi_read_version()
1532 static int cgx_lmac_verify_fwi_version(struct cgx *cgx) in cgx_lmac_verify_fwi_version()
1558 struct cgx *cgx = container_of(work, struct cgx, cgx_cmd_work); in cgx_lmac_linkup_work() local
1573 struct cgx *cgx = cgxd; in cgx_lmac_linkup_start() local
1585 struct cgx *cgx = cgxd; in cgx_lmac_reset() local
1600 static int cgx_configure_interrupt(struct cgx *cgx, struct lmac *lmac, in cgx_configure_interrupt()
1629 struct cgx *cgx = cgxd; in cgx_get_nr_lmacs() local
1636 struct cgx *cgx = cgxd; in cgx_get_lmacid() local
1643 struct cgx *cgx = cgxd; in cgx_get_lmac_bmap() local
1648 static int cgx_lmac_init(struct cgx *cgx) in cgx_lmac_init()
1737 static int cgx_lmac_exit(struct cgx *cgx) in cgx_lmac_exit()
1762 static void cgx_populate_features(struct cgx *cgx) in cgx_populate_features()
1778 static u8 cgx_get_rxid_mapoffset(struct cgx *cgx) in cgx_get_rxid_mapoffset()
1823 struct cgx *cgx; in cgx_probe() local
1917 struct cgx *cgx = pci_get_drvdata(pdev); in cgx_remove() local