Lines Matching defs:rdata
615 struct mt_report_data *rdata;
619 rdata = devm_kzalloc(&td->hdev->dev, sizeof(*rdata), GFP_KERNEL);
620 if (!rdata)
623 rdata->report = report;
624 rdata->application = mt_find_application(td, report);
626 if (!rdata->application) {
627 devm_kfree(&td->hdev->dev, rdata);
640 rdata->is_mt_collection = true;
647 list_add_tail(&rdata->list, &td->reports);
649 return rdata;
655 struct mt_report_data *tmp, *rdata = NULL;
659 rdata = tmp;
664 if (!rdata)
665 rdata = mt_allocate_report_data(td, report);
667 return rdata;
1196 struct mt_report_data *rdata)
1199 struct hid_report *report = rdata->report;
1200 struct mt_application *app = rdata->application;
1348 struct mt_report_data *rdata;
1350 rdata = mt_find_report_data(td, field->report);
1351 if (!rdata) {
1356 application = rdata->application;
1400 if (rdata->is_mt_collection)
1420 struct mt_report_data *rdata;
1422 rdata = mt_find_report_data(td, field->report);
1423 if (rdata && rdata->is_mt_collection) {
1436 struct mt_report_data *rdata;
1438 rdata = mt_find_report_data(td, field->report);
1439 if (rdata && rdata->is_mt_collection)
1449 struct mt_report_data *rdata;
1454 rdata = mt_find_report_data(td, report);
1455 if (rdata && rdata->is_mt_collection)
1456 return mt_touch_report(hid, rdata);
1598 struct mt_report_data *rdata;
1604 rdata = mt_find_report_data(td, report);
1605 if (!rdata) {
1610 mt_application = rdata->application;
1612 if (rdata->is_mt_collection) {