Lines Matching defs:cgx
49 struct cgx *cgx; member
54 struct cgx { struct
57 u8 cgx_id; argument
60 struct work_struct cgx_cmd_work; argument
61 struct workqueue_struct *cgx_cmd_workq; argument
62 struct list_head cgx_list; argument
74 static int cgx_fwi_link_change(struct cgx *cgx, int lmac_id, bool en); argument
84 static void cgx_write(struct cgx *cgx, u64 lmac, u64 offset, u64 val) in cgx_write()
89 static u64 cgx_read(struct cgx *cgx, u64 lmac, u64 offset) in cgx_read()
94 static inline struct lmac *lmac_pdata(u8 lmac_id, struct cgx *cgx) in lmac_pdata()
119 struct cgx *cgx = cgxd; in cgx_get_lmac_cnt() local
140 struct cgx *cgx = cgxd; in cgx_get_cgxid() local
206 struct cgx *cgx = cgxd; in cgx_set_pkind() local
215 static inline u8 cgx_get_lmac_type(struct cgx *cgx, int lmac_id) in cgx_get_lmac_type()
226 struct cgx *cgx = cgxd; in cgx_lmac_internal_loopback() local
254 struct cgx *cgx = cgx_get_pdata(cgx_id); in cgx_lmac_promisc_config() local
288 struct cgx *cgx = cgxd; in cgx_lmac_enadis_rx_pause_fwding() local
315 struct cgx *cgx = cgxd; in cgx_get_rx_stats() local
325 struct cgx *cgx = cgxd; in cgx_get_tx_stats() local
335 struct cgx *cgx = cgxd; in cgx_lmac_rx_tx_enable() local
352 struct cgx *cgx = cgxd; in cgx_lmac_tx_enable() local
373 struct cgx *cgx = cgxd; in cgx_lmac_get_pause_frm() local
390 struct cgx *cgx = cgxd; in cgx_lmac_set_pause_frm() local
417 static void cgx_lmac_pause_frm_config(struct cgx *cgx, int lmac_id, bool enable) in cgx_lmac_pause_frm_config()
473 struct cgx *cgx = cgxd; in cgx_lmac_ptp_config() local
503 struct cgx *cgx = lmac->cgx; in cgx_fwi_cmd_send() local
550 struct cgx *cgx, int lmac_id) in cgx_fwi_cmd_generic()
601 struct cgx *cgx, u8 lmac_id) in link_status_user_format()
618 struct cgx *cgx = lmac->cgx; in cgx_link_change_handler() local
680 struct cgx *cgx; in cgx_fwi_event_handler() local
730 struct cgx *cgx = cgxd; in cgx_lmac_evh_register() local
746 struct cgx *cgx = cgxd; in cgx_lmac_evh_unregister() local
763 struct cgx *cgx; in cgx_get_fwdata_base() local
778 static int cgx_fwi_link_change(struct cgx *cgx, int lmac_id, bool enable) in cgx_fwi_link_change()
791 static inline int cgx_fwi_read_version(u64 *resp, struct cgx *cgx) in cgx_fwi_read_version()
799 static int cgx_lmac_verify_fwi_version(struct cgx *cgx) in cgx_lmac_verify_fwi_version()
826 struct cgx *cgx = container_of(work, struct cgx, cgx_cmd_work); in cgx_lmac_linkup_work() local
841 struct cgx *cgx = cgxd; in cgx_lmac_linkup_start() local
851 static int cgx_lmac_init(struct cgx *cgx) in cgx_lmac_init()
891 static int cgx_lmac_exit(struct cgx *cgx) in cgx_lmac_exit()
919 struct cgx *cgx; in cgx_probe() local
995 struct cgx *cgx = pci_get_drvdata(pdev); in cgx_remove() local