• Home
  • Raw
  • Download

Lines Matching refs:hs_data

813   tBTA_HH_HSDATA hs_data;  in get_protocol_mode_cb()  local
815 hs_data.status = BTA_HH_ERR; in get_protocol_mode_cb()
816 hs_data.handle = p_dev_cb->hid_handle; in get_protocol_mode_cb()
817 hs_data.rsp_data.proto_mode = p_dev_cb->mode; in get_protocol_mode_cb()
820 hs_data.status = BTA_HH_OK; in get_protocol_mode_cb()
822 hs_data.rsp_data.proto_mode = *(value); in get_protocol_mode_cb()
825 if (hs_data.rsp_data.proto_mode == 0) in get_protocol_mode_cb()
826 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_BOOT_MODE; in get_protocol_mode_cb()
828 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_RPT_MODE; in get_protocol_mode_cb()
830 p_dev_cb->mode = hs_data.rsp_data.proto_mode; in get_protocol_mode_cb()
834 (hs_data.rsp_data.proto_mode == BTA_HH_PROTO_RPT_MODE) in get_protocol_mode_cb()
839 (*bta_hh_cb.p_cback)(BTA_HH_GET_PROTO_EVT, (tBTA_HH*)&hs_data); in get_protocol_mode_cb()
850 tBTA_HH_HSDATA hs_data; in bta_hh_le_get_protocol_mode() local
861 hs_data.status = BTA_HH_OK; in bta_hh_le_get_protocol_mode()
862 hs_data.handle = p_cb->hid_handle; in bta_hh_le_get_protocol_mode()
863 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_RPT_MODE; in bta_hh_le_get_protocol_mode()
865 (*bta_hh_cb.p_cback)(BTA_HH_GET_PROTO_EVT, (tBTA_HH*)&hs_data); in bta_hh_le_get_protocol_mode()
1700 tBTA_HH_HSDATA hs_data; in read_report_cb() local
1703 memset(&hs_data, 0, sizeof(hs_data)); in read_report_cb()
1704 hs_data.status = BTA_HH_ERR; in read_report_cb()
1705 hs_data.handle = p_dev_cb->hid_handle; in read_report_cb()
1717 hs_data.status = BTA_HH_OK; in read_report_cb()
1728 hs_data.rsp_data.p_rpt_data = p_buf; in read_report_cb()
1733 (*bta_hh_cb.p_cback)(BTA_HH_GET_RPT_EVT, (tBTA_HH*)&hs_data); in read_report_cb()