Lines Matching defs:bgx

43 	struct bgx		*bgx;  member
67 struct bgx { struct
68 u8 bgx_id; argument
79 static struct bgx *bgx_vnic[MAX_BGX_THUNDER]; argument
107 static u64 bgx_reg_read(struct bgx *bgx, u8 lmac, u64 offset) in bgx_reg_read()
114 static void bgx_reg_write(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_write()
121 static void bgx_reg_modify(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_modify()
128 static int bgx_poll_reg(struct bgx *bgx, u8 lmac, u64 reg, u64 mask, bool zero) in bgx_poll_reg()
194 struct bgx *bgx; in bgx_get_lmac_count() local
208 struct bgx *bgx; in bgx_get_lmac_link_state() local
225 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_mac() local
236 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_lmac_mac() local
245 static void bgx_flush_dmac_cam_filter(struct bgx *bgx, int lmacid) in bgx_flush_dmac_cam_filter()
311 static int bgx_set_dmac_cam_filter_mac(struct bgx *bgx, int lmacid, in bgx_set_dmac_cam_filter_mac()
334 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_dmac_cam_filter() local
356 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_xcast_mode() local
390 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_reset_xcast_mode() local
404 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_rx_tx_enable() local
427 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_config_timestamping() local
456 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_get_pfc() local
476 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_set_pfc() local
496 struct bgx *bgx = lmac->bgx; in bgx_sgmii_change_link_state() local
623 struct bgx *bgx; in bgx_get_rx_stats() local
637 struct bgx *bgx; in bgx_get_tx_stats() local
651 struct bgx *bgx; in bgx_lmac_internal_loopback() local
678 static int bgx_lmac_sgmii_init(struct bgx *bgx, struct lmac *lmac) in bgx_lmac_sgmii_init()
738 static int bgx_lmac_xaui_init(struct bgx *bgx, struct lmac *lmac) in bgx_lmac_xaui_init()
844 struct bgx *bgx = lmac->bgx; in bgx_xaui_check_link() local
1047 static int bgx_lmac_enable(struct bgx *bgx, u8 lmacid) in bgx_lmac_enable()
1133 static void bgx_lmac_disable(struct bgx *bgx, u8 lmacid) in bgx_lmac_disable()
1184 static void bgx_init_hw(struct bgx *bgx) in bgx_init_hw()
1220 static u8 bgx_get_lane2sds_cfg(struct bgx *bgx, struct lmac *lmac) in bgx_get_lane2sds_cfg()
1225 static void bgx_print_qlm_mode(struct bgx *bgx, u8 lmacid) in bgx_print_qlm_mode()
1274 static void lmac_set_lane2sds(struct bgx *bgx, struct lmac *lmac) in lmac_set_lane2sds()
1303 static void lmac_set_training(struct bgx *bgx, struct lmac *lmac, int lmacid) in lmac_set_training()
1315 static void bgx_set_lmac_config(struct bgx *bgx, u8 idx) in bgx_set_lmac_config()
1354 static void bgx_get_qlm_mode(struct bgx *bgx) in bgx_get_qlm_mode()
1402 struct bgx *bgx = context; in bgx_acpi_register_phy() local
1423 struct bgx *bgx = context; in bgx_acpi_match_id() local
1442 static int bgx_init_acpi_phy(struct bgx *bgx) in bgx_init_acpi_phy()
1450 static int bgx_init_acpi_phy(struct bgx *bgx) in bgx_init_acpi_phy()
1459 static int bgx_init_of_phy(struct bgx *bgx) in bgx_init_of_phy()
1523 static int bgx_init_of_phy(struct bgx *bgx) in bgx_init_of_phy()
1530 static int bgx_init_phy(struct bgx *bgx) in bgx_init_phy()
1542 struct bgx *bgx = NULL; in bgx_probe() local
1633 struct bgx *bgx = pci_get_drvdata(pdev); in bgx_remove() local