Lines Matching refs:regindex
1998 int regindex; in wx_find_vlvf_slot() local
2007 for (regindex = 1; regindex < WX_PSR_VLAN_SWC_ENTRIES; regindex++) { in wx_find_vlvf_slot()
2008 wr32(wx, WX_PSR_VLAN_SWC_IDX, regindex); in wx_find_vlvf_slot()
2011 first_empty_slot = regindex; in wx_find_vlvf_slot()
2016 if (regindex >= WX_PSR_VLAN_SWC_ENTRIES) { in wx_find_vlvf_slot()
2018 regindex = first_empty_slot; in wx_find_vlvf_slot()
2020 regindex = -ENOMEM; in wx_find_vlvf_slot()
2023 return regindex; in wx_find_vlvf_slot()
2109 int regindex, ret; in wx_set_vfta() local
2122 regindex = (vlan >> 5) & 0x7F; in wx_set_vfta()
2126 vfta = wx->mac.vft_shadow[regindex]; in wx_set_vfta()
2146 wr32(wx, WX_PSR_VLAN_TBL(regindex), vfta); in wx_set_vfta()
2147 wx->mac.vft_shadow[regindex] = vfta; in wx_set_vfta()