Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 9 of 9) sorted by relevance

/tools/usb/ffs-aio-example/simple/host_app/
Dtest.c51 libusb_device_handle *handle; member
67 state->handle = NULL; in test_init()
102 ret = libusb_open(state->found, &state->handle); in test_init()
108 if (libusb_claim_interface(state->handle, 0)) { in test_init()
109 ret = libusb_detach_kernel_driver(state->handle, 0); in test_init()
116 ret = libusb_claim_interface(state->handle, 0); in test_init()
128 libusb_attach_kernel_driver(state->handle, 0); in test_init()
131 libusb_close(state->handle); in test_init()
147 libusb_release_interface(state->handle, 0); in test_exit()
149 libusb_attach_kernel_driver(state->handle, 0); in test_exit()
[all …]
/tools/usb/ffs-aio-example/multibuff/host_app/
Dtest.c51 libusb_device_handle *handle; member
67 state->handle = NULL; in test_init()
102 ret = libusb_open(state->found, &state->handle); in test_init()
108 if (libusb_claim_interface(state->handle, 0)) { in test_init()
109 ret = libusb_detach_kernel_driver(state->handle, 0); in test_init()
116 ret = libusb_claim_interface(state->handle, 0); in test_init()
128 libusb_attach_kernel_driver(state->handle, 0); in test_init()
131 libusb_close(state->handle); in test_init()
147 libusb_release_interface(state->handle, 0); in test_exit()
149 libusb_attach_kernel_driver(state->handle, 0); in test_exit()
[all …]
/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c612 acpi_status acpi_os_delete_semaphore(acpi_handle handle) in acpi_os_delete_semaphore() argument
617 acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) in acpi_os_wait_semaphore() argument
622 acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) in acpi_os_signal_semaphore() argument
691 acpi_status acpi_os_delete_semaphore(acpi_handle handle) in acpi_os_delete_semaphore() argument
693 sem_t *sem = (sem_t *) handle; in acpi_os_delete_semaphore()
721 acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 msec_timeout) in acpi_os_wait_semaphore() argument
724 sem_t *sem = (sem_t *) handle; in acpi_os_wait_semaphore()
835 acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) in acpi_os_signal_semaphore() argument
837 sem_t *sem = (sem_t *) handle; in acpi_os_signal_semaphore()
866 void acpi_os_delete_lock(acpi_spinlock handle) in acpi_os_delete_lock() argument
[all …]
/tools/lib/traceevent/
Devent-plugin.c50 void *handle; member
292 void *handle; in load_plugin() local
304 handle = dlopen(plugin, RTLD_NOW | RTLD_GLOBAL); in load_plugin()
305 if (!handle) { in load_plugin()
311 alias = dlsym(handle, PEVENT_PLUGIN_ALIAS_NAME); in load_plugin()
315 func = dlsym(handle, PEVENT_PLUGIN_LOADER_NAME); in load_plugin()
329 list->handle = handle; in load_plugin()
457 func = dlsym(list->handle, PEVENT_PLUGIN_UNLOADER_NAME); in traceevent_unload_plugins()
460 dlclose(list->handle); in traceevent_unload_plugins()
Devent-parse.c5799 static void free_handler(struct event_handler *handle) in free_handler() argument
5801 free((void *)handle->sys_name); in free_handler()
5802 free((void *)handle->event_name); in free_handler()
5803 free(handle); in free_handler()
5808 struct event_handler *handle, **next; in find_event_handle() local
5812 handle = *next; in find_event_handle()
5813 if (event_matches(event, handle->id, in find_event_handle()
5814 handle->sys_name, in find_event_handle()
5815 handle->event_name)) in find_event_handle()
5825 event->handler = handle->func; in find_event_handle()
[all …]
Devent-parse.h114 void *handle; member
/tools/testing/nvdimm/test/
Dnfit.c125 static u32 handle[NUM_DCR] = { variable
272 for (i = 0; i < ARRAY_SIZE(handle); i++) in nfit_test_ctl()
274 handle[i]) in nfit_test_ctl()
276 if (i >= ARRAY_SIZE(handle)) in nfit_test_ctl()
605 memdev->device_handle = handle[0]; in nfit_test0_setup()
620 memdev->device_handle = handle[1]; in nfit_test0_setup()
635 memdev->device_handle = handle[0]; in nfit_test0_setup()
650 memdev->device_handle = handle[1]; in nfit_test0_setup()
665 memdev->device_handle = handle[2]; in nfit_test0_setup()
680 memdev->device_handle = handle[3]; in nfit_test0_setup()
[all …]
/tools/build/Documentation/
DBuild.txt126 The build framework provides standard compilation rules to handle .S and .c
/tools/perf/config/
Dutilities.mak111 # which can handle it just fine).