Home
last modified time | relevance | path

Searched refs:bus (Results 1 – 25 of 153) sorted by relevance

1234567

/external/grub/netboot/
Dpci.c34 #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 …]
Dpci.h180 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/
Dpci.c61 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 …]
Dqdev.c71 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 …]
Dpci_host.h39 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()
Dpci.h146 PCIBus *bus; member
163 PCIDevice *pci_register_device(PCIBus *bus, const char *name,
186 PCIDevice *pci_nic_init(PCIBus *bus, NICInfo *nd, int devfn,
199 PCIBus *pci_bridge_init(PCIBus *bus, int devfn, uint16_t vid, uint16_t did,
223 PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name);
230 void pci_vmsvga_init(PCIBus *bus);
233 void usb_uhci_piix3_init(PCIBus *bus, int devfn);
234 void usb_uhci_piix4_init(PCIBus *bus, int devfn);
237 void usb_ohci_init_pci(struct PCIBus *bus, int num_ports, int devfn);
Dpc.h111 i2c_bus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base,
127 int piix3_init(PCIBus *bus, int devfn);
131 int piix4_init(PCIBus *bus, int devfn);
142 int pci_vga_init(PCIBus *bus,
148 void pci_cirrus_vga_init(PCIBus *bus);
154 void pci_cmd646_ide_init(PCIBus *bus, BlockDriverState **hd_table,
156 void pci_piix3_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
158 void pci_piix4_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
/external/guava/guava-tests/test/com/google/common/eventbus/
DEventBusTest.java34 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 …]
DReentrantEventsTest.java34 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()
DAsyncEventBusTest.java34 private AsyncEventBus bus; field in AsyncEventBusTest
39 bus = new AsyncEventBus(executor); in setUp()
44 bus.register(catcher); in testBasicDistribution()
47 bus.post(EVENT); in testBasicDistribution()
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dwpas-dbus-new-signals.py32 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 …]
Dwpas-dbus-new-wps.py38 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)
Dwpas-dbus-new.py31 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)
Ddbus-listen-preq.py32 global bus
39 bus = dbus.SystemBus() variable
40 wpas_obj = bus.get_object(WPAS_DBUS_SERVICE, WPAS_DBUS_OPATH)
53 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path)
56 bus.add_signal_receiver(ProbeRequest,
Dwpas-dbus-new-getall.py9 bus = dbus.SystemBus()
10 wpas_obj = bus.get_object("fi.w1.wpa_supplicant1",
24 if_obj = bus.get_object("fi.w1.wpa_supplicant1", path)
40 bss_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0])
50 net_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0])
/external/libusb-compat/libusb/
Dcore.c175 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/
Dpci.h114 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/libusb-compat/examples/
Dlsusb.c26 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()
Dtestlibusb.c131 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/
DAudioBuffer.cpp49 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()
DAudioChannelMerger.cpp62 ASSERT_UNUSED(framesToProcess, framesToProcess == output->bus()->length()); in process()
69 numberOfOutputChannels += input->bus()->numberOfChannels(); in process()
80 unsigned numberOfInputChannels = input->bus()->numberOfChannels(); in process()
84 AudioChannel* inputChannel = input->bus()->channel(j); in process()
85 AudioChannel* outputChannel = output->bus()->channel(outputChannelIndex); in process()
/external/oprofile/events/i386/atom/
Devents23 event:0x21 counters:0,1 um:core minimum:6000 name:CORE : Cycles L2 address bus is in use
24 event:0x22 counters:0,1 um:core minimum:6000 name:L2_DBUS_BUSY : Cycles the L2 cache data bus is bu…
39 …t minimum:6000 name:BUS_REQUEST_OUTSTANDING : Outstanding cacheable data read bus requests duration
41 …2 counters:0,1 um:agent minimum:6000 name:BUS_DRDY_CLOCKS : Bus cycles when data is sent on the bus
44 event:0x65 counters:0,1 um:core,agent minimum:500 name:BUS_TRANS_BRD : Burst read bus transactions
45 event:0x66 counters:0,1 um:core,agent minimum:500 name:BUS_TRANS_RFO : RFO bus transactions
46 event:0x67 counters:0,1 um:core,agent minimum:500 name:BUS_TRANS_WB : Explicit writeback bus transa…
47 event:0x68 counters:0,1 um:core,agent minimum:500 name:BUS_TRANS_IFETCH : Instruction-fetch bus tra…
48 event:0x69 counters:0,1 um:core,agent minimum:500 name:BUS_TRANS_INVAL : Invalidate bus transactions
49 event:0x6A counters:0,1 um:core,agent minimum:500 name:BUS_TRANS_PWR : Partial write bus transactio…
[all …]
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
Dp2p_stop_find.py34 global bus
74 self.bus = dbus.SystemBus()
75 self.wpas_object = self.bus.get_object(
93 self.interface_object = self.bus.get_object(
99 self.bus.add_signal_receiver(deviceLost,
102 self.bus.add_signal_receiver(p2pStateChange,
Dp2p_connect.py54 global bus
100 self.bus = dbus.SystemBus()
101 self.wpas_object = self.bus.get_object(
128 self.interface_object = self.bus.get_object(
135 self.bus.add_signal_receiver(GONegotiationSuccess,
138 self.bus.add_signal_receiver(GONegotiationFailure,
141 self.bus.add_signal_receiver(GroupStarted,
144 self.bus.add_signal_receiver(WpsFailure,
Dp2p_find.py36 global bus
76 self.bus = dbus.SystemBus()
77 self.wpas_object = self.bus.get_object(
95 self.interface_object = self.bus.get_object(
101 self.bus.add_signal_receiver(deviceFound,
104 self.bus.add_signal_receiver(deviceLost,

1234567