Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hd/
Dbta_hd_api.c151 extern void BTA_HdSendReport(tBTA_HD_REPORT *p_report) in BTA_HdSendReport() argument
155 if (p_report->len > BTA_HD_REPORT_LEN) { in BTA_HdSendReport()
158 __func__, p_report->len, BTA_HD_REPORT_LEN); in BTA_HdSendReport()
163 p_buf->use_intr = p_report->use_intr; in BTA_HdSendReport()
164 p_buf->type = p_report->type; in BTA_HdSendReport()
165 p_buf->id = p_report->id; in BTA_HdSendReport()
166 p_buf->len = p_report->len; in BTA_HdSendReport()
167 memcpy(p_buf->data, p_report->p_data, p_report->len); in BTA_HdSendReport()
Dbta_hd_act.c361 tBTA_HD_SEND_REPORT *p_report = (tBTA_HD_SEND_REPORT *)p_data; in bta_hd_send_report_act() local
369 channel = p_report->use_intr ? HID_CHANNEL_INTR : HID_CHANNEL_CTRL; in bta_hd_send_report_act()
370 report_id = (bta_hd_cb.use_report_id || bta_hd_cb.boot_mode) ? p_report->id : 0x00; in bta_hd_send_report_act()
372 ret = HID_DevSendReport(channel, p_report->type, report_id, p_report->len, p_report->data); in bta_hd_send_report_act()
381 cback_data.send_report.report_type = p_report->type; in bta_hd_send_report_act()
396 tBTA_HD_REPORT_ERR *p_report = (tBTA_HD_REPORT_ERR *)p_data; in bta_hd_report_error_act() local
400 APPL_TRACE_API("%s: error = %d", __func__, p_report->error); in bta_hd_report_error_act()
402 ret = HID_DevReportError(p_report->error); in bta_hd_report_error_act()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hh/
Dbta_hh_utils.c256 void bta_hh_parse_keybd_rpt(tBTA_HH_BOOT_RPT *p_kb_data, UINT8 *p_report, in bta_hh_parse_keybd_rpt() argument
268 p_report, report_len); in bta_hh_parse_keybd_rpt()
275 ctl_shift = *p_report++; in bta_hh_parse_keybd_rpt()
284 memcpy (this_report, p_report, report_len); in bta_hh_parse_keybd_rpt()
335 memcpy (p_kb->last_report, p_report, report_len); in bta_hh_parse_keybd_rpt()
349 void bta_hh_parse_mice_rpt(tBTA_HH_BOOT_RPT *p_mice_data, UINT8 *p_report, in bta_hh_parse_mice_rpt() argument
357 report_len=%d) called", p_report, report_len); in bta_hh_parse_mice_rpt()
370 APPL_TRACE_DEBUG("this_char = %02x", p_report[xx]); in bta_hh_parse_mice_rpt()
375 p_data->mouse_button = (p_report[0] & 0x07); in bta_hh_parse_mice_rpt()
378 p_data->delta_x = p_report[1]; in bta_hh_parse_mice_rpt()
[all …]
Dbta_hh_api.c450 void BTA_HhParseBootRpt(tBTA_HH_BOOT_RPT *p_data, UINT8 *p_report, in BTA_HhParseBootRpt() argument
455 if (p_report) { in BTA_HhParseBootRpt()
457 switch (p_report[0]) { in BTA_HhParseBootRpt()
459 p_data->dev_type = p_report[0]; in BTA_HhParseBootRpt()
460 bta_hh_parse_keybd_rpt(p_data, p_report + 1, (UINT16)(report_len - 1)); in BTA_HhParseBootRpt()
464 p_data->dev_type = p_report[0]; in BTA_HhParseBootRpt()
465 bta_hh_parse_mice_rpt(p_data, p_report + 1, (UINT16)(report_len - 1)); in BTA_HhParseBootRpt()
469 APPL_TRACE_DEBUG("Unknown boot report: %d", p_report[0]);; in BTA_HhParseBootRpt()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/include/bta/
Dbta_hd_api.h221 extern void BTA_HdSendReport(tBTA_HD_REPORT *p_report);
Dbta_hh_api.h537 extern void BTA_HhParseBootRpt(tBTA_HH_BOOT_RPT *p_data, UINT8 *p_report,
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hh/include/
Dbta_hh_int.h344 UINT8 *p_report, UINT16 report_len);
346 UINT8 *p_report, UINT16 report_len);