/external/libdrm/tests/amdgpu/ |
H A D | bo_tests.c | 38 static amdgpu_device_handle device_handle; variable 67 &minor_version, &device_handle); 81 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 85 r = amdgpu_va_range_alloc(device_handle, 127 r = amdgpu_device_deinitialize(device_handle); 143 r = amdgpu_bo_import(device_handle, type, shared_handle, &res);
|
H A D | amdgpu_test.h | 111 amdgpu_device_handle device_handle, 130 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 133 r = amdgpu_va_range_alloc(device_handle, 110 gpu_mem_alloc( amdgpu_device_handle device_handle, uint64_t size, uint64_t alignment, uint32_t type, uint64_t flags, uint64_t *vmc_addr, amdgpu_va_handle *va_handle) argument
|
H A D | cs_tests.c | 42 static amdgpu_device_handle device_handle; variable 78 &minor_version, &device_handle); 88 family_id = device_handle->info.family_id; 90 chip_rev = device_handle->info.chip_rev; 91 chip_id = device_handle->info.chip_external_rev; 93 r = amdgpu_cs_ctx_create(device_handle, &context_handle); 97 r = amdgpu_bo_alloc_and_map(device_handle, IB_SIZE, 4096, 126 r = amdgpu_device_deinitialize(device_handle); 146 r = amdgpu_bo_list_create(device_handle, num_resources, resources, 198 r = amdgpu_bo_alloc(device_handle, [all...] |
H A D | vce_tests.c | 64 static amdgpu_device_handle device_handle; variable 96 &minor_version, &device_handle); 106 family_id = device_handle->info.family_id; 107 vce_harvest_config = device_handle->info.vce_harvest_config; 109 r = amdgpu_cs_ctx_create(device_handle, &context_handle); 113 r = amdgpu_bo_alloc_and_map(device_handle, IB_SIZE, 4096, 138 r = amdgpu_device_deinitialize(device_handle); 158 r = amdgpu_bo_list_create(device_handle, num_resources, resources, 198 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); 200 r = amdgpu_va_range_alloc(device_handle, [all...] |
H A D | basic_tests.c | 40 static amdgpu_device_handle device_handle; variable 205 &minor_version, &device_handle); 220 int r = amdgpu_device_deinitialize(device_handle); 234 r = amdgpu_query_gpu_info(device_handle, &gpu_info); 237 r = amdgpu_query_firmware_version(device_handle, AMDGPU_INFO_FW_VCE, 0, 250 bo = gpu_mem_alloc(device_handle, 260 bo = gpu_mem_alloc(device_handle, 270 bo = gpu_mem_alloc(device_handle, 279 bo = gpu_mem_alloc(device_handle, 304 r = amdgpu_cs_ctx_create(device_handle, [all...] |
/external/syslinux/efi/ |
H A D | fio.c | 115 EFI_STATUS efi_set_volroot(EFI_HANDLE device_handle) argument 117 vol_root = LibOpenRoot(device_handle);
|
/external/libdrm/amdgpu/ |
H A D | amdgpu_device.c | 173 amdgpu_device_handle *device_handle) 183 *device_handle = NULL; 205 amdgpu_device_reference(device_handle, dev); 281 *device_handle = dev; 170 amdgpu_device_initialize(int fd, uint32_t *major_version, uint32_t *minor_version, amdgpu_device_handle *device_handle) argument
|
/external/e2fsprogs/ext2ed/ |
H A D | main.c | 72 FILE *device_handle=NULL; /* This is passed to the fopen / fread ... commands */ variable
|
/external/libmtp/src/ |
H A D | libopenusb1-glue.c | 1742 openusb_dev_handle_t device_handle; local 1761 ret = openusb_open_device(libmtp_openusb_handle, *dev, USB_INIT_DEFAULT, &device_handle); 1767 *ptp_usb->handle = device_handle; 1776 libusb_kernel_driver_active (device_handle, ptp_usb->interface) 1778 if (OPENUSB_SUCCESS != libusb_detach_kernel_driver (device_handle, ptp_usb->interface)) { 1786 usbresult = openusb_claim_interface(device_handle, ptp_usb->interface, USB_INIT_DEFAULT); 1799 ret = libusb_control_transfer(device_handle, 1814 ret = openusb_ctrl_xfer(device_handle, ptp_usb->interface, ptp_usb->outep, &ctrl); 1821 ret = libusb_control_transfer(device_handle, 1835 ret = openusb_ctrl_xfer(device_handle, ptp_us [all...] |
H A D | libusb-glue.c | 1655 usb_dev_handle *device_handle; local 1674 device_handle = usb_open(dev); 1675 if (!device_handle) { 1679 ptp_usb->handle = device_handle; 1688 if (usb_get_driver_np(device_handle, (int) ptp_usb->interface, 1690 if (usb_detach_kernel_driver_np(device_handle, 1705 if (usb_set_configuration(device_handle, dev->config->bConfigurationValue)) { 1715 usbresult = usb_claim_interface(device_handle, (int) ptp_usb->interface); 1732 usbresult = usb_set_altinterface(device_handle, 0); 1746 ret = usb_control_msg(device_handle, [all...] |
H A D | libusb1-glue.c | 1779 libusb_device_handle *device_handle; local 1799 ret = libusb_open(dev, &device_handle); 1804 ptp_usb->handle = device_handle; 1812 libusb_kernel_driver_active(device_handle, ptp_usb->interface) 1814 if (LIBUSB_SUCCESS != libusb_detach_kernel_driver(device_handle, ptp_usb->interface)) { 1831 if (libusb_set_configuration(device_handle, ptp_usb->config) != LIBUSB_SUCCESS) { 1842 if (libusb_set_configuration(device_handle, ptp_usb->config)) { 1859 usbresult = libusb_claim_interface(device_handle, ptp_usb->interface); 1876 usbresult = libusb_set_interface_alt_setting(device_handle, 1894 ret = libusb_control_transfer(device_handle, [all...] |