Searched refs:handle (Results 1 – 7 of 7) sorted by relevance
/tools/usb/ffs-aio-example/simple/host_app/ |
D | test.c | 56 libusb_device_handle *handle; member 72 state->handle = NULL; in test_init() 107 ret = libusb_open(state->found, &state->handle); in test_init() 113 if (libusb_claim_interface(state->handle, 0)) { in test_init() 114 ret = libusb_detach_kernel_driver(state->handle, 0); in test_init() 121 ret = libusb_claim_interface(state->handle, 0); in test_init() 133 libusb_attach_kernel_driver(state->handle, 0); in test_init() 136 libusb_close(state->handle); in test_init() 152 libusb_release_interface(state->handle, 0); in test_exit() 154 libusb_attach_kernel_driver(state->handle, 0); in test_exit() [all …]
|
/tools/usb/ffs-aio-example/multibuff/host_app/ |
D | test.c | 56 libusb_device_handle *handle; member 72 state->handle = NULL; in test_init() 107 ret = libusb_open(state->found, &state->handle); in test_init() 113 if (libusb_claim_interface(state->handle, 0)) { in test_init() 114 ret = libusb_detach_kernel_driver(state->handle, 0); in test_init() 121 ret = libusb_claim_interface(state->handle, 0); in test_init() 133 libusb_attach_kernel_driver(state->handle, 0); in test_init() 136 libusb_close(state->handle); in test_init() 152 libusb_release_interface(state->handle, 0); in test_exit() 154 libusb_attach_kernel_driver(state->handle, 0); in test_exit() [all …]
|
/tools/power/acpi/os_specific/service_layers/ |
D | osunixxf.c | 612 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/ |
D | event-plugin.c | 49 void *handle; member 244 void *handle; in load_plugin() local 256 handle = dlopen(plugin, RTLD_NOW | RTLD_GLOBAL); in load_plugin() 257 if (!handle) { in load_plugin() 263 alias = dlsym(handle, PEVENT_PLUGIN_ALIAS_NAME); in load_plugin() 267 func = dlsym(handle, PEVENT_PLUGIN_LOADER_NAME); in load_plugin() 281 list->handle = handle; in load_plugin() 409 func = dlsym(list->handle, PEVENT_PLUGIN_UNLOADER_NAME); in traceevent_unload_plugins() 412 dlclose(list->handle); in traceevent_unload_plugins()
|
D | event-parse.c | 5130 static void free_handler(struct event_handler *handle) in free_handler() argument 5132 free((void *)handle->sys_name); in free_handler() 5133 free((void *)handle->event_name); in free_handler() 5134 free(handle); in free_handler() 5139 struct event_handler *handle, **next; in find_event_handle() local 5143 handle = *next; in find_event_handle() 5144 if (event_matches(event, handle->id, in find_event_handle() 5145 handle->sys_name, in find_event_handle() 5146 handle->event_name)) in find_event_handle() 5156 event->handler = handle->func; in find_event_handle() [all …]
|
D | event-parse.h | 112 void *handle; member
|
/tools/perf/config/ |
D | utilities.mak | 111 # which can handle it just fine).
|