Lines Matching refs:value
120 std::uint8_t value; in enableBridge() local
136 ret = pci->pci_device_cfg_read_u8(dev, &value, bridge); in enableBridge()
143 if (value & bridgeEnabled) in enableBridge()
149 value |= bridgeEnabled; in enableBridge()
151 ret = pci->pci_device_cfg_write_u8(dev, value, bridge); in enableBridge()
161 std::uint8_t value; in disableBridge() local
164 ret = pci->pci_device_cfg_read_u8(dev, &value, bridge); in disableBridge()
171 value &= ~bridgeEnabled; in disableBridge()
173 ret = pci->pci_device_cfg_write_u8(dev, value, bridge); in disableBridge()
186 std::uint32_t value; in enableBridge() local
202 std::memcpy(&value, addr + config, sizeof(value)); in enableBridge()
204 if (0 == (value & bridgeEnabled)) in enableBridge()
208 value |= bridgeEnabled; in enableBridge()
209 std::memcpy(addr + config, &value, sizeof(value)); in enableBridge()
220 std::uint32_t value; in disableBridge() local
221 std::memcpy(&value, addr + config, sizeof(value)); in disableBridge()
223 value &= ~bridgeEnabled; in disableBridge()
224 std::memcpy(addr + config, &value, sizeof(value)); in disableBridge()