Searched refs:cpt_num_devs (Results 1 – 1 of 1) sorted by relevance
79 unsigned int cpt_num_devs; member324 if (pwm->hwpwm >= cdata->cpt_num_devs) { in sti_pwm_capture()522 cdata->cpt_num_devs = num_devs; in sti_pwm_probe_dt()524 if (!cdata->pwm_num_devs && !cdata->cpt_num_devs) { in sti_pwm_probe_dt()616 cdata->cpt_num_devs = 0; in sti_pwm_probe()635 if (cdata->cpt_num_devs) { in sti_pwm_probe()642 cdata->ddata = devm_kzalloc(dev, cdata->cpt_num_devs * sizeof(*cdata->ddata), GFP_KERNEL); in sti_pwm_probe()649 chip->npwm = max(cdata->pwm_num_devs, cdata->cpt_num_devs); in sti_pwm_probe()651 for (i = 0; i < cdata->cpt_num_devs; i++) { in sti_pwm_probe()