Lines Matching defs:lmac

42 struct lmac {  struct
50 u8 lmac_type; argument
55 int lmacid; /* ID within BGX */ argument
56 int lmacid_bd; /* ID on board */ argument
69 struct lmac lmac[MAX_LMAC_PER_BGX]; argument
107 static u64 bgx_reg_read(struct bgx *bgx, u8 lmac, u64 offset) in bgx_reg_read()
114 static void bgx_reg_write(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_write()
121 static void bgx_reg_modify(struct bgx *bgx, u8 lmac, u64 offset, u64 val) in bgx_reg_modify()
128 static int bgx_poll_reg(struct bgx *bgx, u8 lmac, u64 reg, u64 mask, bool zero) in bgx_poll_reg()
209 struct lmac *lmac; in bgx_get_lmac_link_state() local
247 struct lmac *lmac = NULL; in bgx_flush_dmac_cam_filter() local
258 static void bgx_lmac_remove_filters(struct lmac *lmac, u8 vf_id) in bgx_lmac_remove_filters()
280 static int bgx_lmac_save_filter(struct lmac *lmac, u64 dmac, u8 vf_id) in bgx_lmac_save_filter()
314 struct lmac *lmac = NULL; in bgx_set_dmac_cam_filter_mac() local
335 struct lmac *lmac = NULL; in bgx_set_dmac_cam_filter() local
357 struct lmac *lmac = NULL; in bgx_set_xcast_mode() local
405 struct lmac *lmac; in bgx_lmac_rx_tx_enable() local
437 struct lmac *lmac; in bgx_config_timestamping() local
466 struct lmac *lmac; in bgx_lmac_get_pfc() local
486 struct lmac *lmac; in bgx_lmac_set_pfc() local
503 static void bgx_sgmii_change_link_state(struct lmac *lmac) in bgx_sgmii_change_link_state()
593 struct lmac *lmac = container_of(netdev, struct lmac, netdev); in bgx_lmac_handler() local
627 u64 bgx_get_rx_stats(int node, int bgx_idx, int lmac, int idx) in bgx_get_rx_stats()
641 u64 bgx_get_tx_stats(int node, int bgx_idx, int lmac, int idx) in bgx_get_tx_stats()
658 struct lmac *lmac; in bgx_lmac_internal_loopback() local
684 static int bgx_lmac_sgmii_init(struct bgx *bgx, struct lmac *lmac) in bgx_lmac_sgmii_init()
744 static int bgx_lmac_xaui_init(struct bgx *bgx, struct lmac *lmac) in bgx_lmac_xaui_init()
848 static int bgx_xaui_check_link(struct lmac *lmac) in bgx_xaui_check_link()
939 static void bgx_poll_for_sgmii_link(struct lmac *lmac) in bgx_poll_for_sgmii_link()
996 struct lmac *lmac; in bgx_poll_for_link() local
1055 struct lmac *lmac; in bgx_lmac_enable() local
1141 struct lmac *lmac; in bgx_lmac_disable() local
1193 struct lmac *lmac; in bgx_init_hw() local
1226 static u8 bgx_get_lane2sds_cfg(struct bgx *bgx, struct lmac *lmac) in bgx_get_lane2sds_cfg()
1234 struct lmac *lmac; in bgx_print_qlm_mode() local
1280 static void lmac_set_lane2sds(struct bgx *bgx, struct lmac *lmac) in lmac_set_lane2sds()
1309 static void lmac_set_training(struct bgx *bgx, struct lmac *lmac, int lmacid) in lmac_set_training()
1323 struct lmac *lmac; in bgx_set_lmac_config() local
1362 struct lmac *lmac; in bgx_get_qlm_mode() local
1472 u8 lmac = 0; in bgx_init_of_phy() local
1548 int lmac; in bgx_intr_handler() local
1591 u8 lmac; in bgx_probe() local
1684 u8 lmac; in bgx_remove() local