Searched refs:lmacid (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 55 int lmacid; /* ID within BGX */ member 205 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status) in bgx_get_lmac_link_state() argument 215 lmac = &bgx->lmac[lmacid]; 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 228 return bgx->lmac[lmacid].mac; 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 241 ether_addr_copy(bgx->lmac[lmacid].mac, mac); in bgx_set_lmac_mac() 245 static void bgx_flush_dmac_cam_filter(struct bgx *bgx, int lmacid) in bgx_flush_dmac_cam_filter() argument 250 lmac = &bgx->lmac[lmacid]; in bgx_flush_dmac_cam_filter() 254 ((lmacid * lmac->dmacs_count) + idx) * in bgx_flush_dmac_cam_filter() [all …]
|
H A D | thunder_bgx.h | 219 void bgx_set_dmac_cam_filter(int node, int bgx_idx, int lmacid, u64 mac, u8 vf); 220 void bgx_reset_xcast_mode(int node, int bgx_idx, int lmacid, u8 vf); 221 void bgx_set_xcast_mode(int node, int bgx_idx, int lmacid, u8 mode); 222 void bgx_lmac_rx_tx_enable(int node, int bgx_idx, int lmacid, bool enable); 225 const u8 *bgx_get_lmac_mac(int node, int bgx_idx, int lmacid); 226 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac); 227 void bgx_get_lmac_link_state(int node, int bgx_idx, int lmacid, void *status); 230 void bgx_config_timestamping(int node, int bgx_idx, int lmacid, bool enable); 231 void bgx_lmac_get_pfc(int node, int bgx_idx, int lmacid, void *pause); 232 void bgx_lmac_set_pfc(int node, int bgx_idx, int lmacid, void *pause);
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_cn10k.c | 504 static void __rvu_rpm_set_channels(int cgxid, int lmacid, u16 base) in __rvu_rpm_set_channels() argument 508 cfg = cgx_lmac_read(cgxid, lmacid, RPMX_CMRX_LINK_CFG); in __rvu_rpm_set_channels() 516 cgx_lmac_write(cgxid, lmacid, RPMX_CMRX_LINK_CFG, cfg); in __rvu_rpm_set_channels()
|
H A D | rvu.h | 734 u8 lmacid, u8 chan) in rvu_nix_chan_cgx() argument 741 return NIX_CHAN_CGX_LMAC_CHX(cgxid, lmacid, chan); in rvu_nix_chan_cgx() 744 (cgxid * hw->lmac_per_cgx + lmacid) * cgx_chans + chan; in rvu_nix_chan_cgx()
|