Lines Matching refs:reports
132 hidd_le_report_item_t *reports; member
262 if (dev->devices[device_index].reports[i].report_type == ESP_HID_REPORT_TYPE_INPUT) { in create_hid_db()
267 if (dev->devices[device_index].reports[i].protocol_mode == ESP_HID_PROTOCOL_MODE_REPORT) { in create_hid_db()
297 hidd_le_report_item_t *report = &dev->devices[device_index].reports[i]; in create_hid_db()
345 rpt = &dev->reports[i]; in link_report_handles()
358 rpt = &dev->devices[d].reports[i]; in get_report_by_handle()
372 rpt = &dev->devices[d].reports[i]; in get_report_by_id_and_type()
702 …dev->devices[d].reports = (hidd_le_report_item_t *)malloc(rmap->reports_len * sizeof(hidd_le_repor… in ble_hid_init_config()
703 if (dev->devices[d].reports == NULL) { in ble_hid_init_config()
709 dev->devices[d].reports[r].map_index = d; in ble_hid_init_config()
710 dev->devices[d].reports[r].report_id = rmap->reports[r].report_id; in ble_hid_init_config()
711 dev->devices[d].reports[r].protocol_mode = rmap->reports[r].protocol_mode; in ble_hid_init_config()
712 dev->devices[d].reports[r].report_type = rmap->reports[r].report_type; in ble_hid_init_config()
713 dev->devices[d].reports[r].usage = rmap->reports[r].usage; in ble_hid_init_config()
714 dev->devices[d].reports[r].value_len = rmap->reports[r].value_len; in ble_hid_init_config()
716 free(rmap->reports); in ble_hid_init_config()
727 free((void *)dev->devices[d].reports); in ble_hid_free_config()