Lines Matching refs:npwm
56 bitmap_clear(allocated_pwms, chip->base, chip->npwm);
141 if (args->args[0] >= chip->npwm)
269 if (!chip || !chip->dev || !chip->ops || !chip->npwm)
275 chip->pwms = kcalloc(chip->npwm, sizeof(*pwm), GFP_KERNEL);
281 ret = alloc_pwms(chip->npwm);
290 for (i = 0; i < chip->npwm; i++) {
370 if (!chip || index >= chip->npwm)
1060 for (i = 0; i < chip->npwm; i++) {
1112 dev_name(chip->dev), chip->npwm,
1113 (chip->npwm != 1) ? "s" : "");