Searched refs:nr_ranges (Results 1 – 3 of 3) sorted by relevance
115 for (i = 0, offset = 0; i < pfc->nr_ranges; ++i) { in sh_pfc_get_pin_index()399 unsigned int nr_ranges; in sh_pfc_init_ranges() local407 pfc->nr_ranges = 1; in sh_pfc_init_ranges()424 for (i = 1, nr_ranges = 1; i < pfc->info->nr_pins; ++i) { in sh_pfc_init_ranges()426 nr_ranges++; in sh_pfc_init_ranges()429 pfc->nr_ranges = nr_ranges; in sh_pfc_init_ranges()430 pfc->ranges = devm_kcalloc(pfc->dev, nr_ranges, sizeof(*pfc->ranges), in sh_pfc_init_ranges()
371 for (i = 0; i < pfc->nr_ranges; ++i) { in sh_pfc_register_gpiochip()
262 unsigned int nr_ranges; member