Home
last modified time | relevance | path

Searched refs:p_report (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/bta/hd/
Dbta_hd_api.cc172 void BTA_HdSendReport(tBTA_HD_REPORT* p_report) { in BTA_HdSendReport() argument
175 if (p_report->len > BTA_HD_REPORT_LEN) { in BTA_HdSendReport()
179 p_report->len, BTA_HD_REPORT_LEN); in BTA_HdSendReport()
187 p_buf->use_intr = p_report->use_intr; in BTA_HdSendReport()
188 p_buf->type = p_report->type; in BTA_HdSendReport()
189 p_buf->id = p_report->id; in BTA_HdSendReport()
190 p_buf->len = p_report->len; in BTA_HdSendReport()
191 memcpy(p_buf->data, p_report->p_data, p_report->len); in BTA_HdSendReport()
Dbta_hd_act.cc389 tBTA_HD_SEND_REPORT* p_report = (tBTA_HD_SEND_REPORT*)p_data; in bta_hd_send_report_act() local
395 channel = p_report->use_intr ? HID_CHANNEL_INTR : HID_CHANNEL_CTRL; in bta_hd_send_report_act()
397 (bta_hd_cb.use_report_id || bta_hd_cb.boot_mode) ? p_report->id : 0x00; in bta_hd_send_report_act()
399 HID_DevSendReport(channel, p_report->type, report_id, p_report->len, in bta_hd_send_report_act()
400 p_report->data); in bta_hd_send_report_act()
417 tBTA_HD_REPORT_ERR* p_report = (tBTA_HD_REPORT_ERR*)p_data; in bta_hd_report_error_act() local
420 log::verbose("error = {}", p_report->error); in bta_hd_report_error_act()
422 ret = HID_DevReportError(p_report->error); in bta_hd_report_error_act()
/packages/modules/Bluetooth/system/bta/include/
Dbta_hd_api.h197 void BTA_HdSendReport(tBTA_HD_REPORT* p_report);