Lines Matching refs:num_lines

569 	u32 num_lines;  member
689 le.seqno = (lr->num_lines == 1) ? le.line_seqno : line->req_seqno; in process_hw_ts_thread()
722 if (lr->num_lines != 1) in process_hw_ts()
786 if (lr->num_lines != 1) in edge_irq_thread()
806 le.seqno = (lr->num_lines == 1) ? le.line_seqno : line->req_seqno; in edge_irq_thread()
825 if (lr->num_lines != 1) in edge_irq_handler()
914 le.seqno = (lr->num_lines == 1) ? in debounce_work_func()
921 le.seqno = (lr->num_lines == 1) ? in debounce_work_func()
1191 unsigned int num_lines) in gpio_v2_line_config_validate() argument
1203 for (i = 0; i < num_lines; i++) { in gpio_v2_line_config_validate()
1264 for (num_get = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1278 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1294 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1321 for (num_set = 0, i = 0; i < lr->num_lines; i++) { in linereq_set_values_unlocked()
1339 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_set_values_unlocked()
1380 for (i = 0; i < lr->num_lines; i++) { in linereq_set_config_unlocked()
1424 ret = gpio_v2_line_config_validate(&lc, lr->num_lines); in linereq_set_config()
1569 for (i = 0; i < lr->num_lines; i++) { in linereq_free()
1598 for (i = 0; i < lr->num_lines; i++) in linereq_show_fdinfo()
1632 if ((ulr.num_lines == 0) || (ulr.num_lines > GPIO_V2_LINES_MAX)) in linereq_create()
1639 ret = gpio_v2_line_config_validate(lc, ulr.num_lines); in linereq_create()
1643 lr = kzalloc(struct_size(lr, lines, ulr.num_lines), GFP_KERNEL); in linereq_create()
1650 for (i = 0; i < ulr.num_lines; i++) { in linereq_create()
1670 lr->event_buffer_size = ulr.num_lines * 16; in linereq_create()
1675 lr->num_lines = ulr.num_lines; in linereq_create()
1678 for (i = 0; i < ulr.num_lines; i++) { in linereq_create()
1757 lr->num_lines); in linereq_create()