Lines Matching refs:fbl
24 #include <fbl/algorithm.h>
25 #include <fbl/alloc_checker.h>
26 #include <fbl/limits.h>
27 #include <fbl/ref_ptr.h>
28 #include <fbl/unique_free_ptr.h>
54 static fbl::RefPtr<PcieRoot> Create(PcieBusDriver& bus_drv,
57 fbl::AllocChecker ac;
58 auto root = fbl::AdoptRef(new (&ac) PcieRootLUTSwizzle(bus_drv,
72 (dev_id >= fbl::count_of(lut_)) ||
73 (func_id >= fbl::count_of(lut_[dev_id])) ||
74 (pin >= fbl::count_of(lut_[dev_id][func_id])))
95 for (size_t dev = 0; dev < fbl::count_of(*lut); ++dev) {
96 for (size_t func = 0; func < fbl::count_of((*lut)[dev]); ++func) {
97 for (size_t pin = 0; pin < fbl::count_of((*lut)[dev][func]); ++pin) {
140 fbl::unique_free_ptr<zx_pci_init_arg_t> arg;
181 if (arg->num_irqs > fbl::count_of(arg->irqs)) {
260 ASSERT(arg->addr_windows[0].base < fbl::numeric_limits<paddr_t>::max());
289 zx_status_t ret = pcie->AddRoot(fbl::move(root));
326 fbl::RefPtr<Dispatcher> dispatcher;
339 return out_handle->make(fbl::move(dispatcher), rights);
344 fbl::RefPtr<PciDeviceDispatcher> pci_device;
345 fbl::RefPtr<Dispatcher> dispatcher;
379 fbl::RefPtr<PciDeviceDispatcher> pci_device;
380 fbl::RefPtr<Dispatcher> dispatcher;
452 fbl::RefPtr<PciDeviceDispatcher> pci_device;
469 fbl::RefPtr<PciDeviceDispatcher> pci_device;
489 fbl::RefPtr<PciDeviceDispatcher> pci_device;
510 fbl::RefPtr<Dispatcher> dispatcher;
511 fbl::RefPtr<VmObject> vmo;
517 fbl::max<uint64_t>(info->size, PAGE_SIZE), &vmo);
551 return out_handle->make(fbl::move(dispatcher), rights);
571 fbl::RefPtr<PciDeviceDispatcher> pci_device;
577 fbl::RefPtr<Dispatcher> interrupt_dispatcher;
583 return out_handle->make(fbl::move(interrupt_dispatcher), rights);
599 fbl::RefPtr<PciDeviceDispatcher> pci_device;
629 fbl::RefPtr<PciDeviceDispatcher> pci_device;