/external/grub/netboot/ |
D | pci.c | 34 #define CONFIG_CMD(bus, device_fn, where) (0x80000000 | (bus << 16) | (device_fn << 8) | (where &… argument 36 int pcibios_read_config_byte(unsigned int bus, unsigned int device_fn, in pcibios_read_config_byte() argument 39 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_read_config_byte() 44 int pcibios_read_config_word (unsigned int bus, in pcibios_read_config_word() argument 47 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_read_config_word() 52 int pcibios_read_config_dword (unsigned int bus, unsigned int device_fn, in pcibios_read_config_dword() argument 55 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_read_config_dword() 60 int pcibios_write_config_byte (unsigned int bus, unsigned int device_fn, in pcibios_write_config_byte() argument 63 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pcibios_write_config_byte() 68 int pcibios_write_config_word (unsigned int bus, unsigned int device_fn, in pcibios_write_config_word() argument [all …]
|
D | pci.h | 180 unsigned char bus; member 185 extern int pcibios_read_config_byte(unsigned int bus, unsigned int device_fn, unsigned int where, u… 186 extern int pcibios_write_config_byte (unsigned int bus, unsigned int device_fn, unsigned int where,… 187 extern int pcibios_read_config_word(unsigned int bus, unsigned int device_fn, unsigned int where, u… 188 extern int pcibios_write_config_word (unsigned int bus, unsigned int device_fn, unsigned int where,… 189 extern int pcibios_read_config_dword(unsigned int bus, unsigned int device_fn, unsigned int where, … 190 extern int pcibios_write_config_dword(unsigned int bus, unsigned int device_fn, unsigned int where,…
|
/external/qemu/hw/ |
D | pci.c | 61 PCIBus *bus = (PCIBus *)opaque; in pcibus_save() local 64 qemu_put_be32(f, bus->nirq); in pcibus_save() 65 for (i = 0; i < bus->nirq; i++) in pcibus_save() 66 qemu_put_be32(f, bus->irq_count[i]); in pcibus_save() 71 PCIBus *bus = (PCIBus *)opaque; in pcibus_load() local 78 if (bus->nirq != nirq) { in pcibus_load() 80 nirq, bus->nirq); in pcibus_load() 85 bus->irq_count[i] = qemu_get_be32(f); in pcibus_load() 94 PCIBus *bus; in pci_register_bus() local 97 bus = FROM_QBUS(PCIBus, qbus_create(BUS_TYPE_PCI, in pci_register_bus() [all …]
|
D | qdev.c | 71 DeviceState *qdev_create(BusState *bus, const char *name) in qdev_create() argument 88 if (!bus) { in qdev_create() 94 bus = main_system_bus; in qdev_create() 96 if (t->info->bus_type != bus->type) { in qdev_create() 99 t->info->bus_type, bus->type); in qdev_create() 101 dev->parent_bus = bus; in qdev_create() 102 QLIST_INSERT_HEAD(&bus->children, dev, sibling); in qdev_create() 159 BusState *bus; in qdev_device_add() 178 bus = qbus_find(path); in qdev_device_add() 179 if (!bus) { in qdev_device_add() [all …]
|
D | pci_host.h | 39 PCIBus *bus; member 49 pci_data_write(s->bus, s->config_reg | (addr & 3), val, 1); in pci_host_data_writeb() 61 pci_data_write(s->bus, s->config_reg | (addr & 3), val, 2); in pci_host_data_writew() 73 pci_data_write(s->bus, s->config_reg, val, 4); in pci_host_data_writel() 83 val = pci_data_read(s->bus, s->config_reg | (addr & 3), 1); in pci_host_data_readb() 95 val = pci_data_read(s->bus, s->config_reg | (addr & 3), 2); in pci_host_data_readw() 110 val = pci_data_read(s->bus, s->config_reg | (addr & 3), 4); in pci_host_data_readl()
|
/external/guava/guava-tests/test/com/google/common/eventbus/ |
D | EventBusTest.java | 34 private EventBus bus; field in EventBusTest 38 bus = new EventBus(BUS_IDENTIFIER); in setUp() 43 bus.register(catcher); in testBasicCatcherDistribution() 45 Set<EventHandler> wrappers = bus.getHandlersForEventType(String.class); in testBasicCatcherDistribution() 49 bus.post(EVENT); in testBasicCatcherDistribution() 84 bus.register(stringCatcher); in testPolymorphicDistribution() 85 bus.register(objCatcher); in testPolymorphicDistribution() 86 bus.register(compCatcher); in testPolymorphicDistribution() 92 bus.post(EVENT); in testPolymorphicDistribution() 93 bus.post(OBJ_EVENT); in testPolymorphicDistribution() [all …]
|
D | ReentrantEventsTest.java | 34 final EventBus bus = new EventBus(); field in ReentrantEventsTest 38 bus.register(hater); in testNoReentrantEvents() 40 bus.post(FIRST); in testNoReentrantEvents() 55 bus.post(SECOND); in listenForStrings() 70 bus.register(processor); in testEventOrderingIsPredictable() 73 bus.register(recorder); in testEventOrderingIsPredictable() 75 bus.post(FIRST); in testEventOrderingIsPredictable() 83 bus.post(SECOND); in listenForStrings()
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
D | wpas-dbus-new-signals.py | 32 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 48 net_obj = bus.get_object(WPAS_DBUS_SERVICE, bss) 128 global bus 129 bus = dbus.SystemBus() 130 wpas_obj = bus.get_object(WPAS_DBUS_SERVICE, WPAS_DBUS_OPATH) 137 bus.add_signal_receiver(interfaceAdded, 140 bus.add_signal_receiver(interfaceRemoved, 143 bus.add_signal_receiver(propertiesChanged, 149 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 154 bus.add_signal_receiver(scanDone, [all …]
|
D | wpas-dbus-new-wps.py | 38 global bus 39 bus = dbus.SystemBus() 40 wpas_obj = bus.get_object(WPAS_DBUS_SERVICE, WPAS_DBUS_OPATH) 47 bus.add_signal_receiver(scanDone, 50 bus.add_signal_receiver(bssAdded, 53 bus.add_signal_receiver(bssRemoved, 56 bus.add_signal_receiver(propertiesChanged, 59 bus.add_signal_receiver(wpsEvent, 62 bus.add_signal_receiver(credentials, 69 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path)
|
D | wpas-dbus-new.py | 31 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path) 41 net_obj = bus.get_object(WPAS_DBUS_SERVICE, bss) 98 global bus 99 bus = dbus.SystemBus() 100 wpas_obj = bus.get_object(WPAS_DBUS_SERVICE, WPAS_DBUS_OPATH) 107 bus.add_signal_receiver(scanDone, 110 bus.add_signal_receiver(bssAdded, 113 bus.add_signal_receiver(bssRemoved, 116 bus.add_signal_receiver(propertiesChanged, 138 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path)
|
/external/libusb-compat/libusb/ |
D | core.c | 175 struct usb_bus *bus; in find_busses() local 203 bus = busses; in find_busses() 206 if (bus_num == bus->location) { in find_busses() 210 } while ((bus = bus->next) != NULL); in find_busses() 216 bus = malloc(sizeof(*bus)); in find_busses() 217 if (!bus) in find_busses() 220 memset(bus, 0, sizeof(*bus)); in find_busses() 221 bus->location = bus_num; in find_busses() 222 sprintf(bus->dirname, "%03d", bus_num); in find_busses() 223 LIST_ADD(busses, bus); in find_busses() [all …]
|
/external/kernel-headers/original/linux/ |
D | pci.h | 114 struct pci_bus *bus; /* bus this device is on */ member 269 int (*read)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val); 270 int (*write)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val); 274 int (*read)(unsigned int domain, unsigned int bus, unsigned int devfn, 276 int (*write)(unsigned int domain, unsigned int bus, unsigned int devfn, 415 void pci_bus_add_devices(struct pci_bus *bus); 416 struct pci_bus *pci_scan_bus_parented(struct device *parent, int bus, struct pci_ops *ops, void *sy… 417 static inline struct pci_bus *pci_scan_bus(int bus, struct pci_ops *ops, void *sysdata) in pci_scan_bus() argument 420 root_bus = pci_scan_bus_parented(NULL, bus, ops, sysdata); in pci_scan_bus() 425 struct pci_bus *pci_create_bus(struct device *parent, int bus, struct pci_ops *ops, void *sysdata); [all …]
|
/external/bluetooth/bluez/test/ |
D | test-attrib | 16 bus = dbus.SystemBus() variable 19 manager = dbus.Interface(bus.get_object("org.bluez", "/"), "org.bluez.Manager") 34 adapter = dbus.Interface(bus.get_object("org.bluez", adapter_path), 48 device = dbus.Interface(bus.get_object("org.bluez", path), 54 service = dbus.Interface(bus.get_object("org.bluez", path), 72 device = dbus.Interface(bus.get_object("org.bluez", path), 83 service = dbus.Interface(bus.get_object("org.bluez", args[1]), 93 service = dbus.Interface(bus.get_object("org.bluez", args[1]), 98 char = dbus.Interface(bus.get_object("org.bluez", path),
|
D | test-device | 12 bus = dbus.SystemBus() variable 15 manager = dbus.Interface(bus.get_object("org.bluez", "/"), "org.bluez.Manager") 30 adapter = dbus.Interface(bus.get_object("org.bluez", adapter_path), 51 device = dbus.Interface(bus.get_object("org.bluez", path), 93 device = dbus.Interface(bus.get_object("org.bluez", path), 103 device = dbus.Interface(bus.get_object("org.bluez", path), 123 device = dbus.Interface(bus.get_object("org.bluez", path), 134 device = dbus.Interface(bus.get_object("org.bluez", path), 145 device = dbus.Interface(bus.get_object("org.bluez", path), 159 device = dbus.Interface(bus.get_object("org.bluez", path), [all …]
|
D | monitor-bluetooth | 21 bus = dbus.SystemBus() variable 23 bus.add_signal_receiver(property_changed, bus_name="org.bluez", 28 bus.add_signal_receiver(object_signal, bus_name="org.bluez", 33 bus.add_signal_receiver(object_signal, bus_name="org.bluez", 38 bus.add_signal_receiver(object_signal, bus_name="org.bluez", 44 bus.add_signal_receiver(object_signal, bus_name="org.bluez", 49 bus.add_signal_receiver(object_signal, bus_name="org.bluez",
|
D | test-telephony | 7 bus = dbus.SystemBus() variable 9 manager = dbus.Interface(bus.get_object("org.bluez", "/"), "org.bluez.Manager") 24 adapter = dbus.Interface(bus.get_object("org.bluez", adapter_path), 27 test = dbus.Interface(bus.get_object("org.bluez", "/org/bluez/test"), 55 headset = dbus.Interface(bus.get_object("org.bluez", device), 65 headset = dbus.Interface(bus.get_object("org.bluez", device), 75 headset = dbus.Interface(bus.get_object("org.bluez", device), 90 headset = dbus.Interface(bus.get_object("org.bluez", device), 105 headset = dbus.Interface(bus.get_object("org.bluez", device), 116 headset = dbus.Interface(bus.get_object("org.bluez", device),
|
D | test-oob | 20 bus = dbus.SystemBus() variable 21 manager = dbus.Interface(bus.get_object("org.bluez", "/"), 27 adapter0 = dbus.Interface(bus.get_object("org.bluez", adapter0_path), 29 adapter1 = dbus.Interface(bus.get_object("org.bluez", adapter1_path), 57 oob_adapter0 = dbus.Interface(bus.get_object("org.bluez", 59 oob_adapter1 = dbus.Interface(bus.get_object("org.bluez",
|
D | dbusdef.py | 3 bus = dbus.SystemBus() variable 6 dummy = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.freedesktop.DBus.Introspectable') 11 manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.bluez.Manager') 14 …adapter = dbus.Interface(bus.get_object('org.bluez', manager.DefaultAdapter()), 'org.bluez.Adapter…
|
D | test-discovery | 26 bus = dbus.SystemBus() variable 27 manager = dbus.Interface(bus.get_object("org.bluez", "/"), 43 adapter = dbus.Interface(bus.get_object("org.bluez", adapter_path), 46 bus.add_signal_receiver(device_found, 50 bus.add_signal_receiver(property_changed,
|
/external/libusb-compat/examples/ |
D | lsusb.c | 26 struct usb_bus *bus; in main() local 33 for (bus = busses; bus; bus = bus->next) { in main() 35 for (dev = bus->devices; dev; dev = dev->next) { in main()
|
D | testlibusb.c | 131 struct usb_bus *bus; in main() local 141 for (bus = usb_busses; bus; bus = bus->next) { in main() 142 if (bus->root_dev && !verbose) in main() 143 print_device(bus->root_dev, 0); in main() 147 for (dev = bus->devices; dev; dev = dev->next) in main()
|
/external/webkit/Source/WebCore/webaudio/ |
D | AudioBuffer.cpp | 49 OwnPtr<AudioBus> bus = createBusFromInMemoryAudioFile(data, dataSize, mixToMono, sampleRate); in createFromAudioFileData() local 50 if (bus.get()) in createFromAudioFileData() 51 return adoptRef(new AudioBuffer(bus.get())); in createFromAudioFileData() 69 AudioBuffer::AudioBuffer(AudioBus* bus) in AudioBuffer() argument 71 , m_sampleRate(bus->sampleRate()) in AudioBuffer() 72 , m_length(bus->length()) in AudioBuffer() 75 unsigned numberOfChannels = bus->numberOfChannels(); in AudioBuffer() 80 channelDataArray->setRange(bus->channel(i)->data(), m_length, 0, ec); in AudioBuffer()
|
/external/dbus/test/name-test/ |
D | tmp-session-like-system.conf | 1 <!-- This configuration file controls the per-user-login-session message bus. 8 <!-- Our well-known bus type, don't change this --> 21 <!-- intended to match system bus --> 23 <!-- All users can connect to system bus --> 43 <!-- Allow anyone to talk to the message bus --> 45 <!-- But disallow some specific bus services --> 68 <!-- For the session bus, override the default relatively-low limits 69 with essentially infinite limits, since the bus is just running 70 as the user anyway, using up bus resources is not something we need 73 having the bus enforce a limit is nicer than a huge memory leak. But the
|
/external/dbus/cmake/bus/ |
D | CMakeLists.txt | 1 project(bus) project 6 SET(BUS_DIR ${CMAKE_SOURCE_DIR}/../bus) 43 ${BUS_DIR}/bus.c 44 ${BUS_DIR}/bus.h 90 ${BUS_DIR}/bus-service-win.c 103 add_executable(bus-test ${BUS_SOURCES} ${BUS_DIR}/test-main.c) 104 target_link_libraries(bus-test ${DBUS_INTERNAL_LIBRARIES} ${XML_LIBRARY}) 105 set_target_properties(bus-test PROPERTIES COMPILE_FLAGS ${DBUS_INTERNAL_CLIENT_DEFINITIONS}) 106 add_test(bus-test ${EXECUTABLE_OUTPUT_PATH}/bus-test ${CMAKE_BINARY_DIR}/test/data) 143 add_executable(bus-test-launch-helper ${LAUNCH_HELPER_SOURCES} ${BUS_DIR}/test-launch-helper.c) [all …]
|
/external/dbus/ |
D | ChangeLog.pre-1-2 | 23 * bus/expirelist.c 35 * bus/dir-watch-inotify.c (bus_watch_directory): Only monitor 38 * bus/dir-watch-inotify.c (_handle_inotify_watch): Fix typo in 40 * bus/dir-watch-inotify.c (bus_drop_all_directory_watches): Use 45 * bus/connection.c, bus/expirelist.c: Make the BusExpireList 76 * dbus/dbus-bus.c: Set default exit_on_disconnect after registration with 77 the bus, not before. This ensures that programs which wish to set 78 exit_on_disconnect to FALSE will not be terminated if the bus exits 132 and potentially allowing restricted methods exported on the bus to be 134 * bus/policy.c (bus_client_policy_check_can_send, [all …]
|