Lines Matching refs:bgx_idx

172 static struct bgx *get_bgx(int node, int bgx_idx)  in get_bgx()  argument
174 int idx = (node * max_bgx_per_node) + bgx_idx; in get_bgx()
195 int bgx_get_lmac_count(int node, int bgx_idx) in bgx_get_lmac_count() argument
199 bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_count()
208 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status) in bgx_get_lmac_link_state() argument
214 bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_link_state()
226 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid) in bgx_get_lmac_mac() argument
228 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_get_lmac_mac()
237 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac) in bgx_set_lmac_mac() argument
239 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_lmac_mac()
334 void bgx_set_dmac_cam_filter(int node, int bgx_idx, int lmacid, in bgx_set_dmac_cam_filter() argument
337 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_dmac_cam_filter()
357 void bgx_set_xcast_mode(int node, int bgx_idx, int lmacid, u8 mode) in bgx_set_xcast_mode() argument
359 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_set_xcast_mode()
391 void bgx_reset_xcast_mode(int node, int bgx_idx, int lmacid, u8 vf_id) in bgx_reset_xcast_mode() argument
393 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_reset_xcast_mode()
400 bgx_set_xcast_mode(node, bgx_idx, lmacid, in bgx_reset_xcast_mode()
405 void bgx_lmac_rx_tx_enable(int node, int bgx_idx, int lmacid, bool enable) in bgx_lmac_rx_tx_enable() argument
407 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_rx_tx_enable()
428 void bgx_config_timestamping(int node, int bgx_idx, int lmacid, bool enable) in bgx_config_timestamping() argument
430 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_config_timestamping()
456 void bgx_lmac_get_pfc(int node, int bgx_idx, int lmacid, void *pause) in bgx_lmac_get_pfc() argument
459 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_get_pfc()
476 void bgx_lmac_set_pfc(int node, int bgx_idx, int lmacid, void *pause) in bgx_lmac_set_pfc() argument
479 struct bgx *bgx = get_bgx(node, bgx_idx); in bgx_lmac_set_pfc()
624 u64 bgx_get_rx_stats(int node, int bgx_idx, int lmac, int idx) in bgx_get_rx_stats() argument
628 bgx = get_bgx(node, bgx_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() argument
642 bgx = get_bgx(node, bgx_idx); in bgx_get_tx_stats()
651 void bgx_lmac_internal_loopback(int node, int bgx_idx, in bgx_lmac_internal_loopback() argument
658 bgx = get_bgx(node, bgx_idx); in bgx_lmac_internal_loopback()