• Home
  • Raw
  • Download

Lines Matching refs:hs_data

840   tBTA_HH_HSDATA hs_data;  in get_protocol_mode_cb()  local
842 hs_data.status = BTA_HH_ERR; in get_protocol_mode_cb()
843 hs_data.handle = p_dev_cb->hid_handle; in get_protocol_mode_cb()
844 hs_data.rsp_data.proto_mode = p_dev_cb->mode; in get_protocol_mode_cb()
847 hs_data.status = BTA_HH_OK; in get_protocol_mode_cb()
849 hs_data.rsp_data.proto_mode = *(value); in get_protocol_mode_cb()
852 if (hs_data.rsp_data.proto_mode == 0) in get_protocol_mode_cb()
853 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_BOOT_MODE; in get_protocol_mode_cb()
855 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_RPT_MODE; in get_protocol_mode_cb()
857 p_dev_cb->mode = hs_data.rsp_data.proto_mode; in get_protocol_mode_cb()
862 (hs_data.rsp_data.proto_mode == BTA_HH_PROTO_RPT_MODE) in get_protocol_mode_cb()
868 (*bta_hh_cb.p_cback)(BTA_HH_GET_PROTO_EVT, (tBTA_HH*)&hs_data); in get_protocol_mode_cb()
879 tBTA_HH_HSDATA hs_data; in bta_hh_le_get_protocol_mode() local
890 hs_data.status = BTA_HH_OK; in bta_hh_le_get_protocol_mode()
891 hs_data.handle = p_cb->hid_handle; in bta_hh_le_get_protocol_mode()
892 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_RPT_MODE; in bta_hh_le_get_protocol_mode()
894 (*bta_hh_cb.p_cback)(BTA_HH_GET_PROTO_EVT, (tBTA_HH*)&hs_data); in bta_hh_le_get_protocol_mode()
1746 tBTA_HH_HSDATA hs_data; in read_report_cb() local
1749 memset(&hs_data, 0, sizeof(hs_data)); in read_report_cb()
1750 hs_data.status = BTA_HH_ERR; in read_report_cb()
1751 hs_data.handle = p_dev_cb->hid_handle; in read_report_cb()
1763 hs_data.status = BTA_HH_OK; in read_report_cb()
1774 hs_data.rsp_data.p_rpt_data = p_buf; in read_report_cb()
1779 (*bta_hh_cb.p_cback)(BTA_HH_GET_RPT_EVT, (tBTA_HH*)&hs_data); in read_report_cb()