Lines Matching defs:bgx
28 struct bgx *bgx; member
44 struct bgx { struct
45 u8 bgx_id; argument
56 static struct bgx *bgx_vnic[MAX_BGX_THUNDER]; argument
83 static u64 bgx_reg_read(struct bgx *bgx, u8 lmac, u64 offset) in bgx_reg_read()
90 static void bgx_reg_write(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_write()
97 static void bgx_reg_modify(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_modify()
104 static int bgx_poll_reg(struct bgx *bgx, u8 lmac, u64 reg, u64 mask, bool zero) in bgx_poll_reg()
139 struct bgx *bgx; in bgx_get_lmac_count() local
153 struct bgx *bgx; in bgx_get_lmac_link_state() local
169 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_get_lmac_mac() local
180 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_set_lmac_mac() local
191 struct bgx *bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx]; in bgx_lmac_rx_tx_enable() local
208 struct bgx *bgx = lmac->bgx; in bgx_sgmii_change_link_state() local
313 struct bgx *bgx; in bgx_get_rx_stats() local
327 struct bgx *bgx; in bgx_get_tx_stats() local
337 static void bgx_flush_dmac_addrs(struct bgx *bgx, int lmac) in bgx_flush_dmac_addrs()
353 struct bgx *bgx; in bgx_lmac_internal_loopback() local
380 static int bgx_lmac_sgmii_init(struct bgx *bgx, int lmacid) in bgx_lmac_sgmii_init()
419 static int bgx_lmac_xaui_init(struct bgx *bgx, int lmacid, int lmac_type) in bgx_lmac_xaui_init()
510 struct bgx *bgx = lmac->bgx; in bgx_xaui_check_link() local
645 static int bgx_lmac_enable(struct bgx *bgx, u8 lmacid) in bgx_lmac_enable()
708 static void bgx_lmac_disable(struct bgx *bgx, u8 lmacid) in bgx_lmac_disable()
734 static void bgx_set_num_ports(struct bgx *bgx) in bgx_set_num_ports()
790 static void bgx_init_hw(struct bgx *bgx) in bgx_init_hw()
835 static void bgx_get_qlm_mode(struct bgx *bgx) in bgx_get_qlm_mode()
913 struct bgx *bgx = context; in bgx_acpi_register_phy() local
933 struct bgx *bgx = context; in bgx_acpi_match_id() local
952 static int bgx_init_acpi_phy(struct bgx *bgx) in bgx_init_acpi_phy()
960 static int bgx_init_acpi_phy(struct bgx *bgx) in bgx_init_acpi_phy()
969 static int bgx_init_of_phy(struct bgx *bgx) in bgx_init_of_phy()
1007 static int bgx_init_of_phy(struct bgx *bgx) in bgx_init_of_phy()
1014 static int bgx_init_phy(struct bgx *bgx) in bgx_init_phy()
1026 struct bgx *bgx = NULL; in bgx_probe() local
1095 struct bgx *bgx = pci_get_drvdata(pdev); in bgx_remove() local