Searched refs:regindex (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/mips/nlm/ |
| H A D | xlp_pci.c | 219 int regindex = reg/sizeof(uint32_t); in xlp_pcib_read_config() local 232 if (b == 0 && regindex == 0xf && s % 8 > 1) in xlp_pcib_read_config() 233 regindex = XLP_PCI_DEVSCRATCH_REG0; in xlp_pcib_read_config() 235 data = nlm_read_pci_reg(cfgaddr, regindex); in xlp_pcib_read_config() 250 int regindex = reg / sizeof(uint32_t); in xlp_pcib_write_config() local 259 data = nlm_read_pci_reg(cfgaddr, regindex); in xlp_pcib_write_config() 263 data = nlm_read_pci_reg(cfgaddr, regindex); in xlp_pcib_write_config() 273 if (b == 0 && regindex == 0xf && s % 8 > 1) in xlp_pcib_write_config() 274 regindex = XLP_PCI_DEVSCRATCH_REG0; in xlp_pcib_write_config() 275 nlm_write_pci_reg(cfgaddr, regindex, data); in xlp_pcib_write_config()
|
| /f-stack/dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_82598.c | 977 u32 regindex; in ixgbe_set_vfta_82598() local 990 regindex = (vlan >> 5) & 0x7F; /* upper seven bits */ in ixgbe_set_vfta_82598() 997 bits = IXGBE_READ_REG(hw, IXGBE_VFTAVIND(vftabyte, regindex)); in ixgbe_set_vfta_82598() 1000 IXGBE_WRITE_REG(hw, IXGBE_VFTAVIND(vftabyte, regindex), bits); in ixgbe_set_vfta_82598() 1005 bits = IXGBE_READ_REG(hw, IXGBE_VFTA(regindex)); in ixgbe_set_vfta_82598() 1012 IXGBE_WRITE_REG(hw, IXGBE_VFTA(regindex), bits); in ixgbe_set_vfta_82598()
|
| H A D | ixgbe_common.c | 3886 s32 regindex, first_empty_slot; in ixgbe_find_vlvf_slot() local 3907 for (regindex = IXGBE_VLVF_ENTRIES; --regindex;) { in ixgbe_find_vlvf_slot() 3908 bits = IXGBE_READ_REG(hw, IXGBE_VLVF(regindex)); in ixgbe_find_vlvf_slot() 3910 return regindex; in ixgbe_find_vlvf_slot() 3912 first_empty_slot = regindex; in ixgbe_find_vlvf_slot()
|
| /f-stack/dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_hw.c | 1675 s32 regindex, first_empty_slot; in txgbe_find_vlvf_slot() local 1696 for (regindex = TXGBE_NUM_POOL; --regindex;) { in txgbe_find_vlvf_slot() 1697 wr32(hw, TXGBE_PSRVLANIDX, regindex); in txgbe_find_vlvf_slot() 1700 return regindex; in txgbe_find_vlvf_slot() 1702 first_empty_slot = regindex; in txgbe_find_vlvf_slot()
|