Lines Matching full:item

66 	const struct rmi_register_desc_item *item;  in rmi_f12_read_sensor_tuning()  local
80 item = rmi_get_register_desc_item(&f12->control_reg_desc, 8); in rmi_f12_read_sensor_tuning()
81 if (!item) { in rmi_f12_read_sensor_tuning()
89 if (item->reg_size > sizeof(buf)) { in rmi_f12_read_sensor_tuning()
92 sizeof(buf), item->reg_size); in rmi_f12_read_sensor_tuning()
97 item->reg_size); in rmi_f12_read_sensor_tuning()
102 if (rmi_register_desc_has_subpacket(item, 0)) { in rmi_f12_read_sensor_tuning()
111 if (rmi_register_desc_has_subpacket(item, 1)) { in rmi_f12_read_sensor_tuning()
117 if (rmi_register_desc_has_subpacket(item, 2)) { in rmi_f12_read_sensor_tuning()
147 if (rmi_register_desc_has_subpacket(item, 3)) { in rmi_f12_read_sensor_tuning()
154 if (rmi_register_desc_has_subpacket(item, 4)) in rmi_f12_read_sensor_tuning()
262 const struct rmi_register_desc_item *item; in rmi_f12_write_control_regs() local
272 item = rmi_get_register_desc_item(&f12->control_reg_desc, 20); in rmi_f12_write_control_regs()
273 if (item) { in rmi_f12_write_control_regs()
283 control_size = min(item->reg_size, 3UL); in rmi_f12_write_control_regs()
290 if (rmi_register_desc_has_subpacket(item, 0)) in rmi_f12_write_control_regs()
348 const struct rmi_register_desc_item *item; in rmi_f12_probe() local
461 item = rmi_get_register_desc_item(&f12->data_reg_desc, 0); in rmi_f12_probe()
462 if (item && !drvdata->attn_data.data) in rmi_f12_probe()
463 data_offset += item->reg_size; in rmi_f12_probe()
465 item = rmi_get_register_desc_item(&f12->data_reg_desc, 1); in rmi_f12_probe()
466 if (item) { in rmi_f12_probe()
467 f12->data1 = item; in rmi_f12_probe()
469 data_offset += item->reg_size; in rmi_f12_probe()
470 sensor->nbr_fingers = item->num_subpackets; in rmi_f12_probe()
472 sensor->attn_size += item->reg_size; in rmi_f12_probe()
475 item = rmi_get_register_desc_item(&f12->data_reg_desc, 2); in rmi_f12_probe()
476 if (item && !drvdata->attn_data.data) in rmi_f12_probe()
477 data_offset += item->reg_size; in rmi_f12_probe()
479 item = rmi_get_register_desc_item(&f12->data_reg_desc, 3); in rmi_f12_probe()
480 if (item && !drvdata->attn_data.data) in rmi_f12_probe()
481 data_offset += item->reg_size; in rmi_f12_probe()
483 item = rmi_get_register_desc_item(&f12->data_reg_desc, 4); in rmi_f12_probe()
484 if (item && !drvdata->attn_data.data) in rmi_f12_probe()
485 data_offset += item->reg_size; in rmi_f12_probe()
487 item = rmi_get_register_desc_item(&f12->data_reg_desc, 5); in rmi_f12_probe()
488 if (item) { in rmi_f12_probe()
489 f12->data5 = item; in rmi_f12_probe()
491 data_offset += item->reg_size; in rmi_f12_probe()
492 sensor->attn_size += item->reg_size; in rmi_f12_probe()
495 item = rmi_get_register_desc_item(&f12->data_reg_desc, 6); in rmi_f12_probe()
496 if (item && !drvdata->attn_data.data) { in rmi_f12_probe()
497 f12->data6 = item; in rmi_f12_probe()
499 data_offset += item->reg_size; in rmi_f12_probe()
502 item = rmi_get_register_desc_item(&f12->data_reg_desc, 7); in rmi_f12_probe()
503 if (item && !drvdata->attn_data.data) in rmi_f12_probe()
504 data_offset += item->reg_size; in rmi_f12_probe()
506 item = rmi_get_register_desc_item(&f12->data_reg_desc, 8); in rmi_f12_probe()
507 if (item && !drvdata->attn_data.data) in rmi_f12_probe()
508 data_offset += item->reg_size; in rmi_f12_probe()
510 item = rmi_get_register_desc_item(&f12->data_reg_desc, 9); in rmi_f12_probe()
511 if (item && !drvdata->attn_data.data) { in rmi_f12_probe()
512 f12->data9 = item; in rmi_f12_probe()
514 data_offset += item->reg_size; in rmi_f12_probe()
519 item = rmi_get_register_desc_item(&f12->data_reg_desc, 10); in rmi_f12_probe()
520 if (item && !drvdata->attn_data.data) in rmi_f12_probe()
521 data_offset += item->reg_size; in rmi_f12_probe()
523 item = rmi_get_register_desc_item(&f12->data_reg_desc, 11); in rmi_f12_probe()
524 if (item && !drvdata->attn_data.data) in rmi_f12_probe()
525 data_offset += item->reg_size; in rmi_f12_probe()
527 item = rmi_get_register_desc_item(&f12->data_reg_desc, 12); in rmi_f12_probe()
528 if (item && !drvdata->attn_data.data) in rmi_f12_probe()
529 data_offset += item->reg_size; in rmi_f12_probe()
531 item = rmi_get_register_desc_item(&f12->data_reg_desc, 13); in rmi_f12_probe()
532 if (item && !drvdata->attn_data.data) in rmi_f12_probe()
533 data_offset += item->reg_size; in rmi_f12_probe()
535 item = rmi_get_register_desc_item(&f12->data_reg_desc, 14); in rmi_f12_probe()
536 if (item && !drvdata->attn_data.data) in rmi_f12_probe()
537 data_offset += item->reg_size; in rmi_f12_probe()
539 item = rmi_get_register_desc_item(&f12->data_reg_desc, 15); in rmi_f12_probe()
540 if (item && !drvdata->attn_data.data) { in rmi_f12_probe()
541 f12->data15 = item; in rmi_f12_probe()
543 data_offset += item->reg_size; in rmi_f12_probe()