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()
120 void cgx_write(struct cgx *cgx, u64 lmac, u64 offset, u64 val) in cgx_write()
126 u64 cgx_read(struct cgx *cgx, u64 lmac, u64 offset) in cgx_read()
132 struct lmac *lmac_pdata(u8 lmac_id, struct cgx *cgx) in lmac_pdata()
157 struct cgx *cgx = cgxd; in cgx_get_lmac_cnt() local
199 struct cgx *cgx = cgxd; in cgx_get_cgxid() local
217 static u8 cgx_get_nix_resetbit(struct cgx *cgx) in cgx_get_nix_resetbit()
289 struct cgx *cgx = cgxd; in cgx_read_dmac_ctrl() local
304 struct cgx *cgx; in cgx_read_dmac_entry() local
503 struct cgx *cgx = cgxd; in cgx_set_pkind() local
514 struct cgx *cgx = cgxd; in cgx_get_lmac_type() local
523 struct cgx *cgx = cgxd; in cgx_get_lmac_fifo_len() local
550 struct cgx *cgx = cgxd; in cgx_lmac_internal_loopback() local
579 struct cgx *cgx = cgx_get_pdata(cgx_id); in cgx_lmac_promisc_config() local
632 struct cgx *cgx = cgxd; in cgx_lmac_get_pause_frm_status() local
652 struct cgx *cgx = cgxd; in cgx_lmac_enadis_rx_pause_fwding() local
706 struct cgx *cgx = cgxd; in cgx_get_rx_stats() local
716 struct cgx *cgx = cgxd; in cgx_get_tx_stats() local
731 struct cgx *cgx = cgxd; in cgx_stats_reset() local
785 struct cgx *cgx = cgxd; in cgx_get_fec_stats() local
813 struct cgx *cgx = cgxd; in cgx_lmac_rx_tx_enable() local
830 struct cgx *cgx = cgxd; in cgx_lmac_tx_enable() local
851 struct cgx *cgx = cgxd; in cgx_lmac_enadis_pause_frm() local
888 struct cgx *cgx = cgxd; in cgx_lmac_pause_frm_config() local
941 struct cgx *cgx = cgxd; in verify_lmac_fc_cfg() local
977 struct cgx *cgx = cgxd; in cgx_lmac_pfc_config() local
1020 struct cgx *cgx = cgxd; in cgx_lmac_get_pfc_frm_cfg() local
1036 struct cgx *cgx = cgxd; in cgx_lmac_ptp_config() local
1066 struct cgx *cgx = lmac->cgx; in cgx_fwi_cmd_send() local
1112 int cgx_fwi_cmd_generic(u64 req, u64 *resp, struct cgx *cgx, int lmac_id) in cgx_fwi_cmd_generic()
1273 struct cgx *cgx, u8 lmac_id) in link_status_user_format()
1298 struct cgx *cgx = lmac->cgx; in cgx_link_change_handler() local
1365 struct cgx *cgx; in cgx_fwi_event_handler() local
1418 struct cgx *cgx = cgxd; in cgx_lmac_evh_register() local
1434 struct cgx *cgx = cgxd; in cgx_lmac_evh_unregister() local
1451 struct cgx *cgx; in cgx_get_fwdata_base() local
1471 struct cgx *cgx = cgxd; in cgx_set_link_mode() local
1495 struct cgx *cgx; in cgx_set_fec() local
1515 struct cgx *cgx = cgxd; in cgx_get_phy_fec_stats() local
1525 static int cgx_fwi_link_change(struct cgx *cgx, int lmac_id, bool enable) in cgx_fwi_link_change()
1546 static inline int cgx_fwi_read_version(u64 *resp, struct cgx *cgx) in cgx_fwi_read_version()
1555 static int cgx_lmac_verify_fwi_version(struct cgx *cgx) in cgx_lmac_verify_fwi_version()
1581 struct cgx *cgx = container_of(work, struct cgx, cgx_cmd_work); in cgx_lmac_linkup_work() local
1596 struct cgx *cgx = cgxd; in cgx_lmac_linkup_start() local
1608 struct cgx *cgx = cgxd; in cgx_lmac_reset() local
1623 static int cgx_configure_interrupt(struct cgx *cgx, struct lmac *lmac, in cgx_configure_interrupt()
1652 struct cgx *cgx = cgxd; in cgx_get_nr_lmacs() local
1659 struct cgx *cgx = cgxd; in cgx_get_lmacid() local
1666 struct cgx *cgx = cgxd; in cgx_get_lmac_bmap() local
1671 static int cgx_lmac_init(struct cgx *cgx) in cgx_lmac_init()
1762 static int cgx_lmac_exit(struct cgx *cgx) in cgx_lmac_exit()
1787 static void cgx_populate_features(struct cgx *cgx) in cgx_populate_features()
1803 static u8 cgx_get_rxid_mapoffset(struct cgx *cgx) in cgx_get_rxid_mapoffset()
1814 struct cgx *cgx = cgxd; in cgx_x2p_reset() local
1836 struct cgx *cgx = cgxd; in cgx_enadis_rx() local
1889 struct cgx *cgx; in cgx_probe() local
1983 struct cgx *cgx = pci_get_drvdata(pdev); in cgx_remove() local