/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
ucode_download.h | 21 proc_ucode_download(char* fw_filename, void *dev_handle);
|
ucode_download.c | 30 extern int wl_validatedev(void *dev_handle); 130 proc_ucode_download(char* fw_filename, void *dev_handle) 205 is_devpresent = wl_validatedev(dev_handle); 217 ret = wlu_iovar_getint(dev_handle, "ucdload_status", 237 ret = dload_ucode_part(dev_handle, UCODE_FW, ucode_len, 244 ret = dload_ucode_part(dev_handle, INIT_VALS,
|
/system/bt/bta/hh/ |
bta_hh_api.cc | 106 void BTA_HhClose(uint8_t dev_handle) { 110 p_buf->layer_specific = (uint16_t)dev_handle; 144 static void bta_hh_snd_write_dev(uint8_t dev_handle, uint8_t t_type, 151 p_buf->hdr.layer_specific = (uint16_t)dev_handle; 167 * Parameter dev_handle: device handle 173 void BTA_HhSetReport(uint8_t dev_handle, tBTA_HH_RPT_TYPE r_type, 175 bta_hh_snd_write_dev(dev_handle, HID_TRANS_SET_REPORT, r_type, 0, 0, p_data); 186 void BTA_HhGetReport(uint8_t dev_handle, tBTA_HH_RPT_TYPE r_type, 190 bta_hh_snd_write_dev(dev_handle, HID_TRANS_GET_REPORT, param, buf_size, 202 void BTA_HhSetProtoMode(uint8_t dev_handle, tBTA_HH_PROTO_MODE p_type) [all...] |
bta_hh_utils.cc | 457 uint8_t bta_hh_dev_handle_to_cb_idx(uint8_t dev_handle) { 461 if (BTA_HH_IS_LE_DEV_HDL(dev_handle)) { 462 if (BTA_HH_IS_LE_DEV_HDL_VALID(dev_handle)) 463 index = bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(dev_handle)]; 465 APPL_TRACE_DEBUG("bta_hh_dev_handle_to_cb_idx dev_handle = %d index = %d", 466 dev_handle, index); 471 if (dev_handle < BTA_HH_MAX_KNOWN) 472 index = bta_hh_cb.cb_index[dev_handle];
|
/external/libusb/libusb/ |
sync.c | 48 struct libusb_context *ctx = HANDLE_CTX(transfer->dev_handle); 72 * \param dev_handle a handle for the device to communicate with 94 int API_EXPORTED libusb_control_transfer(libusb_device_handle *dev_handle, 103 if (usbi_handling_events(HANDLE_CTX(dev_handle))) 121 libusb_fill_control_transfer(transfer, dev_handle, buffer, 157 usbi_warn(HANDLE_CTX(dev_handle), 166 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle, 174 if (usbi_handling_events(HANDLE_CTX(dev_handle))) 181 libusb_fill_bulk_transfer(transfer, dev_handle, endpoint, buffer, length, 217 usbi_warn(HANDLE_CTX(dev_handle), [all...] |
core.c | 1308 struct libusb_device_handle *dev_handle = NULL; local [all...] |
libusb.h | 1212 libusb_device_handle *dev_handle; member in struct:libusb_transfer [all...] |
libusbi.h | 235 #define TRANSFER_CTX(transfer) (HANDLE_CTX((transfer)->dev_handle)) 515 void usbi_handle_disconnect(struct libusb_device_handle *dev_handle); 713 int (*open)(struct libusb_device_handle *dev_handle); 723 void (*close)(struct libusb_device_handle *dev_handle); 830 int (*get_configuration)(struct libusb_device_handle *dev_handle, int *config); 847 int (*set_configuration)(struct libusb_device_handle *dev_handle, int config); 866 int (*claim_interface)(struct libusb_device_handle *dev_handle, int interface_number); 883 int (*release_interface)(struct libusb_device_handle *dev_handle, int interface_number); 899 int (*set_interface_altsetting)(struct libusb_device_handle *dev_handle, 913 int (*clear_halt)(struct libusb_device_handle *dev_handle, [all...] |
/device/linaro/bootloader/arm-trusted-firmware/drivers/io/ |
io_storage.c | 66 static int is_valid_dev(const uintptr_t dev_handle) 68 const io_dev_info_t *dev = (io_dev_info_t *)dev_handle; 81 (is_valid_dev((uintptr_t)entity->dev_handle)); 201 int io_dev_init(uintptr_t dev_handle, const uintptr_t init_params) 204 assert(dev_handle != (uintptr_t)NULL); 205 assert(is_valid_dev(dev_handle)); 207 io_dev_info_t *dev = (io_dev_info_t *)dev_handle; 222 int io_dev_close(uintptr_t dev_handle) 225 assert(dev_handle != (uintptr_t)NULL); 226 assert(is_valid_dev(dev_handle)); [all...] |
/system/bt/stack/include/ |
hidh_api.h | 84 uint8_t dev_handle, const RawAddress& addr, 151 extern tHID_STATUS HID_HostRemoveDev(uint8_t dev_handle); 163 extern tHID_STATUS HID_HostOpenDev(uint8_t dev_handle); 174 extern tHID_STATUS HID_HostWriteDev(uint8_t dev_handle, uint8_t t_type, 187 extern tHID_STATUS HID_HostCloseDev(uint8_t dev_handle);
|
/system/bt/bta/include/ |
bta_hh_co.h | 49 extern void bta_hh_co_data(uint8_t dev_handle, uint8_t* p_rpt, uint16_t len, 65 extern void bta_hh_co_open(uint8_t dev_handle, uint8_t sub_class, 78 extern void bta_hh_co_close(uint8_t dev_handle, uint8_t app_id);
|
bta_hh_api.h | 345 extern void BTA_HhClose(uint8_t dev_handle); 368 extern void BTA_HhGetProtoMode(uint8_t dev_handle); 378 extern void BTA_HhSetReport(uint8_t dev_handle, tBTA_HH_RPT_TYPE r_type, 390 extern void BTA_HhGetReport(uint8_t dev_handle, tBTA_HH_RPT_TYPE r_type, 401 extern void BTA_HhSetIdle(uint8_t dev_handle, uint16_t idle_rate); 412 extern void BTA_HhGetIdle(uint8_t dev_handle); 423 extern void BTA_HhSendCtrl(uint8_t dev_handle, tBTA_HH_TRANS_CTRL_TYPE c_type); 434 extern void BTA_HhSetIdle(uint8_t dev_handle, uint16_t idle_rate); 445 extern void BTA_HhGetIdle(uint8_t dev_handle); 456 extern void BTA_HhSendData(uint8_t dev_handle, const RawAddress& dev_bda [all...] |
/external/libusb/libusb/os/ |
haiku_usb_raw.cpp | 48 haiku_open(struct libusb_device_handle *dev_handle) 50 USBDevice *dev = *((USBDevice **)dev_handle->dev->os_priv); 58 *((USBDeviceHandle **)dev_handle->os_priv) = handle; 63 haiku_close(struct libusb_device_handle *dev_handle) 65 USBDeviceHandle *handle = *((USBDeviceHandle **)dev_handle->os_priv); 69 *((USBDeviceHandle **)dev_handle->os_priv) = NULL; 110 haiku_set_configuration(struct libusb_device_handle *dev_handle, int config) 112 USBDeviceHandle *handle= *((USBDeviceHandle **)dev_handle->os_priv); 117 haiku_claim_interface(struct libusb_device_handle *dev_handle, int interface_number) 119 USBDeviceHandle *handle = *((USBDeviceHandle **)dev_handle->os_priv) [all...] |
windows_winusb.c | 62 static int winusbx_open(int sub_api, struct libusb_device_handle *dev_handle); 63 static void winusbx_close(int sub_api, struct libusb_device_handle *dev_handle); 64 static int winusbx_configure_endpoints(int sub_api, struct libusb_device_handle *dev_handle, int iface); 65 static int winusbx_claim_interface(int sub_api, struct libusb_device_handle *dev_handle, int iface); 66 static int winusbx_release_interface(int sub_api, struct libusb_device_handle *dev_handle, int iface); 68 static int winusbx_set_interface_altsetting(int sub_api, struct libusb_device_handle *dev_handle, int iface, int altsetting); 70 static int winusbx_clear_halt(int sub_api, struct libusb_device_handle *dev_handle, unsigned char endpoint); 73 static int winusbx_reset_device(int sub_api, struct libusb_device_handle *dev_handle); 78 static int hid_open(int sub_api, struct libusb_device_handle *dev_handle); 79 static void hid_close(int sub_api, struct libusb_device_handle *dev_handle); 641 libusb_device_handle *dev_handle = transfer->dev_handle; local [all...] |
darwin_usb.c | 84 static int darwin_claim_interface(struct libusb_device_handle *dev_handle, int iface); 85 static int darwin_release_interface(struct libusb_device_handle *dev_handle, int iface); 86 static int darwin_reset_device(struct libusb_device_handle *dev_handle); 174 static int ep_to_pipeRef(struct libusb_device_handle *dev_handle, uint8_t ep, uint8_t *pipep, uint8_t *ifcp, struct darwin_interface **interface_out) { 175 struct darwin_device_handle_priv *priv = (struct darwin_device_handle_priv *)dev_handle->os_priv; 187 if (dev_handle->claimed_interfaces & (1 << iface)) { 206 usbi_warn (HANDLE_CTX(dev_handle), "no pipeRef found with endpoint address 0x%02x.", ep); [all...] |
windows_usbdk.c | 417 static int usbdk_open(struct libusb_device_handle *dev_handle) 419 struct usbdk_device_priv *priv = _usbdk_device_priv(dev_handle->dev); 423 usbi_err(DEVICE_CTX(dev_handle->dev), "Redirector startup failed"); 430 static void usbdk_close(struct libusb_device_handle *dev_handle) 432 struct usbdk_device_priv *priv = _usbdk_device_priv(dev_handle->dev); 435 struct libusb_context *ctx = DEVICE_CTX(dev_handle->dev); 440 static int usbdk_get_configuration(struct libusb_device_handle *dev_handle, int *config) 442 *config = _usbdk_device_priv(dev_handle->dev)->active_configuration; 447 static int usbdk_set_configuration(struct libusb_device_handle *dev_handle, int config) 449 UNUSED(dev_handle); [all...] |
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/io/ |
io_storage.h | 96 uintptr_t *dev_handle); 101 int io_dev_init(uintptr_t dev_handle, const uintptr_t init_params); 106 int io_dev_close(uintptr_t dev_handle); 110 int io_open(uintptr_t dev_handle, const uintptr_t spec, uintptr_t *handle);
|
io_driver.h | 41 struct io_dev_info *dev_handle; member in struct:io_entity
|
/system/bt/stack/hid/ |
hidh_api.cc | 362 tHID_STATUS HID_HostRemoveDev(uint8_t dev_handle) { 365 if ((dev_handle >= HID_HOST_MAX_DEVICES) || 366 (!hh_cb.devices[dev_handle].in_use)) 369 HID_HostCloseDev(dev_handle); 370 hh_cb.devices[dev_handle].in_use = false; 371 hh_cb.devices[dev_handle].conn.conn_state = HID_CONN_STATE_UNUSED; 372 hh_cb.devices[dev_handle].conn.ctrl_cid = 373 hh_cb.devices[dev_handle].conn.intr_cid = 0; 374 hh_cb.devices[dev_handle].attr_mask = 0; 388 tHID_STATUS HID_HostOpenDev(uint8_t dev_handle) { [all...] |
/system/bt/btif/co/ |
bta_hh_co.cc | 264 void bta_hh_co_open(uint8_t dev_handle, uint8_t sub_class, 269 if (dev_handle == BTA_HH_INVALID_HANDLE) { 270 APPL_TRACE_WARNING("%s: Oops, dev_handle (%d) is invalid...", __func__, 271 dev_handle); 278 p_dev->dev_handle == dev_handle) { 315 p_dev->dev_handle = dev_handle; 356 * Parameters dev_handle - device handle 361 void bta_hh_co_close(uint8_t dev_handle, uint8_t app_id) [all...] |
/device/linaro/bootloader/arm-trusted-firmware/common/ |
bl_common.c | 161 uintptr_t dev_handle; local 170 io_result = plat_get_image_source(image_name, &dev_handle, &image_spec); 178 io_result = io_open(dev_handle, image_spec, &image_handle); 197 io_result = io_dev_close(dev_handle); 218 uintptr_t dev_handle; local 231 io_result = plat_get_image_source(image_name, &dev_handle, &image_spec); 239 io_result = io_open(dev_handle, image_spec, &image_handle); 309 io_dev_close(dev_handle);
|
/system/bt/btif/include/ |
btif_hh.h | 60 uint8_t dev_handle; member in struct:__anon113310 75 uint8_t dev_handle; member in struct:__anon113311
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/ |
hikey_private.h | 86 uintptr_t *dev_handle,
|
/external/dhcpcd-6.8.2/ |
dev.c | 71 if (ctx->dev_handle) { 72 dlclose(ctx->dev_handle); 73 ctx->dev_handle = NULL; 116 ctx->dev_handle = h;
|
/device/linaro/bootloader/arm-trusted-firmware/plat/fvp/ |
fvp_io_storage.c | 137 uintptr_t *dev_handle; member in struct:plat_io_policy 306 int plat_get_image_source(const char *image_name, uintptr_t *dev_handle, 312 if ((image_name != NULL) && (dev_handle != NULL) && 320 *dev_handle = *(policy->dev_handle); 326 *dev_handle = sh_dev_handle;
|