Lines Matching refs:field_index
191 u32 field_index, int buffer_size, void *buffer) in sensor_hub_set_feature() argument
203 if (!report || (field_index >= report->maxfield)) { in sensor_hub_set_feature()
212 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature()
223 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature()
239 u32 field_index, int buffer_size, void *buffer) in sensor_hub_get_feature() argument
253 if (!report || (field_index >= report->maxfield) || in sensor_hub_get_feature()
254 report->field[field_index]->report_count < 1) { in sensor_hub_get_feature()
262 report_size = DIV_ROUND_UP(report->field[field_index]->report_size, in sensor_hub_get_feature()
264 report->field[field_index]->report_count; in sensor_hub_get_feature()
271 val_ptr = (u8 *)report->field[field_index]->value; in sensor_hub_get_feature()
272 for (i = 0; i < report->field[field_index]->report_count; ++i) { in sensor_hub_get_feature()
277 report->field[field_index]->report_size / 8); in sensor_hub_get_feature()
279 buffer_index += (report->field[field_index]->report_size / 8); in sensor_hub_get_feature()
353 u32 report_id, int field_index, u32 usage_id) in hid_sensor_get_usage_index() argument
360 if (!report || (field_index >= report->maxfield)) in hid_sensor_get_usage_index()
363 field = report->field[field_index]; in hid_sensor_get_usage_index()