Lines Matching refs:num_set
1458 unsigned int i, didx, num_set;
1469 * Calculation of num_set and construction of the descs and vals arrays
1471 * allocation for the desc array for the common num_set == 1 case.
1475 for (num_set = 0, i = 0; i < lr->num_lines; i++) {
1482 __set_bit(num_set, vals);
1483 num_set++;
1484 /* capture desc for the num_set == 1 case */
1488 if (num_set == 0)
1491 if (num_set != 1) {
1493 descs = kmalloc_array(num_set, sizeof(*descs), GFP_KERNEL);
1503 ret = gpiod_set_array_value_complex(false, true, num_set,
1506 if (num_set != 1)