Lines Matching defs:lmac
34 struct lmac { struct
40 int lmacid; /* ID within BGX */ argument
50 int lmac_type; argument
59 struct lmac lmac[MAX_LMAC_PER_BGX]; argument
72 static u64 bgx_reg_read(struct bgx *bgx, uint8_t lmac, u64 offset) in bgx_reg_read()
80 static void bgx_reg_write(struct bgx *bgx, uint8_t lmac, in bgx_reg_write()
89 static void bgx_reg_modify(struct bgx *bgx, uint8_t lmac, in bgx_reg_modify()
98 static int bgx_poll_reg(struct bgx *bgx, uint8_t lmac, in bgx_poll_reg()
133 static bool is_bgx_port_valid(int bgx, int lmac) in is_bgx_port_valid()
218 static void bgx_flush_dmac_addrs(struct bgx *bgx, u64 lmac) in bgx_flush_dmac_addrs()
238 struct lmac *lmac; in bgx_lmac_internal_loopback() local
307 struct lmac *lmac; in bgx_lmac_sgmii_init() local
371 static int bgx_lmac_sgmii_set_link_speed(struct lmac *lmac) in bgx_lmac_sgmii_set_link_speed()
454 struct lmac *lmac; in bgx_lmac_xaui_init() local
648 static int bgx_xaui_check_link(struct lmac *lmac) in bgx_xaui_check_link()
848 struct lmac *lmac; in bgx_lmac_enable() local
885 struct lmac *lmac = bgx_get_lmac(node, bgx_idx, lmacid); in bgx_poll_for_link() local
1024 struct lmac *lmac; in bgx_lmac_disable() local
1046 struct lmac *lmac; in bgx_init_hw() local
1282 struct lmac *lmac; in bgx_get_qlm_mode() local
1440 struct lmac *lmac; in octeontx_bgx_remove() local
1465 u8 lmac = 0; in octeontx_bgx_probe() local