Lines Matching full:bridge
137 /* Second bit determines whether bridge is enabled */
180 /* Lower bit determines whether bridge is enabled */
183 static constexpr int bridge = 0x0f004; member in host_tool::__anond86d8cb60111::AspeedDevice
349 std::unique_ptr<PciBridgeIntf> bridge = nuvotonDevice.getBridge(&pciMock); in TEST() local
350 EXPECT_THROW(bridge->write(std::span<std::uint8_t>(data)), ToolException); in TEST()
364 std::unique_ptr<PciBridgeIntf> bridge = nuvotonDevice.getBridge(&pciMock); in TEST() local
365 bridge->write(std::span<std::uint8_t>(data)); in TEST()
380 std::unique_ptr<PciBridgeIntf> bridge = nuvotonDevice.getBridge(&pciMock); in TEST() local
381 bridge->configure(config); in TEST()
395 std::unique_ptr<PciBridgeIntf> bridge = nuvotonDevice.getBridge(&pciMock); in TEST() local
396 EXPECT_EQ(bridge->getDataLength(), 0x4000); in TEST()
399 /* Make sure config register is left alone if the bridge is already enabled */
433 /* Read fails when attempting to setup the bridge */
450 /* Write fails when attempting to setup the bridge */
474 /* Read fails when attempting to disable the bridge */
506 /* Write fails when attempting to disable the bridge */
543 /* Make sure the bridge gets enabled when needed */
554 /* Make sure it skips the disable bridge call when skipBridgeDisable is true */
590 std::unique_ptr<PciBridgeIntf> bridge = aspeedDevice.getBridge(&pciMock); in TEST() local
591 EXPECT_THROW(bridge->write(std::span<std::uint8_t>(data)), ToolException); in TEST()
605 std::unique_ptr<PciBridgeIntf> bridge = aspeedDevice.getBridge(&pciMock); in TEST() local
606 bridge->write(std::span<std::uint8_t>(data)); in TEST()
621 std::unique_ptr<PciBridgeIntf> bridge = aspeedDevice.getBridge(&pciMock); in TEST() local
622 bridge->configure(config); in TEST()
626 std::span<uint8_t>(®ion[AspeedDevice::bridge], sizeof(config)), in TEST()
638 std::unique_ptr<PciBridgeIntf> bridge = aspeedDevice.getBridge(&pciMock); in TEST() local
639 EXPECT_EQ(bridge->getDataLength(), 0x10000); in TEST()
642 /* Make sure config region is left alone if the bridge is already enabled */
655 std::unique_ptr<PciBridgeIntf> bridge = aspeedDevice.getBridge(&pciMock); in TEST() local
664 bridge.reset(); in TEST()
688 std::unique_ptr<PciBridgeIntf> bridge = in TEST() local
698 bridge.reset(); in TEST()
708 /* Make sure the bridge gets enabled when needed */
721 std::unique_ptr<PciBridgeIntf> bridge = aspeedDevice.getBridge(&pciMock); in TEST() local
730 bridge.reset(); in TEST()