Lines Matching defs:lmac
27 struct lmac { struct
32 int lmacid; /* ID within BGX */ argument
33 int lmacid_bd; /* ID on board */ argument
47 struct lmac lmac[MAX_LMAC_PER_BGX]; 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()
154 struct lmac *lmac; in bgx_get_lmac_link_state() local
206 static void bgx_sgmii_change_link_state(struct lmac *lmac) in bgx_sgmii_change_link_state()
276 struct lmac *lmac = container_of(netdev, struct lmac, netdev); in bgx_lmac_handler() local
311 u64 bgx_get_rx_stats(int node, int bgx_idx, int lmac, int idx) in bgx_get_rx_stats()
325 u64 bgx_get_tx_stats(int node, int bgx_idx, int lmac, int idx) in bgx_get_tx_stats()
337 static void bgx_flush_dmac_addrs(struct bgx *bgx, int lmac) in bgx_flush_dmac_addrs()
354 struct lmac *lmac; in bgx_lmac_internal_loopback() local
508 static int bgx_xaui_check_link(struct lmac *lmac) in bgx_xaui_check_link()
611 struct lmac *lmac; in bgx_poll_for_link() local
647 struct lmac *lmac; in bgx_lmac_enable() local
710 struct lmac *lmac; in bgx_lmac_disable() local
973 u8 lmac = 0; in bgx_init_of_phy() local
1027 u8 lmac; in bgx_probe() local
1096 u8 lmac; in bgx_remove() local