HomeSort by relevance Sort by last modified time
    Searched refs:dev_handle (Results 1 - 25 of 32) sorted by null

1 2

  /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,
dhdu_linux.c 425 wl_validatedev(void *dev_handle)
428 struct ifreq *ifr = (struct ifreq *)dev_handle;
  /external/bluetooth/bluedroid/bta/include/
bta_hh_co.h 41 BTA_API extern void bta_hh_co_data(UINT8 dev_handle, UINT8 *p_rpt, UINT16 len,
56 BTA_API extern void bta_hh_co_open(UINT8 dev_handle, UINT8 sub_class,
69 BTA_API extern void bta_hh_co_close(UINT8 dev_handle, UINT8 app_id);
bta_hh_api.h 369 BTA_API extern void BTA_HhClose(UINT8 dev_handle);
391 BTA_API extern void BTA_HhGetProtoMode(UINT8 dev_handle);
401 BTA_API extern void BTA_HhSetReport(UINT8 dev_handle, tBTA_HH_RPT_TYPE r_type,
413 BTA_API extern void BTA_HhGetReport(UINT8 dev_handle, tBTA_HH_RPT_TYPE r_type,
424 BTA_API extern void BTA_HhSetIdle(UINT8 dev_handle, UINT16 idle_rate);
435 BTA_API extern void BTA_HhGetIdle(UINT8 dev_handle);
446 BTA_API extern void BTA_HhSendCtrl(UINT8 dev_handle,
458 BTA_API extern void BTA_HhSetIdle(UINT8 dev_handle, UINT16 idle_rate);
470 BTA_API extern void BTA_HhGetIdle(UINT8 dev_handle);
481 BTA_API extern void BTA_HhSendData(UINT8 dev_handle, BD_ADDR dev_bda, BT_HDR *p_buf)
    [all...]
  /external/bluetooth/bluedroid/bta/hh/
bta_hh_api.c 115 void BTA_HhClose(UINT8 dev_handle)
123 p_buf->layer_specific = (UINT16) dev_handle;
168 static void bta_hh_snd_write_dev(UINT8 dev_handle, UINT8 t_type, UINT8 param,
179 p_buf->hdr.layer_specific = (UINT16) dev_handle;
195 ** Parameter dev_handle: device handle
201 void BTA_HhSetReport(UINT8 dev_handle, tBTA_HH_RPT_TYPE r_type, BT_HDR *p_data)
203 bta_hh_snd_write_dev(dev_handle, HID_TRANS_SET_REPORT, r_type, 0, 0, p_data);
214 void BTA_HhGetReport(UINT8 dev_handle, tBTA_HH_RPT_TYPE r_type, UINT8 rpt_id, UINT16 buf_size)
218 bta_hh_snd_write_dev(dev_handle, HID_TRANS_GET_REPORT, param,
230 void BTA_HhSetProtoMode(UINT8 dev_handle, tBTA_HH_PROTO_MODE p_type
    [all...]
bta_hh_utils.c 490 UINT8 bta_hh_dev_handle_to_cb_idx(UINT8 dev_handle)
495 if (BTA_HH_IS_LE_DEV_HDL(dev_handle))
497 if (BTA_HH_IS_LE_DEV_HDL_VALID(dev_handle))
498 index = bta_hh_cb.le_cb_index[BTA_HH_GET_LE_CB_IDX(dev_handle)];
500 APPL_TRACE_DEBUG2("bta_hh_dev_handle_to_cb_idx dev_handle = %d index = %d", dev_handle, index);
506 if (dev_handle < BTA_HH_MAX_KNOWN )
507 index = bta_hh_cb.cb_index[dev_handle];
bta_hh_act.c 45 static void bta_hh_cback (UINT8 dev_handle, BD_ADDR addr, UINT8 event,
551 UINT8 dev_handle = p_data ? (UINT8)p_data->hid_cback.hdr.layer_specific : \ local
555 conn.handle = dev_handle;
583 if ((HID_HostWriteDev(dev_handle,
619 UINT8 dev_handle = p_data ? (UINT8)p_data->hid_cback.hdr.layer_specific : \ local
623 APPL_TRACE_EVENT1 ("bta_hh_open_act: Device[%d] connected", dev_handle);
637 p_cb->incoming_hid_handle = dev_handle;
967 UINT8 dev_handle; local
988 if (HID_HostAddDev(p_dev_info->bda, p_dev_info->attr_mask, &dev_handle)\
991 dev_info.handle = dev_handle;
    [all...]
  /external/libusb/libusb/
sync.c 53 * \param dev_handle a handle for the device to communicate with
72 API_EXPORTED int libusb_control_transfer(libusb_device_handle *dev_handle,
95 libusb_fill_control_transfer(transfer, dev_handle, buffer,
105 r = libusb_handle_events(HANDLE_CTX(dev_handle));
111 if (libusb_handle_events(HANDLE_CTX(dev_handle)) < 0)
136 usbi_warn(HANDLE_CTX(dev_handle),
153 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle,
164 libusb_fill_bulk_transfer(transfer, dev_handle, endpoint, buffer, length,
175 r = libusb_handle_events(HANDLE_CTX(dev_handle));
181 if (libusb_handle_events(HANDLE_CTX(dev_handle)) < 0
    [all...]
libusb.h 718 libusb_device_handle *dev_handle; member in struct:libusb_transfer
800 void libusb_close(libusb_device_handle *dev_handle);
801 libusb_device *libusb_get_device(libusb_device_handle *dev_handle);
916 * \param dev_handle handle of the device that will handle the transfer
924 struct libusb_transfer *transfer, libusb_device_handle *dev_handle,
929 transfer->dev_handle = dev_handle;
946 * \param dev_handle handle of the device that will handle the transfer
955 libusb_device_handle *dev_handle, unsigned char endpoint,
959 transfer->dev_handle = dev_handle
    [all...]
core.c     [all...]
  /external/libusb/libusb/os/
darwin_usb.c 53 static int darwin_claim_interface(struct libusb_device_handle *dev_handle, int iface);
54 static int darwin_release_interface(struct libusb_device_handle *dev_handle, int iface);
55 static int darwin_reset_device(struct libusb_device_handle *dev_handle);
116 static int ep_to_pipeRef(struct libusb_device_handle *dev_handle, uint8_t ep, uint8_t *pipep, uint8_t *ifcp) {
117 struct darwin_device_handle_priv *priv = (struct darwin_device_handle_priv *)dev_handle->os_priv;
124 usbi_info (HANDLE_CTX(dev_handle), "converting ep address 0x%02x to pipeRef and interface", ep);
129 if (dev_handle->claimed_interfaces & (1 << iface)) {
134 usbi_info (HANDLE_CTX(dev_handle), "pipe %d on interface %d matches", *pipep, *ifcp);
142 usbi_warn (HANDLE_CTX(dev_handle), "no pipeRef found with endpoint address 0x%02x.", ep);
577 static int darwin_open (struct libusb_device_handle *dev_handle) {
    [all...]
linux_usbfs.c 1075 static void op_close(struct libusb_device_handle *dev_handle)
1077 int fd = __device_handle_priv(dev_handle)->fd;
1078 usbi_remove_pollfd(HANDLE_CTX(dev_handle), fd);
    [all...]
  /external/chromium_org/third_party/libusb/src/libusb/
sync.c 47 struct libusb_context *ctx = HANDLE_CTX(transfer->dev_handle);
71 * \param dev_handle a handle for the device to communicate with
90 int API_EXPORTED libusb_control_transfer(libusb_device_handle *dev_handle,
113 libusb_fill_control_transfer(transfer, dev_handle, buffer,
149 usbi_warn(HANDLE_CTX(dev_handle),
158 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle,
169 libusb_fill_bulk_transfer(transfer, dev_handle, endpoint, buffer, length,
203 usbi_warn(HANDLE_CTX(dev_handle),
231 * \param dev_handle a handle for the device to communicate with
252 int API_EXPORTED libusb_bulk_transfer(struct libusb_device_handle *dev_handle,
    [all...]
libusb.h 1212 libusb_device_handle *dev_handle; member in struct:libusb_transfer
    [all...]
core.c     [all...]
  /external/bluetooth/bluedroid/stack/hid/
hidh_api.c 388 tHID_STATUS HID_HostRemoveDev ( UINT8 dev_handle )
393 if( (dev_handle >= HID_HOST_MAX_DEVICES) || (!hh_cb.devices[dev_handle].in_use) )
396 HID_HostCloseDev( dev_handle ) ;
397 hh_cb.devices[dev_handle].in_use = FALSE;
398 hh_cb.devices[dev_handle].conn.conn_state = HID_CONN_STATE_UNUSED;
399 hh_cb.devices[dev_handle].conn.ctrl_cid = hh_cb.devices[dev_handle].conn.intr_cid = 0;
414 tHID_STATUS HID_HostOpenDev ( UINT8 dev_handle )
419 if( (dev_handle >= HID_HOST_MAX_DEVICES) || (!hh_cb.devices[dev_handle].in_use)
    [all...]
  /external/bluetooth/bluedroid/stack/include/
hidh_api.h 79 typedef void (tHID_HOST_DEV_CALLBACK) (UINT8 dev_handle,
151 HID_API extern tHID_STATUS HID_HostRemoveDev (UINT8 dev_handle );
163 HID_API extern tHID_STATUS HID_HostOpenDev (UINT8 dev_handle );
174 HID_API extern tHID_STATUS HID_HostWriteDev(UINT8 dev_handle, UINT8 t_type,
187 HID_API extern tHID_STATUS HID_HostCloseDev(UINT8 dev_handle );
  /external/bluetooth/bluedroid/btif/co/
bta_hh_co.c 232 void bta_hh_co_open(UINT8 dev_handle, UINT8 sub_class, tBTA_HH_ATTR_MASK attr_mask,
238 if (dev_handle == BTA_HH_INVALID_HANDLE) {
239 APPL_TRACE_WARNING2("%s: Oops, dev_handle (%d) is invalid...", __FUNCTION__, dev_handle);
245 if (p_dev->dev_status != BTHH_CONN_STATE_UNKNOWN && p_dev->dev_handle == dev_handle) {
276 p_dev->dev_handle = dev_handle;
317 ** Parameters dev_handle - device handle
322 void bta_hh_co_close(UINT8 dev_handle, UINT8 app_id
    [all...]
  /external/chromium_org/third_party/libusb/src/libusb/os/
windows_usb.c 50 static int common_configure_endpoints(int sub_api, struct libusb_device_handle *dev_handle, int iface);
55 static int winusbx_open(int sub_api, struct libusb_device_handle *dev_handle);
56 static void winusbx_close(int sub_api, struct libusb_device_handle *dev_handle);
57 static int winusbx_configure_endpoints(int sub_api, struct libusb_device_handle *dev_handle, int iface);
58 static int winusbx_claim_interface(int sub_api, struct libusb_device_handle *dev_handle, int iface);
59 static int winusbx_release_interface(int sub_api, struct libusb_device_handle *dev_handle, int iface);
61 static int winusbx_set_interface_altsetting(int sub_api, struct libusb_device_handle *dev_handle, int iface, int altsetting);
63 static int winusbx_clear_halt(int sub_api, struct libusb_device_handle *dev_handle, unsigned char endpoint);
66 static int winusbx_reset_device(int sub_api, struct libusb_device_handle *dev_handle);
71 static int hid_open(int sub_api, struct libusb_device_handle *dev_handle);
773 libusb_device_handle *dev_handle = transfer->dev_handle; local
    [all...]
darwin_usb.c 64 static int darwin_claim_interface(struct libusb_device_handle *dev_handle, int iface);
65 static int darwin_release_interface(struct libusb_device_handle *dev_handle, int iface);
66 static int darwin_reset_device(struct libusb_device_handle *dev_handle);
152 static int ep_to_pipeRef(struct libusb_device_handle *dev_handle, uint8_t ep, uint8_t *pipep, uint8_t *ifcp) {
153 struct darwin_device_handle_priv *priv = (struct darwin_device_handle_priv *)dev_handle->os_priv;
165 if (dev_handle->claimed_interfaces & (1 << iface)) {
178 usbi_warn (HANDLE_CTX(dev_handle), "no pipeRef found with endpoint address 0x%02x.", ep);
923 static int darwin_open (struct libusb_device_handle *dev_handle) {
924 struct darwin_device_handle_priv *priv = (struct darwin_device_handle_priv *)dev_handle->os_priv;
925 struct darwin_cached_device *dpriv = DARWIN_CACHED_DEVICE(dev_handle->dev)
    [all...]
windows_usb.h 114 int (*open)(int sub_api, struct libusb_device_handle *dev_handle);
115 void (*close)(int sub_api, struct libusb_device_handle *dev_handle);
116 int (*configure_endpoints)(int sub_api, struct libusb_device_handle *dev_handle, int iface);
117 int (*claim_interface)(int sub_api, struct libusb_device_handle *dev_handle, int iface);
118 int (*set_interface_altsetting)(int sub_api, struct libusb_device_handle *dev_handle, int iface, int altsetting);
119 int (*release_interface)(int sub_api, struct libusb_device_handle *dev_handle, int iface);
120 int (*clear_halt)(int sub_api, struct libusb_device_handle *dev_handle, unsigned char endpoint);
121 int (*reset_device)(int sub_api, struct libusb_device_handle *dev_handle);
273 HANDLE dev_handle; // WinUSB needs an extra handle for the file member in struct:interface_handle_t
openbsd_usb.c 440 hpriv = (struct handle_priv *)transfer->dev_handle->os_priv;
633 dpriv = (struct device_priv *)transfer->dev_handle->dev->os_priv;
675 hpriv = (struct handle_priv *)transfer->dev_handle->os_priv;
676 dpriv = (struct device_priv *)transfer->dev_handle->dev->os_priv;
  /external/bluetooth/bluedroid/btif/include/
btif_hh.h 60 UINT8 dev_handle; member in struct:__anon3337
77 UINT8 dev_handle; member in struct:__anon3338
  /external/bluetooth/bluedroid/btif/src/
btif_hh.c 262 BTIF_TRACE_EVENT3("%s: setting report on dev_handle %d to 0x%x",
263 __FUNCTION__, p_dev->dev_handle, btif_hh_keylockstates);
282 BTA_HhSendData(p_dev->dev_handle, *bda,
338 btif_hh_cb.devices[i].dev_handle == handle)
360 btif_hh_cb.devices[i].dev_handle == handle)
491 btif_hh_cb.added_devices[i].dev_handle = BTA_HH_INVALID_HANDLE;
521 BTA_HhRemoveDev(p_added_dev->dev_handle);
524 p_added_dev->dev_handle = BTA_HH_INVALID_HANDLE;
537 p_dev->dev_handle = BTA_HH_INVALID_HANDLE;
608 BTA_HhSendCtrl(p_dev->dev_handle, BTA_HH_CTRL_VIRTUAL_CABLE_UNPLUG)
    [all...]

Completed in 1308 milliseconds

1 2