Searched refs:bus (Results 1 - 25 of 131) sorted by relevance

123456

/vbox/src/VBox/Frontends/VirtualBox/src/globals/
H A DUIDefs.h121 StorageSlot() : bus(KStorageBus_Null), port(0), device(0) {}
122 StorageSlot(const StorageSlot &other) : bus(other.bus), port(other.port), device(other.device) {}
123 StorageSlot(KStorageBus otherBus, LONG iPort, LONG iDevice) : bus(otherBus), port(iPort), device(iDevice) {}
124 StorageSlot& operator=(const StorageSlot &other) { bus = other.bus; port = other.port; device = other.device; return *this; }
125 bool operator==(const StorageSlot &other) const { return bus == other.bus && port == other.port && device == other.device; }
126 bool operator!=(const StorageSlot &other) const { return bus != other.bus || por
134 KStorageBus bus; LONG port; LONG device; member in struct:StorageSlot
[all...]
/vbox/src/VBox/Devices/PC/BIOS/
H A Dpciutil.h20 extern uint32_t pci_read_config_byte(uint8_t bus, uint8_t dev_fn, uint8_t reg);
21 extern uint32_t pci_read_config_word(uint8_t bus, uint8_t dev_fn, uint8_t reg);
23 extern uint32_t pci_read_config_dword(uint8_t bus, uint8_t dev_fn, uint8_t reg);
24 extern void pci_write_config_byte(uint8_t bus, uint8_t dev_fn, uint8_t reg, uint8_t val);
25 extern void pci_write_config_word(uint8_t bus, uint8_t dev_fn, uint8_t reg, uint16_t val);
27 extern void pci_write_config_dword(uint8_t bus, uint8_t dev_fn, uint8_t reg, uint32_t val);
H A Dpciutil.c110 * Returns the bus/device/function of a PCI device with
113 * @returns bus/device/fn in a 16-bit integer where
114 * where the upper byte contains the bus number
124 uint32_t pci_read_config_byte(uint8_t bus, uint8_t dev_fn, uint8_t reg) argument
126 return pci_read_cfgb((PCIBIOS_ID << 8) | PCIBIOS_READ_CONFIG_BYTE, (bus << 8) | dev_fn, reg);
129 uint32_t pci_read_config_word(uint8_t bus, uint8_t dev_fn, uint8_t reg) argument
131 return pci_read_cfgw((PCIBIOS_ID << 8) | PCIBIOS_READ_CONFIG_WORD, (bus << 8) | dev_fn, reg);
134 uint32_t pci_read_config_dword(uint8_t bus, uint8_t dev_fn, uint8_t reg) argument
136 return pci_read_cfgd((PCIBIOS_ID << 8) | PCIBIOS_READ_CONFIG_DWORD, (bus << 8) | dev_fn, reg);
141 * Returns the bus/devic
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/nvs/
H A Dspi.c58 struct spi_bus *bus = device->bus; local
65 if ( ( rc = bus->rw ( bus, device, SPI_RDSR, -1, NULL,
87 struct spi_bus *bus = device->bus; local
93 if ( ( rc = bus->rw ( bus, device, command, address,
114 struct spi_bus *bus = device->bus; local
[all...]
H A Dthreewire.c45 struct spi_bus *bus = device->bus; local
48 assert ( bus->mode == SPI_MODE_THREEWIRE );
53 if ( ( rc = bus->rw ( bus, device, THREEWIRE_READ, address,
75 struct spi_bus *bus = device->bus; local
78 assert ( bus->mode == SPI_MODE_THREEWIRE );
84 if ( ( rc = bus->rw ( bus, devic
[all...]
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/
H A DPci.h134 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
135 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.10.0/
H A DPci.h136 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
137 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.11.0/
H A DPci.h136 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
137 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.12.0/
H A DPci.h135 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
136 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.13.0/
H A DPci.h134 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
135 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.14.0/
H A DPci.h134 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
135 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.15.0/
H A DPci.h134 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
135 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/
H A DPci.h134 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
135 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
/vbox/src/VBox/Installer/linux/
H A DVBoxCreateUSBNode.sh27 bus=`expr "$2" '/' 128 + 1`
31 devdir="`printf "/dev/vboxusb/%.3d" $bus`"
32 devpath="`printf "/dev/vboxusb/%.3d/%.3d" $bus $device`"
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/bitbash/
H A Dspi_bit.c62 state ^= ( spibit->bus.mode & SPI_MODE_SSPOL );
72 * Transfer bits over SPI bit-bashing bus
74 * @v bus SPI bus
80 * This issues @c len clock cycles on the SPI bus, shifting out data
89 struct spi_bus *bus = &spibit->bus; local
91 unsigned int sclk = ( ( bus->mode & SPI_MODE_CPOL ) ? 1 : 0 );
92 unsigned int cpha = ( ( bus->mode & SPI_MODE_CPHA ) ? 1 : 0 );
100 spibit, len, bus
156 spi_bit_rw( struct spi_bus *bus, struct spi_device *device, unsigned int command, int address, const void *data_out, void *data_in, size_t len ) argument
[all...]
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.7.7/
H A DPci.h149 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
150 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.8.0/
H A DPci.h149 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
150 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.9.0/
H A DPci.h141 #define PCI_DOM_FROM_BUS(bus) (((bus) >> 8) & (PCI_DOM_MASK))
142 #define PCI_BUS_NO_DOMAIN(bus) ((bus) & 0xffu)
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dspi_bit.h15 /** A bit-bashing SPI bus */
17 /** SPI bus */
18 struct spi_bus bus; member in struct:spi_bit_basher
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Dromcheck.pl6 use constant DEVICES => "/proc/bus/pci/devices";
13 # Parse line from /proc/bus/pci/devices
15 ( my $bus, my $devfn, my $vendor, my $device, my $irq, my $bars, my $lengths,
22 ( $bus, $devfn, $vendor, $device, $irq ) =
23 map { hex ( $_ ) } ( $bus, $devfn, $vendor, $device, $irq );
50 printf "%02x:%02x.%x (%04x:%04x)", $bus, $dev, $fn, $vendor, $device;
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/
H A Dxf86Bus.h30 * This file contains definitions of the bus-related data structures/types.
66 BusRec bus; member in struct:__anon7520
93 #define busType bus.type
94 #define pciBusId bus.id.pci
95 #define isaBusId bus.id.isa
96 #define sbusBusId bus.id.sbus
107 struct x_BusAccRec *current; /* pointer to bridge open on this bus */
108 struct x_BusAccRec *primary; /* pointer to the bus connecting to this */
115 int bus; member in struct:x_BusAccRec::__anon7521::__anon7522
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/
H A Dxf86Bus.h30 * This file contains definitions of the bus-related data structures/types.
66 BusRec bus; member in struct:__anon7889
93 #define busType bus.type
94 #define pciBusId bus.id.pci
95 #define isaBusId bus.id.isa
96 #define sbusBusId bus.id.sbus
107 struct x_BusAccRec *current; /* pointer to bridge open on this bus */
108 struct x_BusAccRec *primary; /* pointer to the bus connecting to this */
115 int bus; member in struct:x_BusAccRec::__anon7890::__anon7891
/vbox/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/hw/xfree86/common/
H A Dxf86Bus.h7 * This file contains definitions of the bus-related data structures/types.
39 BusRec bus; member in struct:__anon3017
75 #define busType bus.type
76 #define pciBusId bus.id.pci
77 #define isaBusId bus.id.isa
78 #define sbusBusId bus.id.sbus
89 struct x_BusAccRec *current; /* pointer to bridge open on this bus */
90 struct x_BusAccRec *primary; /* pointer to the bus connecting to this */
97 int bus; member in struct:x_BusAccRec::__anon3018::__anon3019
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/
H A Dxf86Bus.h31 * This file contains definitions of the bus-related data structures/types.
67 BusRec bus; member in struct:__anon4665
103 #define busType bus.type
104 #define pciBusId bus.id.pci
105 #define isaBusId bus.id.isa
106 #define sbusBusId bus.id.sbus
117 struct x_BusAccRec *current; /* pointer to bridge open on this bus */
118 struct x_BusAccRec *primary; /* pointer to the bus connecting to this */
125 int bus; member in struct:x_BusAccRec::__anon4666::__anon4667
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/
H A Dxf86Bus.h31 * This file contains definitions of the bus-related data structures/types.
67 BusRec bus; member in struct:__anon4232
103 #define busType bus.type
104 #define pciBusId bus.id.pci
105 #define isaBusId bus.id.isa
106 #define sbusBusId bus.id.sbus
117 struct x_BusAccRec *current; /* pointer to bridge open on this bus */
118 struct x_BusAccRec *primary; /* pointer to the bus connecting to this */
125 int bus; member in struct:x_BusAccRec::__anon4233::__anon4234

Completed in 153 milliseconds

123456