Lines Matching refs:bgx_idx
169 static struct bgx *get_bgx(int node, int bgx_idx) in get_bgx() argument
171 int idx = (node * max_bgx_per_node) + bgx_idx; in get_bgx()
192 int bgx_get_lmac_count(int node, int bgx_idx) in bgx_get_lmac_count() argument
196 bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_count()
205 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status) in bgx_get_lmac_link_state() argument
211 bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_link_state()
223 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid) in bgx_get_lmac_mac() argument
225 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_mac()
234 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac) in bgx_set_lmac_mac() argument
236 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_lmac_mac()
331 void bgx_set_dmac_cam_filter(int node, int bgx_idx, int lmacid, in bgx_set_dmac_cam_filter() argument
334 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_dmac_cam_filter()
354 void bgx_set_xcast_mode(int node, int bgx_idx, int lmacid, u8 mode) in bgx_set_xcast_mode() argument
356 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_xcast_mode()
388 void bgx_reset_xcast_mode(int node, int bgx_idx, int lmacid, u8 vf_id) in bgx_reset_xcast_mode() argument
390 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_reset_xcast_mode()
397 bgx_set_xcast_mode(node, bgx_idx, lmacid, in bgx_reset_xcast_mode()
402 void bgx_lmac_rx_tx_enable(int node, int bgx_idx, int lmacid, bool enable) in bgx_lmac_rx_tx_enable() argument
404 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_rx_tx_enable()
434 void bgx_config_timestamping(int node, int bgx_idx, int lmacid, bool enable) in bgx_config_timestamping() argument
436 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_config_timestamping()
462 void bgx_lmac_get_pfc(int node, int bgx_idx, int lmacid, void *pause) in bgx_lmac_get_pfc() argument
465 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_get_pfc()
482 void bgx_lmac_set_pfc(int node, int bgx_idx, int lmacid, void *pause) in bgx_lmac_set_pfc() argument
485 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_set_pfc()
627 u64 bgx_get_rx_stats(int node, int bgx_idx, int lmac, int idx) in bgx_get_rx_stats() argument
631 bgx = get_bgx(node, bgx_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() argument
645 bgx = get_bgx(node, bgx_idx); in bgx_get_tx_stats()
654 void bgx_lmac_internal_loopback(int node, int bgx_idx, in bgx_lmac_internal_loopback() argument
661 bgx = get_bgx(node, bgx_idx); in bgx_lmac_internal_loopback()