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()
120 struct cgx *cgx = cgxd; in cgx_get_lmac_cnt() local
202 struct cgx *cgx = cgxd; in cgx_set_pkind() local
212 static inline u8 cgx_get_lmac_type(struct cgx *cgx, int lmac_id) in cgx_get_lmac_type()
223 struct cgx *cgx = cgxd; in cgx_lmac_internal_loopback() local
252 struct cgx *cgx = cgx_get_pdata(cgx_id); in cgx_lmac_promisc_config() local
286 struct cgx *cgx = cgxd; in cgx_get_rx_stats() local
297 struct cgx *cgx = cgxd; in cgx_get_tx_stats() local
308 struct cgx *cgx = cgxd; in cgx_lmac_rx_tx_enable() local
327 struct cgx *cgx = lmac->cgx; in cgx_fwi_cmd_send() local
374 struct cgx *cgx, int lmac_id) in cgx_fwi_cmd_generic()
425 struct cgx *cgx, u8 lmac_id) in link_status_user_format()
442 struct cgx *cgx = lmac->cgx; in cgx_link_change_handler() local
502 struct cgx *cgx) in cgx_fwi_get_mkex_prfl_sz()
517 struct cgx *cgx) in cgx_fwi_get_mkex_prfl_addr()
558 struct cgx *cgx; in cgx_fwi_event_handler() local
608 struct cgx *cgx = cgxd; in cgx_lmac_evh_register() local
625 struct cgx *cgx = cgxd; in cgx_lmac_evh_unregister() local
640 static int cgx_fwi_link_change(struct cgx *cgx, int lmac_id, bool enable) in cgx_fwi_link_change()
653 static inline int cgx_fwi_read_version(u64 *resp, struct cgx *cgx) in cgx_fwi_read_version()
661 static int cgx_lmac_verify_fwi_version(struct cgx *cgx) in cgx_lmac_verify_fwi_version()
688 struct cgx *cgx = container_of(work, struct cgx, cgx_cmd_work); in cgx_lmac_linkup_work() local
703 struct cgx *cgx = cgxd; in cgx_lmac_linkup_start() local
714 static int cgx_lmac_init(struct cgx *cgx) in cgx_lmac_init()
753 static int cgx_lmac_exit(struct cgx *cgx) in cgx_lmac_exit()
780 struct cgx *cgx; in cgx_probe() local
856 struct cgx *cgx = pci_get_drvdata(pdev); in cgx_remove() local