Home
last modified time | relevance | path

Searched refs:downstream_ (Results 1 – 3 of 3) sorted by relevance

/kernel/dev/pcie/
A Dpcie_upstream_node.cpp33 for (size_t i = 0; i < fbl::count_of(downstream_); ++i) in ~PcieUpstreamNode()
34 DEBUG_ASSERT(!downstream_[i]); in ~PcieUpstreamNode()
43 for (uint i = 0; i < fbl::count_of(downstream_); ++i) { in AllocateDownstreamBars()
54 for (uint i = 0; i < fbl::count_of(downstream_); ++i) { in DisableDownstream()
62 for (uint i = 0; i < fbl::count_of(downstream_); ++i) { in UnplugDownstream()
92 DEBUG_ASSERT(ndx < fbl::count_of(downstream_)); in ScanDownstream()
130 DEBUG_ASSERT(ndx < fbl::count_of(downstream_)); in ScanDevice()
131 DEBUG_ASSERT(downstream_[ndx] == nullptr); in ScanDevice()
A Dpcie_bus_driver.cpp237 DEBUG_ASSERT(ndx < fbl::count_of(upstream.downstream_)); in LinkDeviceToUpstream()
238 DEBUG_ASSERT(upstream.downstream_[ndx] == nullptr); in LinkDeviceToUpstream()
239 upstream.downstream_[ndx] = fbl::WrapRefPtr(&dev); in LinkDeviceToUpstream()
247 DEBUG_ASSERT(ndx < fbl::count_of(dev.upstream_->downstream_)); in UnlinkDeviceFromUpstream()
248 DEBUG_ASSERT(&dev == dev.upstream_->downstream_[ndx].get()); in UnlinkDeviceFromUpstream()
251 dev.upstream_->downstream_[ndx] = nullptr; in UnlinkDeviceFromUpstream()
265 DEBUG_ASSERT(ndx <= fbl::count_of(upstream.downstream_)); in GetDownstream()
267 auto ret = upstream.downstream_[ndx]; in GetDownstream()
385 for (uint i = 0; keep_going && (i < fbl::count_of(upstream->downstream_)); ++i) { in ForeachDownstreamDevice()
/kernel/dev/pcie/include/dev/
A Dpcie_upstream_node.h74 fbl::RefPtr<PcieDevice> downstream_[PCIE_MAX_FUNCTIONS_PER_BUS]; variable

Completed in 8 milliseconds