Lines Matching refs:reports
37 hidd_report_item_t *reports; member
133 …dev->devices[d].reports = (hidd_report_item_t *)malloc(rmap->reports_len * sizeof(hidd_report_item… in bt_hidd_init_config()
134 if (dev->devices[d].reports == NULL) { in bt_hidd_init_config()
140 dev->devices[d].reports[r].map_index = d; in bt_hidd_init_config()
141 dev->devices[d].reports[r].report_id = rmap->reports[r].report_id; in bt_hidd_init_config()
142 dev->devices[d].reports[r].protocol_mode = rmap->reports[r].protocol_mode; in bt_hidd_init_config()
143 dev->devices[d].reports[r].report_type = rmap->reports[r].report_type; in bt_hidd_init_config()
144 dev->devices[d].reports[r].usage = rmap->reports[r].usage; in bt_hidd_init_config()
145 dev->devices[d].reports[r].value_len = rmap->reports[r].value_len; in bt_hidd_init_config()
147 free(rmap->reports); in bt_hidd_init_config()
163 rpt = &dev->devices[index].reports[i]; in get_report_by_idx_id_type()
176 rpt = &dev->devices[idx].reports[i]; in get_report_by_id_and_type()
191 free((void *)dev->devices[d].reports); in bt_hid_free_config()
276 rpt = &dev->devices[d].reports[i]; in get_value_len_by_type_protocol()