Lines Matching defs:bgx
46 struct bgx *bgx; member
70 struct bgx { struct
71 u8 bgx_id; argument
82 static struct bgx *bgx_vnic[MAX_BGX_THUNDER]; argument
110 static u64 bgx_reg_read(struct bgx *bgx, u8 lmac, u64 offset) in bgx_reg_read()
117 static void bgx_reg_write(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_write()
124 static void bgx_reg_modify(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_modify()
131 static int bgx_poll_reg(struct bgx *bgx, u8 lmac, u64 reg, u64 mask, bool zero) in bgx_poll_reg()
197 struct bgx *bgx; in bgx_get_lmac_count() local
211 struct bgx *bgx; in bgx_get_lmac_link_state() local
228 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_mac() local
239 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_lmac_mac() local
248 static void bgx_flush_dmac_cam_filter(struct bgx *bgx, int lmacid) in bgx_flush_dmac_cam_filter()
314 static int bgx_set_dmac_cam_filter_mac(struct bgx *bgx, int lmacid, in bgx_set_dmac_cam_filter_mac()
337 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_dmac_cam_filter() local
359 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_xcast_mode() local
393 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_reset_xcast_mode() local
407 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_rx_tx_enable() local
430 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_config_timestamping() local
459 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_get_pfc() local
479 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_set_pfc() local
499 struct bgx *bgx = lmac->bgx; in bgx_sgmii_change_link_state() local
626 struct bgx *bgx; in bgx_get_rx_stats() local
640 struct bgx *bgx; in bgx_get_tx_stats() local
654 struct bgx *bgx; in bgx_lmac_internal_loopback() local
681 static int bgx_lmac_sgmii_init(struct bgx *bgx, struct lmac *lmac) in bgx_lmac_sgmii_init()
741 static int bgx_lmac_xaui_init(struct bgx *bgx, struct lmac *lmac) in bgx_lmac_xaui_init()
847 struct bgx *bgx = lmac->bgx; in bgx_xaui_check_link() local
1050 static int bgx_lmac_enable(struct bgx *bgx, u8 lmacid) in bgx_lmac_enable()
1136 static void bgx_lmac_disable(struct bgx *bgx, u8 lmacid) in bgx_lmac_disable()
1187 static void bgx_init_hw(struct bgx *bgx) in bgx_init_hw()
1223 static u8 bgx_get_lane2sds_cfg(struct bgx *bgx, struct lmac *lmac) in bgx_get_lane2sds_cfg()
1228 static void bgx_print_qlm_mode(struct bgx *bgx, u8 lmacid) in bgx_print_qlm_mode()
1277 static void lmac_set_lane2sds(struct bgx *bgx, struct lmac *lmac) in lmac_set_lane2sds()
1306 static void lmac_set_training(struct bgx *bgx, struct lmac *lmac, int lmacid) in lmac_set_training()
1318 static void bgx_set_lmac_config(struct bgx *bgx, u8 idx) in bgx_set_lmac_config()
1357 static void bgx_get_qlm_mode(struct bgx *bgx) in bgx_get_qlm_mode()
1411 struct bgx *bgx = context; in bgx_acpi_register_phy() local
1432 struct bgx *bgx = context; in bgx_acpi_match_id() local
1451 static int bgx_init_acpi_phy(struct bgx *bgx) in bgx_init_acpi_phy()
1459 static int bgx_init_acpi_phy(struct bgx *bgx) in bgx_init_acpi_phy()
1468 static int bgx_init_of_phy(struct bgx *bgx) in bgx_init_of_phy()
1532 static int bgx_init_of_phy(struct bgx *bgx) in bgx_init_of_phy()
1539 static int bgx_init_phy(struct bgx *bgx) in bgx_init_phy()
1551 struct bgx *bgx = NULL; in bgx_probe() local
1642 struct bgx *bgx = pci_get_drvdata(pdev); in bgx_remove() local