Lines Matching refs:hid_handle
96 bta_hh_cb.kdev[xx].hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_api_enable()
195 __func__, p_cb, result, attr_mask, p_cb->hid_handle); in bta_hh_sdp_cback()
201 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_sdp_cback()
211 hdl = p_cb->hid_handle; in bta_hh_sdp_cback()
327 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_start_sdp()
402 conn_dat.handle = p_cb->hid_handle; in bta_hh_sdp_cmpl()
412 ret = HID_HostOpenDev(p_cb->hid_handle); in bta_hh_sdp_cmpl()
426 HID_HostRemoveDev(p_cb->hid_handle); in bta_hh_sdp_cmpl()
486 const uint8_t hid_handle = in bta_hh_api_disc_act() local
488 : p_cb->hid_handle; in bta_hh_api_disc_act()
489 tHID_STATUS status = HID_HostCloseDev(hid_handle); in bta_hh_api_disc_act()
500 .handle = hid_handle}, in bta_hh_api_disc_act()
519 p_data ? (uint8_t)p_data->hid_cback.hdr.layer_specific : p_cb->hid_handle; in bta_hh_open_cmpl_act()
529 bta_hh_co_open(p_cb->hid_handle, p_cb->sub_class, p_cb->attr_mask, in bta_hh_open_cmpl_act()
580 p_data ? (uint8_t)p_data->hid_cback.hdr.layer_specific : p_cb->hid_handle; in bta_hh_open_act()
649 bta_hh.hs_data.handle = p_cb->hid_handle; in bta_hh_handsk_act()
665 bta_hh.dev_status.handle = p_cb->hid_handle; in bta_hh_handsk_act()
679 bta_hh.conn.handle = p_cb->hid_handle; in bta_hh_handsk_act()
720 hs_data.handle = p_cb->hid_handle; in bta_hh_ctrl_dat_act()
780 conn_dat.handle = p_cb->hid_handle; in bta_hh_open_failure()
784 HID_HostCloseDev(p_cb->hid_handle); in bta_hh_open_failure()
827 disc_dat.handle = p_cb->hid_handle; in bta_hh_close_act()
849 conn_dat.handle = p_cb->hid_handle; in bta_hh_close_act()
853 HID_HostCloseDev(p_cb->hid_handle); in bta_hh_close_act()
864 bta_hh_co_close(p_cb->hid_handle, p_cb->app_id); in bta_hh_close_act()
876 HID_HostRemoveDev(p_cb->hid_handle); in bta_hh_close_act()
935 if (p_cb->hid_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_maint_dev_act()
964 dev_info.handle = p_cb->hid_handle; in bta_hh_maint_dev_act()
1025 cbdata.handle = p_cb->hid_handle; in bta_hh_write_dev_act()
1031 if (HID_HostWriteDev(p_cb->hid_handle, p_data->api_sndcmd.t_type, in bta_hh_write_dev_act()
1137 if (bta_hh_cb.kdev[xx].hid_handle == dev_handle) { in bta_hh_cback()