Searched refs:nr_ranges (Results 1 – 2 of 2) sorted by relevance
65 for (i = 0, offset = 0; i < pfc->nr_ranges; ++i) { in sh_pfc_get_pin_index()360 unsigned int nr_ranges; in sh_pfc_init_ranges() local368 pfc->nr_ranges = 1; in sh_pfc_init_ranges()384 for (i = 1, nr_ranges = 1; i < pfc->info->nr_pins; ++i) { in sh_pfc_init_ranges()386 nr_ranges++; in sh_pfc_init_ranges()389 pfc->nr_ranges = nr_ranges; in sh_pfc_init_ranges()390 pfc->ranges = kzalloc(sizeof(*pfc->ranges) * nr_ranges, GFP_KERNEL); in sh_pfc_init_ranges()
214 unsigned int nr_ranges; member