Home
last modified time | relevance | path

Searched refs:d (Results 1 – 6 of 6) sorted by relevance

/dev/bus/pci/bus_mgr/
A Dbus_mgr.cpp78 if (d->loc() == loc) { in lookup_device_by_loc()
79 ret = d; in lookup_device_by_loc()
229 …at loc %s: device id %#hx vendor id %#hx\n", pci_loc_string(d->loc(), str), d->device_id(), d->ven… in pci_bus_mgr_find_device()
260 pci_loc_string(d->loc(), str), d->base_class(), d->sub_class(), d->interface()); in pci_bus_mgr_find_device_by_class()
276 if (!d) { in pci_bus_mgr_enable_device()
280 return d->enable(); in pci_bus_mgr_enable_device()
288 if (!d) { in pci_bus_mgr_read_bars()
292 return d->read_bars(bar); in pci_bus_mgr_read_bars()
302 if (!d) { in pci_bus_mgr_allocate_msi()
306 if (!d->has_msi()) { in pci_bus_mgr_allocate_msi()
[all …]
A Dbus.cpp33 void bus::add_device(device *d) { in add_device() argument
35 list_add_tail(&child_devices_, &d->node); in add_device()
114 device *d; in probe() local
115 err = device::probe(loc, b, &d); in probe()
120 DEBUG_ASSERT(d); in probe()
121 b->add_device(d); in probe()
139 d->compute_bar_sizes(&sizes); in allocate_resources()
156 auto perdev = [&](device *d) -> status_t { in allocate_resources() argument
258 d->assign_child_resources(); in allocate_resources()
270 device *d; in dump() local
[all …]
A Dbus.h38 void add_device(device *d);
65 device *d; in for_every_device() local
66 list_for_every_entry(&child_devices_, d, device, node) { in for_every_device()
67 err = func(d); in for_every_device()
A Ddevice.cpp97 device *d = new device(loc, parent_bus); in probe() local
100 err = d->load_config(); in probe()
102 delete d; in probe()
107 d->load_bars(); in probe()
110 d->probe_capabilities(); in probe()
113 *out_device = d; in probe()
A Dbridge.cpp246 auto perdev = [&](device *d) -> status_t { in compute_bar_sizes_no_local_bar() argument
249 d->compute_bar_sizes(&sizes); in compute_bar_sizes_no_local_bar()
254 … pci_loc_string(d->loc(), str), sizes.io_size, sizes.io_align, sizes.mmio_size, sizes.mmio_align, in compute_bar_sizes_no_local_bar()
/dev/interrupt/arm_gic/
A Darm_gic.c151 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) argument

Completed in 16 milliseconds