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
436 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_config_timestamping() local
465 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_get_pfc() local
485 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_set_pfc() local
505 struct bgx *bgx = lmac->bgx; in bgx_sgmii_change_link_state() local
629 struct bgx *bgx; in bgx_get_rx_stats() local
643 struct bgx *bgx; in bgx_get_tx_stats() local
657 struct bgx *bgx; in bgx_lmac_internal_loopback() local
684 static int bgx_lmac_sgmii_init(struct bgx *bgx, struct lmac *lmac) in bgx_lmac_sgmii_init()
744 static int bgx_lmac_xaui_init(struct bgx *bgx, struct lmac *lmac) in bgx_lmac_xaui_init()
850 struct bgx *bgx = lmac->bgx; in bgx_xaui_check_link() local
1053 static int bgx_lmac_enable(struct bgx *bgx, u8 lmacid) in bgx_lmac_enable()
1138 static void bgx_lmac_disable(struct bgx *bgx, u8 lmacid) in bgx_lmac_disable()
1189 static void bgx_init_hw(struct bgx *bgx) in bgx_init_hw()
1225 static u8 bgx_get_lane2sds_cfg(struct bgx *bgx, struct lmac *lmac) in bgx_get_lane2sds_cfg()
1230 static void bgx_print_qlm_mode(struct bgx *bgx, u8 lmacid) in bgx_print_qlm_mode()
1279 static void lmac_set_lane2sds(struct bgx *bgx, struct lmac *lmac) in lmac_set_lane2sds()
1308 static void lmac_set_training(struct bgx *bgx, struct lmac *lmac, int lmacid) in lmac_set_training()
1320 static void bgx_set_lmac_config(struct bgx *bgx, u8 idx) in bgx_set_lmac_config()
1359 static void bgx_get_qlm_mode(struct bgx *bgx) in bgx_get_qlm_mode()
1407 struct bgx *bgx = context; in bgx_acpi_register_phy() local
1429 struct bgx *bgx = context; in bgx_acpi_match_id() local
1450 static int bgx_init_acpi_phy(struct bgx *bgx) in bgx_init_acpi_phy()
1458 static int bgx_init_acpi_phy(struct bgx *bgx) in bgx_init_acpi_phy()
1467 static int bgx_init_of_phy(struct bgx *bgx) in bgx_init_of_phy()
1528 static int bgx_init_of_phy(struct bgx *bgx) in bgx_init_of_phy()
1535 static int bgx_init_phy(struct bgx *bgx) in bgx_init_phy()
1545 struct bgx *bgx = (struct bgx *)data; in bgx_intr_handler() local
1569 struct bgx *bgx = pci_get_drvdata(pdev); in bgx_register_intr() local
1589 struct bgx *bgx = NULL; in bgx_probe() local
1682 struct bgx *bgx = pci_get_drvdata(pdev); in bgx_remove() local