Lines Matching refs:num_lines

548 	u32 num_lines;  member
555 struct line lines[] __counted_by(num_lines);
796 le.seqno = (lr->num_lines == 1) ? le.line_seqno : line->req_seqno; in process_hw_ts_thread()
829 if (lr->num_lines != 1) in process_hw_ts()
893 if (lr->num_lines != 1) in edge_irq_thread()
913 le.seqno = (lr->num_lines == 1) ? le.line_seqno : line->req_seqno; in edge_irq_thread()
932 if (lr->num_lines != 1) in edge_irq_handler()
1021 le.seqno = (lr->num_lines == 1) ? in debounce_work_func()
1028 le.seqno = (lr->num_lines == 1) ? in debounce_work_func()
1325 unsigned int num_lines) in gpio_v2_line_config_validate() argument
1337 for (i = 0; i < num_lines; i++) { in gpio_v2_line_config_validate()
1406 for (num_get = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1422 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1438 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1479 for (num_set = 0, i = 0; i < lr->num_lines; i++) { in linereq_set_values()
1500 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_set_values()
1527 ret = gpio_v2_line_config_validate(&lc, lr->num_lines); in linereq_set_config()
1533 for (i = 0; i < lr->num_lines; i++) { in linereq_set_config()
1679 for (i = 0; i < lr->num_lines; i++) { in linereq_free()
1712 for (i = 0; i < lr->num_lines; i++) in linereq_show_fdinfo()
1746 if ((ulr.num_lines == 0) || (ulr.num_lines > GPIO_V2_LINES_MAX)) in linereq_create()
1753 ret = gpio_v2_line_config_validate(lc, ulr.num_lines); in linereq_create()
1757 lr = kvzalloc(struct_size(lr, lines, ulr.num_lines), GFP_KERNEL); in linereq_create()
1760 lr->num_lines = ulr.num_lines; in linereq_create()
1764 for (i = 0; i < ulr.num_lines; i++) { in linereq_create()
1785 lr->event_buffer_size = ulr.num_lines * 16; in linereq_create()
1792 for (i = 0; i < ulr.num_lines; i++) { in linereq_create()
1876 lr->num_lines); in linereq_create()