HomeSort by relevance Sort by last modified time
    Searched defs:bus (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/libusb-compat/examples/
lsusb.c 26 struct usb_bus *bus; local
33 for (bus = busses; bus; bus = bus->next) {
35 for (dev = bus->devices; dev; dev = dev->next) {
testlibusb.c 131 struct usb_bus *bus; local
141 for (bus = usb_busses; bus; bus = bus->next) {
142 if (bus->root_dev && !verbose)
143 print_device(bus->root_dev, 0);
147 for (dev = bus->devices; dev; dev = dev->next)
  /external/dbus/test/name-test/
test-wait-for-echo.py 26 bus = dbus.SessionBus() variable
32 bus.add_signal_receiver(sighandler, dbus_interface='org.freedesktop.TestSuite', signal_name='Foo')
34 o = bus.get_object('org.freedesktop.DBus.TestSuiteEchoService', '/org/freedesktop/TestSuite')
test-activation-forking.py 18 bus = dbus.SessionBus() variable
19 bus_iface = dbus.Interface(bus.get_object('org.freedesktop.DBus', '/org/freedesktop/DBus'), 'org.freedesktop.DBus')
21 o = bus.get_object('org.freedesktop.DBus.TestSuiteForkingEchoService', '/org/freedesktop/TestSuite')
44 o = bus.get_object('org.freedesktop.DBus.TestSuiteForkingEchoService', '/org/freedesktop/TestSuite')
  /external/qemu/
blockdev.h 26 int bus; member in struct:DriveInfo
37 extern DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit);
  /external/qemu/hw/
pci_host.h 39 PCIBus *bus; member in struct:PCIHostState
49 pci_data_write(s->bus, s->config_reg | (addr & 3), val, 1);
61 pci_data_write(s->bus, s->config_reg | (addr & 3), val, 2);
73 pci_data_write(s->bus, s->config_reg, val, 4);
83 val = pci_data_read(s->bus, s->config_reg | (addr & 3), 1);
95 val = pci_data_read(s->bus, s->config_reg | (addr & 3), 2);
110 val = pci_data_read(s->bus, s->config_reg | (addr & 3), 4);
qdev.c 26 inherit from a particular bus (e.g. PCI or I2C) rather than
50 /* This is a nasty hack to allow passing a NULL bus to qdev_create. */
71 DeviceState *qdev_create(BusState *bus, const char *name)
88 if (!bus) {
92 NULL, "main-system-bus");
94 bus = main_system_bus;
96 if (t->info->bus_type != bus->type) {
97 /* TODO: Print bus type names. */
98 hw_error("Device '%s' on wrong bus type (%d/%d)", name,
99 t->info->bus_type, bus->type)
408 BusState *bus; local
424 int bus = next_scsi_bus++; local
440 BusState *bus; local
    [all...]
  /external/webkit/Source/WebCore/webaudio/
AudioBuffer.cpp 49 OwnPtr<AudioBus> bus = createBusFromInMemoryAudioFile(data, dataSize, mixToMono, sampleRate); local
50 if (bus.get())
51 return adoptRef(new AudioBuffer(bus.get()));
69 AudioBuffer::AudioBuffer(AudioBus* bus)
71 , m_sampleRate(bus->sampleRate())
72 , m_length(bus->length())
74 // Copy audio data from the bus to the Float32Arrays we manage.
75 unsigned numberOfChannels = bus->numberOfChannels();
80 channelDataArray->setRange(bus->channel(i)->data(), m_length, 0, ec);
AudioNodeInput.cpp 169 maxChannels = max(maxChannels, output->bus()->numberOfChannels());
183 maxChannels = max(maxChannels, renderingOutput(i)->bus()->numberOfChannels());
188 AudioBus* AudioNodeInput::bus() function in class:WebCore::AudioNodeInput
194 return renderingOutput(0)->bus();
204 // We must pick a summing bus which is the right size to handle the largest connection.
AudioNodeOutput.cpp 82 // This may later be changed in pull() to point to an in-place bus with the same number of channels.
130 // Setup the actual destination bus for processing when our node's process() method gets called in processIfNecessary() below.
137 AudioBus* AudioNodeOutput::bus() const function in class:WebCore::AudioNodeOutput
  /external/guava/guava-tests/test/com/google/common/eventbus/
AsyncEventBusTest.java 34 private AsyncEventBus bus; field in class:AsyncEventBusTest
39 bus = new AsyncEventBus(executor);
44 bus.register(catcher);
47 bus.post(EVENT);
EventBusTest.java 32 private static final String BUS_IDENTIFIER = "test-bus";
34 private EventBus bus; field in class:EventBusTest
38 bus = new EventBus(BUS_IDENTIFIER);
43 bus.register(catcher);
45 Set<EventHandler> wrappers = bus.getHandlersForEventType(String.class);
49 bus.post(EVENT);
84 bus.register(stringCatcher);
85 bus.register(objCatcher);
86 bus.register(compCatcher);
92 bus.post(EVENT)
    [all...]
ReentrantEventsTest.java 34 final EventBus bus = new EventBus(); field in class:ReentrantEventsTest
38 bus.register(hater);
40 bus.post(FIRST);
55 bus.post(SECOND);
70 bus.register(processor);
73 bus.register(recorder);
75 bus.post(FIRST);
83 bus.post(SECOND);
  /external/webkit/Source/WebCore/platform/graphics/gstreamer/
GStreamerGWorld.cpp 40 gboolean gstGWorldSyncMessageCallback(GstBus* bus, GstMessage* message, gpointer data)
62 GstBus* bus = gst_pipeline_get_bus(GST_PIPELINE(m_pipeline)); local
63 gst_bus_set_sync_handler(bus, gst_bus_sync_signal_handler, this);
64 g_signal_connect(bus, "sync-message::element", G_CALLBACK(gstGWorldSyncMessageCallback), this);
65 gst_object_unref(bus);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
i2c.h 28 struct snd_i2c_bus *bus; /* I2C bus */ member in struct:snd_i2c_device
40 void (*start)(struct snd_i2c_bus *bus); /* transfer start */
41 void (*stop)(struct snd_i2c_bus *bus); /* transfer stop */
42 void (*direction)(struct snd_i2c_bus *bus, int clock, int data); /* set line direction (0 = write, 1 = read) */
43 void (*setlines)(struct snd_i2c_bus *bus, int clock, int data);
44 int (*getclock)(struct snd_i2c_bus *bus);
45 int (*getdata)(struct snd_i2c_bus *bus, int ack);
51 int (*probeaddr)(struct snd_i2c_bus *bus, unsigned short addr);
60 struct snd_i2c_bus *master; /* master bus when SCK/SCL is shared *
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/
i2c.h 28 struct snd_i2c_bus *bus; /* I2C bus */ member in struct:snd_i2c_device
40 void (*start)(struct snd_i2c_bus *bus); /* transfer start */
41 void (*stop)(struct snd_i2c_bus *bus); /* transfer stop */
42 void (*direction)(struct snd_i2c_bus *bus, int clock, int data); /* set line direction (0 = write, 1 = read) */
43 void (*setlines)(struct snd_i2c_bus *bus, int clock, int data);
44 int (*getclock)(struct snd_i2c_bus *bus);
45 int (*getdata)(struct snd_i2c_bus *bus, int ack);
51 int (*probeaddr)(struct snd_i2c_bus *bus, unsigned short addr);
60 struct snd_i2c_bus *master; /* master bus when SCK/SCL is shared *
    [all...]
  /bionic/libc/kernel/common/linux/
uhid.h 47 __u16 bus; member in struct:uhid_create_req
device.h 66 struct device * bus_find_device(struct bus_type *bus, struct device *start,
79 struct bus_type * bus; member in struct:device_driver
190 struct bus_type * bus; member in struct:device
  /external/dbus/dbus/
dbus-bus.c 2 /* dbus-bus.c Convenience functions for communicating with the bus.
26 #include "dbus-bus.h"
36 * @defgroup DBusBus Message bus APIs
38 * @brief Functions for communicating with the message bus
41 * process to share the same connection to the bus daemon by storing
45 * most of them invoke methods on the bus daemon, by sending method
52 * communicating with the message bus daemon. The rest of the API can
55 * @todo right now the default address of the system bus is hardcoded,
58 * client lib somehow read the config file, or if the bus on startu
101 _DBUS_DEFINE_GLOBAL_LOCK (bus); variable
    [all...]
  /external/grub/netboot/
pci.c 34 #define CONFIG_CMD(bus, device_fn, where) (0x80000000 | (bus << 16) | (device_fn << 8) | (where & ~3))
36 int pcibios_read_config_byte(unsigned int bus, unsigned int device_fn,
39 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
44 int pcibios_read_config_word (unsigned int bus,
47 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
52 int pcibios_read_config_dword (unsigned int bus, unsigned int device_fn,
55 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8);
60 int pcibios_write_config_byte (unsigned int bus, unsigned int device_fn,
63 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8)
401 unsigned int devfn, l, bus, buses; local
    [all...]
  /external/grub/stage2/
smp-imps.c 134 imps_bus bus[2]; member in struct:__anon7153
399 add_bus (imps_bus * bus)
403 memmove (str, bus->bus_type, 6);
405 KERNEL_PRINT ((" Bus id %d is %s\n", bus->id, str));
598 memcpy (defconfig.bus[0].bus_type, "ISA ", 6);
603 memcpy (defconfig.bus[0].bus_type, "MCA ", 6);
609 defconfig.bus[1].type = IMPS_BCT_BUS;
  /external/kernel-headers/original/linux/
uhid.h 46 __u16 bus; member in struct:uhid_create_req
  /external/stressapptest/src/
os.h 30 const char kSysfsPath[] = "/sys/bus/pci/devices";
34 uint16 bus; member in struct:PCIDevice
65 // Takes a pointer, and returns the corresponding bus address.
70 // Takes a bus address and string, and prints the DIMM name
126 // 1. The write before the clflush is committed to memory bus;
127 // 2. The read after the clflush is hitting the memory bus.
201 // Open, read, write pci cfg through /proc/bus/pci. fd is /proc/pci file.
202 virtual int PciOpen(int bus, int device, int function);
  /frameworks/base/include/androidfw/
InputDevice.h 30 bus(0), vendor(0), product(0), version(0) {
37 uint16_t bus; member in struct:android::InputDeviceIdentifier
  /development/ndk/platforms/android-3/include/linux/
device.h 58 struct device * bus_find_device(struct bus_type *bus, struct device *start,
71 struct bus_type * bus; member in struct:device_driver
186 struct bus_type * bus; member in struct:device

Completed in 430 milliseconds

1 2 3 4