Searched refs:p_report (Results 1 – 9 of 9) sorted by relevance
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/hd/ |
D | bta_hd_api.c | 151 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()
|
D | bta_hd_act.c | 361 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.4.0/components/bt/host/bluedroid/bta/hh/ |
D | bta_hh_utils.c | 255 void bta_hh_parse_keybd_rpt(tBTA_HH_BOOT_RPT *p_kb_data, UINT8 *p_report, in bta_hh_parse_keybd_rpt() argument 267 p_report, report_len); in bta_hh_parse_keybd_rpt() 274 ctl_shift = *p_report++; in bta_hh_parse_keybd_rpt() 283 memcpy (this_report, p_report, report_len); in bta_hh_parse_keybd_rpt() 334 memcpy (p_kb->last_report, p_report, report_len); in bta_hh_parse_keybd_rpt() 348 void bta_hh_parse_mice_rpt(tBTA_HH_BOOT_RPT *p_mice_data, UINT8 *p_report, in bta_hh_parse_mice_rpt() argument 356 report_len=%d) called", p_report, report_len); in bta_hh_parse_mice_rpt() 369 APPL_TRACE_DEBUG("this_char = %02x", p_report[xx]); in bta_hh_parse_mice_rpt() 374 p_data->mouse_button = (p_report[0] & 0x07); in bta_hh_parse_mice_rpt() 377 p_data->delta_x = p_report[1]; in bta_hh_parse_mice_rpt() [all …]
|
D | bta_hh_api.c | 450 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.4.0/examples/bluetooth/bluedroid/ble/ble_hid_device_demo/main/ |
D | hid_dev.c | 38 void hid_dev_register_reports(uint8_t num_reports, hid_report_map_t *p_report) in hid_dev_register_reports() argument 40 hid_dev_rpt_tbl = p_report; in hid_dev_register_reports()
|
D | hid_dev.h | 245 void hid_dev_register_reports(uint8_t num_reports, hid_report_map_t *p_report);
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/hh/include/ |
D | bta_hh_int.h | 344 UINT8 *p_report, UINT16 report_len); 346 UINT8 *p_report, UINT16 report_len);
|
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_hd_api.h | 221 extern void BTA_HdSendReport(tBTA_HD_REPORT *p_report);
|
D | bta_hh_api.h | 537 extern void BTA_HhParseBootRpt(tBTA_HH_BOOT_RPT *p_data, UINT8 *p_report,
|