Searched refs:cpt_num_devs (Results 1 – 1 of 1) sorted by relevance
82 unsigned int cpt_num_devs; member315 if (pwm->hwpwm >= pc->cpt_num_devs) { in sti_pwm_capture()545 unsigned int cpt_num_devs = 0; in sti_pwm_probe() local557 cpt_num_devs = num_devs; in sti_pwm_probe()559 if (!pwm_num_devs && !cpt_num_devs) in sti_pwm_probe()562 chip = devm_pwmchip_alloc(dev, max(pwm_num_devs, cpt_num_devs), sizeof(*pc)); in sti_pwm_probe()593 pc->cpt_num_devs = cpt_num_devs; in sti_pwm_probe()610 if (cpt_num_devs) { in sti_pwm_probe()616 pc->ddata = devm_kcalloc(dev, cpt_num_devs, in sti_pwm_probe()621 for (i = 0; i < cpt_num_devs; i++) { in sti_pwm_probe()