Searched refs:cpt_num_devs (Results 1 – 1 of 1) sorted by relevance
82 unsigned int cpt_num_devs; member305 if (pwm->hwpwm >= pc->cpt_num_devs) { in sti_pwm_capture()535 unsigned int cpt_num_devs = 0; in sti_pwm_probe() local547 cpt_num_devs = num_devs; in sti_pwm_probe()549 if (!pwm_num_devs && !cpt_num_devs) in sti_pwm_probe()552 chip = devm_pwmchip_alloc(dev, max(pwm_num_devs, cpt_num_devs), sizeof(*pc)); in sti_pwm_probe()583 pc->cpt_num_devs = cpt_num_devs; in sti_pwm_probe()599 if (cpt_num_devs) { in sti_pwm_probe()605 pc->ddata = devm_kcalloc(dev, cpt_num_devs, in sti_pwm_probe()610 for (i = 0; i < cpt_num_devs; i++) { in sti_pwm_probe()