Searched defs:device (Results 1 - 25 of 278) sorted by relevance

1234567891011>>

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/nvs/
H A Dthreewire.c34 * Read data from three-wire device
36 * @v nvs NVS device
44 struct spi_device *device = nvs_to_spi ( nvs ); local
45 struct spi_bus *bus = device->bus;
50 DBGC ( device, "3wire %p reading %zd bytes at %04x\n",
51 device, len, address );
53 if ( ( rc = bus->rw ( bus, device, THREEWIRE_READ, address,
55 DBGC ( device, "3wire %p could not read: %s\n",
56 device, strerror ( rc ) );
64 * Write data to three-wire device
74 struct spi_device *device = nvs_to_spi ( nvs ); local
[all...]
H A Dspi.c33 * Munge SPI device address into command
52 * Wait for SPI device to complete operation
54 * @v device SPI device
57 static int spi_wait ( struct spi_device *device ) {
58 struct spi_bus *bus = device->bus;
65 if ( ( rc = bus->rw ( bus, device, SPI_RDSR, -1, NULL,
71 DBG ( "SPI %p timed out\n", device );
76 * Read data from SPI device
78 * @v nvs NVS device
86 struct spi_device *device = nvs_to_spi ( nvs ); local
113 struct spi_device *device = nvs_to_spi ( nvs ); local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/
H A Defi_pci.h16 struct device;
18 /** An EFI PCI device */
22 /** iPXE PCI device */
24 /** Underlying EFI device */
25 EFI_HANDLE device; member in struct:efi_pci_device
35 EFI_HANDLE device );
37 extern struct efi_pci_device * efipci_find_efi ( EFI_HANDLE device );
38 extern struct efi_pci_device * efipci_find ( struct device *dev );
40 EFI_HANDLE device );
42 EFI_HANDLE device );
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dstateblock.c44 IWineD3DDeviceImpl *device = object->device; local
48 sizeof(float) * device->d3d_pshader_constantF * 4);
52 sizeof(BOOL) * device->d3d_pshader_constantF);
56 sizeof(float) * device->d3d_vshader_constantF * 4);
60 sizeof(BOOL) * device->d3d_vshader_constantF);
64 sizeof(DWORD) * device->d3d_vshader_constantF);
68 sizeof(DWORD) * device->d3d_pshader_constantF);
92 HRESULT stateblock_init(IWineD3DStateBlockImpl *stateblock, IWineD3DDeviceImpl *device, WINED3DSTATEBLOCKTYPE type) argument
95 stateblock->device
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Ddevice.c26 #include <ipxe/device.h>
42 * Probe a root device
44 * @v rootdev Root device
61 * Remove a root device
63 * @v rootdev Root device
74 * call, the device hierarchy will be populated, and all hardware
114 * Identify a device behind an interface
117 * @ret device Device, or NULL
119 struct device * identify_device ( struct interface *intf ) {
124 void *device; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dthreewire.h48 extern int threewire_detect_address_len ( struct spi_device *device );
51 * @defgroup tdevs Three-wire device types
56 init_at93cx6 ( struct spi_device *device, unsigned int organisation ) { argument
57 device->nvs.word_len_log2 = ( ( organisation == 8 ) ? 0 : 1 );
58 device->nvs.block_size = 1;
59 device->command_len = 3,
60 device->nvs.read = threewire_read;
61 device->nvs.write = threewire_write;
67 * @v device SPI device
71 init_at93c06( struct spi_device *device, unsigned int organisation ) argument
84 init_at93c46( struct spi_device *device, unsigned int organisation ) argument
97 init_at93c56( struct spi_device *device, unsigned int organisation ) argument
110 init_at93c66( struct spi_device *device, unsigned int organisation ) argument
[all...]
H A Dlinux.h26 * Linux devices, drivers and device requests.
30 #include <ipxe/device.h>
33 /** A linux device */
35 /** Generic device */
36 struct device dev;
37 /** Driver that's handling the device */
50 int (*probe)(struct linux_device *device, struct linux_device_request *request);
52 void (*remove)(struct linux_device *device);
64 * Set linux device driver-private data
66 * @v device Linu
69 linux_set_drvdata(struct linux_device * device, void *priv) argument
80 linux_get_drvdata(struct linux_device *device) argument
[all...]
/vbox/src/VBox/Additions/x11/x11include/libdrm-2.4.13/
H A Dnouveau_channel.h32 struct nouveau_device *device; member in struct:nouveau_channel
H A Dnouveau_bo.h47 struct nouveau_device *device; member in struct:nouveau_bo
/vbox/src/VBox/Frontends/VirtualBox/src/medium/
H A DUIMediumDefs.h58 : name(strName), port(iPort), device(iDevice)
67 /** Determines controller device. */
68 LONG device; member in struct:UIMediumTarget
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/
H A Dstateblock.c90 static HRESULT WINAPI d3d9_stateblock_GetDevice(IDirect3DStateBlock9 *iface, IDirect3DDevice9 **device) argument
94 TRACE("iface %p, device %p.\n", iface, device);
96 *device = (IDirect3DDevice9 *)stateblock->parent_device;
97 IDirect3DDevice9_AddRef(*device);
99 TRACE("Returning device %p.\n", *device);
143 HRESULT stateblock_init(struct d3d9_stateblock *stateblock, struct d3d9_device *device, argument
158 hr = wined3d_stateblock_create(device->wined3d_device,
168 stateblock->parent_device = &device
[all...]
H A Dquery.c89 static HRESULT WINAPI d3d9_query_GetDevice(IDirect3DQuery9 *iface, IDirect3DDevice9 **device) argument
93 TRACE("iface %p, device %p.\n", iface, device);
95 *device = (IDirect3DDevice9 *)query->parent_device;
96 IDirect3DDevice9_AddRef(*device);
98 TRACE("Returning device %p.\n", *device);
173 HRESULT query_init(struct d3d9_query *query, struct d3d9_device *device, D3DQUERYTYPE type) argument
181 hr = wined3d_query_create(device->wined3d_device, type, &query->wined3d_query);
189 query->parent_device = &device
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/
H A Dpixelshader.c102 HRESULT pixelshader_init(IDirect3DPixelShader8Impl *shader, IDirect3DDevice8Impl *device, argument
112 hr = IWineD3DDevice_CreatePixelShader(device->WineD3DDevice, byte_code,
H A Dswapchain.c123 HRESULT swapchain_init(IDirect3DSwapChain8Impl *swapchain, IDirect3DDevice8Impl *device, argument
149 hr = IWineD3DDevice_CreateSwapChain(device->WineD3DDevice, &wined3d_parameters,
173 swapchain->parentDevice = (IDirect3DDevice8 *)device;
H A Dvertexshader.c111 static HRESULT vertexshader_create_vertexdeclaration(IDirect3DDevice8Impl *device, argument
117 TRACE("device %p, declaration %p, shader_handle %#x, decl_ptr %p.\n",
118 device, declaration, shader_handle, decl_ptr);
127 hr = vertexdeclaration_init(object, device, declaration, shader_handle);
141 HRESULT vertexshader_init(IDirect3DVertexShader8Impl *shader, IDirect3DDevice8Impl *device, argument
169 hr = vertexshader_create_vertexdeclaration(device, declaration, shader_handle, &shader->vertex_declaration);
181 hr = IWineD3DDevice_CreateVertexShader(device->WineD3DDevice, byte_code,
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/
H A Dstateblock.c82 static HRESULT WINAPI IDirect3DStateBlock9Impl_GetDevice(IDirect3DStateBlock9 *iface, IDirect3DDevice9 **device) argument
86 TRACE("iface %p, device %p.\n", iface, device);
88 *device = (IDirect3DDevice9 *)This->parentDevice;
89 IDirect3DDevice9_AddRef(*device);
91 TRACE("Returning device %p.\n", *device);
135 HRESULT stateblock_init(IDirect3DStateBlock9Impl *stateblock, IDirect3DDevice9Impl *device, argument
150 hr = IWineD3DDevice_CreateStateBlock(device->WineD3DDevice, (WINED3DSTATEBLOCKTYPE)type,
160 stateblock->parentDevice = (IDirect3DDevice9Ex *)device;
[all...]
H A Dquery.c82 static HRESULT WINAPI IDirect3DQuery9Impl_GetDevice(IDirect3DQuery9 *iface, IDirect3DDevice9 **device) argument
86 TRACE("iface %p, device %p.\n", iface, device);
88 *device = (IDirect3DDevice9 *)This->parentDevice;
89 IDirect3DDevice9_AddRef(*device);
91 TRACE("Returning device %p.\n", *device);
162 HRESULT query_init(IDirect3DQuery9Impl *query, IDirect3DDevice9Impl *device, D3DQUERYTYPE type) argument
170 hr = IWineD3DDevice_CreateQuery(device->WineD3DDevice, type, &query->wineD3DQuery, (IUnknown *)query);
178 query->parentDevice = (IDirect3DDevice9Ex *)device;
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/linux/
H A Dlinux.c36 /** Go over the device requests looking for a matching linux driver to handle them. */
41 struct linux_device *device = NULL; local
48 if (! device)
49 device = zalloc(sizeof(*device));
51 if (! device)
71 /* We found a matching driver so add the device to the hierarchy */
72 list_add(&device->dev.siblings, &rootdev->dev.children);
73 device->dev.parent = &rootdev->dev;
74 INIT_LIST_HEAD(&device
96 struct linux_device *device; local
[all...]
H A Dtap.c26 #include <ipxe/device.h>
47 * The TAP is a Virtual Ethernet network device.
53 /** File descriptor of the opened tap device */
57 /** Open the TAP device */
96 /** Close the TAP device */
106 * The packet can be written to the TAP device and marked as complete immediately.
185 /** Handle a device request for the tap driver */
186 static int tap_probe(struct linux_device *device, struct linux_device_request *request) argument
199 linux_set_drvdata(device, netdev);
200 netdev->dev = &device
235 tap_remove(struct linux_device *device) argument
[all...]
/vbox/src/VBox/RDP/client-1.8.3/
H A Dlspci.c39 uint16 device; member in struct:_pci_device
76 current_device.device = strtol(val, NULL, 16);
103 current_device.device, current_device.subvendor,
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dvertexdeclaration.c198 HRESULT vertexdeclaration_init(IWineD3DVertexDeclarationImpl *declaration, IWineD3DDeviceImpl *device, argument
202 const struct wined3d_gl_info *gl_info = &device->adapter->gl_info;
218 declaration->device = device;
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/
H A Dshader.c62 static HRESULT d3d8_vertexshader_create_vertexdeclaration(struct d3d8_device *device, argument
68 TRACE("device %p, declaration %p, shader_handle %#x, decl_ptr %p.\n",
69 device, declaration, shader_handle, decl_ptr);
75 hr = d3d8_vertex_declaration_init(object, device, declaration, shader_handle);
89 HRESULT d3d8_vertex_shader_init(struct d3d8_vertex_shader *shader, struct d3d8_device *device, argument
114 hr = d3d8_vertexshader_create_vertexdeclaration(device, declaration, shader_handle, &shader->vertex_declaration);
126 hr = wined3d_shader_create_vs(device->wined3d_device, byte_code, NULL /* output signature */,
161 HRESULT d3d8_pixel_shader_init(struct d3d8_pixel_shader *shader, struct d3d8_device *device, argument
169 hr = wined3d_shader_create_ps(device->wined3d_device, byte_code, NULL, shader,
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dpalette.c145 LIST_FOR_EACH_ENTRY(resource, &palette->device->resources, struct wined3d_resource, resource_list_entry)
172 static HRESULT wined3d_palette_init(struct wined3d_palette *palette, struct wined3d_device *device, argument
179 palette->device = device;
201 HRESULT CDECL wined3d_palette_create(struct wined3d_device *device, DWORD flags, argument
207 TRACE("device %p, flags %#x, entries %p, palette %p, parent %p.\n",
208 device, flags, entries, palette, parent);
214 hr = wined3d_palette_init(object, device, flags, entries, parent);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/
H A Dxf86sbusBus.h56 const char *device; member in struct:sbus_device
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/
H A Dxf86platformBus.h61 xf86_platform_device_odev_attributes(struct xf86_platform_device *device) argument
63 return device->attribs;
69 struct xf86_platform_device *device = &xf86_platform_devices[index]; local
71 return device->attribs;
79 /* path to kernel device node - Linux e.g. /dev/dri/card0 */
81 /* system device path - Linux e.g. /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 */
87 /* Major number of the device node pointed to by ODEV_ATTRIB_PATH */
89 /* Minor number of the device node pointed to by ODEV_ATTRIB_PATH */
107 _xf86_get_platform_device_attrib(struct xf86_platform_device *device, int attrib, int (*fake)[0]) argument
111 return xf86_platform_device_odev_attributes(device)
132 _xf86_get_platform_device_int_attrib(struct xf86_platform_device *device, int attrib, int (*fake)[0]) argument
[all...]

Completed in 89 milliseconds

1234567891011>>