HomeSort by relevance Sort by last modified time
    Searched defs:device (Results 76 - 100 of 2498) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/libdrm/tests/
drmdevice.c 36 print_device_info(drmDevicePtr device, int i, bool print_revision)
38 printf("device[%i]\n", i);
39 printf("\tavailable_nodes %04x\n", device->available_nodes);
42 if (device->available_nodes & 1 << j)
43 printf("\t\tnodes[%d] %s\n", j, device->nodes[j]);
45 printf("\tbustype %04x\n", device->bustype);
47 if (device->bustype == DRM_BUS_PCI) {
49 printf("\t\t\tdomain\t%04x\n",device->businfo.pci->domain);
50 printf("\t\t\tbus\t%02x\n", device->businfo.pci->bus);
51 printf("\t\t\tdev\t%02x\n", device->businfo.pci->dev)
112 drmDevicePtr device; local
    [all...]
  /external/libdrm/tests/kms/
libkms-test-screen.c 35 struct kms_device *device = screen->device; local
38 con = drmModeGetConnector(device->fd, screen->id);
56 struct kms_screen *kms_screen_create(struct kms_device *device, uint32_t id)
64 screen->device = device;
83 struct kms_device *device = screen->device; local
86 err = drmModeSetCrtc(device->fd, crtc->id, fb->id, 0, 0, &screen->id,
  /external/libmojo/device/bluetooth/
bluetooth_advertisement.cc 5 #include "device/bluetooth/bluetooth_advertisement.h"
7 namespace device { namespace
37 } // namespace device
  /external/libmtp/examples/
emptyfolders.c 25 static void prune_empty_folders(LIBMTP_mtpdevice_t *device, LIBMTP_file_t *files, LIBMTP_folder_t *folderlist, int do_delete)
46 if (LIBMTP_Delete_Object(device,folderlist->folder_id) != 0) {
48 LIBMTP_Dump_Errorstack(device);
49 LIBMTP_Clear_Errorstack(device);
55 prune_empty_folders(device,files,folderlist->child,do_delete); // recurse down
56 prune_empty_folders(device,files,folderlist->sibling,do_delete); // recurse along
82 LIBMTP_mtpdevice_t *device; local
87 device = LIBMTP_Get_First_Device();
88 if (device == NULL) {
94 files = LIBMTP_Get_Filelisting_With_Callback(device,NULL,NULL)
    [all...]
folders.c 3 * Example program that lists all folders on a device.
49 printf("Attempting to connect device(s)\n");
69 /* Successfully connected at least one device, so continue */
76 LIBMTP_mtpdevice_t *device; local
81 device = LIBMTP_Open_Raw_Device(&rawdevices[i]);
82 if (device == NULL) {
83 fprintf(stderr, "Unable to open raw device %d\n", i);
87 /* Echo the friendly name so we know which device we are working with */
88 friendlyname = LIBMTP_Get_Friendlyname(device);
96 LIBMTP_Dump_Errorstack(device);
    [all...]
getplaylist.c 3 * Example program that lists the abstract playlists on the device.
26 static uint32_t dump_playlist(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl)
35 track = LIBMTP_Get_Trackmetadata(device, pl->tracks[i]);
41 LIBMTP_Dump_Errorstack(device);
42 LIBMTP_Clear_Errorstack(device);
51 LIBMTP_mtpdevice_t *device; local
75 device = LIBMTP_Get_First_Device();
76 if (device == NULL) {
77 printf("No devices. Connect/replug device and try again.\n");
81 playlist = LIBMTP_Get_Playlist(device,id);
    [all...]
playlists.c 3 * Example program to list the playlists on a device.
25 static void dump_plinfo(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl)
38 track = LIBMTP_Get_Trackmetadata(device, pl->tracks[i]);
44 LIBMTP_Dump_Errorstack(device);
45 LIBMTP_Clear_Errorstack(device);
52 LIBMTP_mtpdevice_t *device; local
58 device = LIBMTP_Get_First_Device();
59 if (device == NULL) {
65 playlists = LIBMTP_Get_Playlist_List(device);
72 dump_plinfo(device, pl)
    [all...]
  /external/llvm/
llvm-device-build.mk 49 $(LLVM_ROOT_PATH)/device/include \
55 define transform-device-td-to-out
57 @echo "Device TableGen (gen-$(1)): $(TBLGEN_LOCAL_MODULE) <= $<"
61 -I $(LLVM_ROOT_PATH)/device/include \
  /external/ltp/testcases/kernel/syscalls/mount/
mount01.c 39 static const char *device; variable
54 TEST(mount(device, MNTPOINT, fs_type, 0, NULL));
81 device = tst_acquire_device(cleanup);
83 if (!device)
84 tst_brkm(TCONF, cleanup, "Failed to obtain block device");
86 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
95 if (device)
96 tst_release_device(device);
  /external/ltp/testcases/lib/
tst_device.c 35 printf(" or: tst_device release /path/to/device\n\n");
41 const char *device; local
50 fprintf(stderr, "ERROR: Invalid device size '%s'",
56 device = tst_acquire_device__(size);
58 if (!device)
61 if (tst_clear_device(device)) {
62 tst_release_device(device);
66 printf("%s", device);
  /external/mesa3d/src/gallium/state_trackers/clover/core/
queue.hpp 41 command_queue(clover::context &ctx, clover::device &dev,
55 const intrusive_ref<clover::device> device; member in class:clover::command_queue
  /external/mesa3d/src/intel/vulkan/tests/
state_pool.c 37 struct anv_device device; local
41 pthread_mutex_init(&device.mutex, NULL);
44 anv_block_pool_init(&block_pool, &device, 256);
56 pthread_mutex_destroy(&device.mutex);
state_pool_free_list_only.c 36 struct anv_device device; local
40 pthread_mutex_init(&device.mutex, NULL);
41 anv_block_pool_init(&block_pool, &device, 4096);
65 pthread_mutex_destroy(&device.mutex);
  /external/skia/src/gpu/mtl/
GrMtlGpu.h 26 id<MTLDevice> device, id<MTLCommandQueue> queue);
32 id<MTLDevice> device() const { return fDevice; } function in class:GrMtlGpu
78 id<MTLDevice> device, id<MTLCommandQueue> queue, MTLFeatureSet featureSet);
  /external/skqp/src/gpu/mtl/
GrMtlGpu.h 26 id<MTLDevice> device, id<MTLCommandQueue> queue);
32 id<MTLDevice> device() const { return fDevice; } function in class:GrMtlGpu
80 id<MTLDevice> device, id<MTLCommandQueue> queue, MTLFeatureSet featureSet);
  /external/swiftshader/src/D3D8/
D3D8.cpp 63 IDirect3D8 *device = new D3D8::Direct3D8(version, dllInstance); local
65 if(device)
67 device->AddRef();
70 return device;
Direct3DPixelShader8.hpp 29 Direct3DPixelShader8(Direct3DDevice8 *device, const unsigned long *shaderToken);
45 Direct3DDevice8 *const device; member in class:D3D8::Direct3DPixelShader8
Direct3DSwapChain8.hpp 31 Direct3DSwapChain8(Direct3DDevice8 *device, D3DPRESENT_PARAMETERS *presentParameters);
58 Direct3DDevice8 *const device; member in class:D3D8::Direct3DSwapChain8
Direct3DVertexShader8.hpp 30 Direct3DVertexShader8(Direct3DDevice8 *device, const unsigned long *declaration, const unsigned long *shaderToken);
45 Direct3DDevice8 *const device; member in class:D3D8::Direct3DVertexShader8
  /external/swiftshader/src/D3D9/
Direct3DPixelShader9.hpp 31 Direct3DPixelShader9(Direct3DDevice9 *device, const unsigned long *shaderToken);
41 long __stdcall GetDevice(IDirect3DDevice9 **device) override;
49 Direct3DDevice9 *const device; member in class:D3D9::Direct3DPixelShader9
Direct3DQuery9.hpp 31 Direct3DQuery9(Direct3DDevice9 *device, D3DQUERYTYPE type);
41 long __stdcall GetDevice(IDirect3DDevice9 **device) override;
49 Direct3DDevice9 *const device; member in class:D3D9::Direct3DQuery9
Direct3DSwapChain9.hpp 33 Direct3DSwapChain9(Direct3DDevice9 *device, D3DPRESENT_PARAMETERS *presentParameters);
48 long __stdcall GetDevice(IDirect3DDevice9 **device) override;
64 Direct3DDevice9 *const device; member in class:D3D9::Direct3DSwapChain9
Direct3DVertexDeclaration9.hpp 29 Direct3DVertexDeclaration9(Direct3DDevice9 *device, const D3DVERTEXELEMENT9 *vertexElements);
30 Direct3DVertexDeclaration9(Direct3DDevice9 *device, unsigned long FVF);
40 long __stdcall GetDevice(IDirect3DDevice9 **device) override;
51 Direct3DDevice9 *const device; member in class:D3D9::Direct3DVertexDeclaration9
Direct3DVertexShader9.hpp 31 Direct3DVertexShader9(Direct3DDevice9 *device, const unsigned long *shaderToken);
41 long __stdcall GetDevice(IDirect3DDevice9 **device) override;
49 Direct3DDevice9 *const device; member in class:D3D9::Direct3DVertexShader9
  /external/syslinux/gpxe/src/drivers/nvs/
threewire.c 34 * 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...]

Completed in 517 milliseconds

1 2 34 5 6 7 8 91011>>