Lines Matching defs:lmac

45 struct lmac {  struct
53 u8 lmac_type; argument
58 int lmacid; /* ID within BGX */ argument
59 int lmacid_bd; /* ID on board */ argument
72 struct lmac lmac[MAX_LMAC_PER_BGX]; 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()
212 struct lmac *lmac; in bgx_get_lmac_link_state() local
250 struct lmac *lmac = NULL; in bgx_flush_dmac_cam_filter() local
261 static void bgx_lmac_remove_filters(struct lmac *lmac, u8 vf_id) in bgx_lmac_remove_filters()
283 static int bgx_lmac_save_filter(struct lmac *lmac, u64 dmac, u8 vf_id) in bgx_lmac_save_filter()
317 struct lmac *lmac = NULL; in bgx_set_dmac_cam_filter_mac() local
338 struct lmac *lmac = NULL; in bgx_set_dmac_cam_filter() local
360 struct lmac *lmac = NULL; in bgx_set_xcast_mode() local
408 struct lmac *lmac; in bgx_lmac_rx_tx_enable() local
431 struct lmac *lmac; in bgx_config_timestamping() local
460 struct lmac *lmac; in bgx_lmac_get_pfc() local
480 struct lmac *lmac; in bgx_lmac_set_pfc() local
497 static void bgx_sgmii_change_link_state(struct lmac *lmac) in bgx_sgmii_change_link_state()
587 struct lmac *lmac = container_of(netdev, struct lmac, netdev); in bgx_lmac_handler() local
624 u64 bgx_get_rx_stats(int node, int bgx_idx, int lmac, int idx) in bgx_get_rx_stats()
638 u64 bgx_get_tx_stats(int node, int bgx_idx, int lmac, int idx) in bgx_get_tx_stats()
655 struct lmac *lmac; 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()
845 static int bgx_xaui_check_link(struct lmac *lmac) in bgx_xaui_check_link()
936 static void bgx_poll_for_sgmii_link(struct lmac *lmac) in bgx_poll_for_sgmii_link()
993 struct lmac *lmac; in bgx_poll_for_link() local
1052 struct lmac *lmac; in bgx_lmac_enable() local
1138 struct lmac *lmac; in bgx_lmac_disable() local
1190 struct lmac *lmac; in bgx_init_hw() local
1223 static u8 bgx_get_lane2sds_cfg(struct bgx *bgx, struct lmac *lmac) in bgx_get_lane2sds_cfg()
1231 struct lmac *lmac; in bgx_print_qlm_mode() local
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()
1320 struct lmac *lmac; in bgx_set_lmac_config() local
1359 struct lmac *lmac; in bgx_get_qlm_mode() local
1472 u8 lmac = 0; in bgx_init_of_phy() local
1552 u8 lmac; in bgx_probe() local
1643 u8 lmac; in bgx_remove() local