Lines Matching refs:nr_clocks
135 int nr_clocks; member
363 if (ddata->nr_clocks < SYSC_OPTFCK0) in sysc_init_ext_opt_clock()
366 index = ddata->nr_clocks; in sysc_init_ext_opt_clock()
378 ddata->nr_clocks++; in sysc_init_ext_opt_clock()
444 ddata->clock_roles[ddata->nr_clocks] = name; in sysc_get_clocks()
445 ddata->nr_clocks++; in sysc_get_clocks()
448 if (ddata->nr_clocks < 1) in sysc_get_clocks()
457 if (ddata->nr_clocks > SYSC_MAX_CLOCKS) { in sysc_get_clocks()
471 ddata->nr_clocks++; in sysc_get_clocks()
473 ddata->nr_clocks++; in sysc_get_clocks()
476 ddata->nr_clocks, sizeof(*ddata->clocks), in sysc_get_clocks()
553 if (!ddata->clocks || ddata->nr_clocks < SYSC_OPTFCK0 + 1) in sysc_enable_opt_clocks()
587 if (!ddata->clocks || ddata->nr_clocks < SYSC_OPTFCK0 + 1) in sysc_disable_opt_clocks()
2099 switch (ddata->nr_clocks) { in sysc_clockdomain_init()
2378 for (i = 0; i < ddata->nr_clocks; i++) { in sysc_child_add_clocks()