Lines Matching refs:num_lines

487 	u32 num_lines;  member
568 if (lr->num_lines != 1) in edge_irq_thread()
594 le.seqno = (lr->num_lines == 1) ? le.line_seqno : line->req_seqno; in edge_irq_thread()
613 if (lr->num_lines != 1) in edge_irq_handler()
690 le.seqno = (lr->num_lines == 1) ? in debounce_work_func()
939 unsigned int num_lines) in gpio_v2_line_config_validate() argument
951 for (i = 0; i < num_lines; i++) { in gpio_v2_line_config_validate()
1010 for (num_get = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1024 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1040 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_get_values()
1067 for (num_set = 0, i = 0; i < lr->num_lines; i++) { in linereq_set_values_unlocked()
1085 for (didx = 0, i = 0; i < lr->num_lines; i++) { in linereq_set_values_unlocked()
1126 for (i = 0; i < lr->num_lines; i++) { in linereq_set_config_unlocked()
1172 ret = gpio_v2_line_config_validate(&lc, lr->num_lines); in linereq_set_config()
1282 for (i = 0; i < lr->num_lines; i++) { in linereq_free()
1326 if ((ulr.num_lines == 0) || (ulr.num_lines > GPIO_V2_LINES_MAX)) in linereq_create()
1333 ret = gpio_v2_line_config_validate(lc, ulr.num_lines); in linereq_create()
1337 lr = kzalloc(struct_size(lr, lines, ulr.num_lines), GFP_KERNEL); in linereq_create()
1344 for (i = 0; i < ulr.num_lines; i++) { in linereq_create()
1364 lr->event_buffer_size = ulr.num_lines * 16; in linereq_create()
1369 lr->num_lines = ulr.num_lines; in linereq_create()
1372 for (i = 0; i < ulr.num_lines; i++) { in linereq_create()
1448 lr->num_lines); in linereq_create()