/linux-4.19.296/drivers/pwm/ |
D | pwm-lpss-pci.c | 23 .npwm = 1, 30 .npwm = 1, 37 .npwm = 4, 45 .npwm = 4,
|
D | pwm-lpss-platform.c | 24 .npwm = 1, 31 .npwm = 1, 38 .npwm = 4,
|
D | pwm-lpss.c | 186 if (WARN_ON(info->npwm > MAX_PWMS)) in pwm_lpss_probe() 206 lpwm->chip.npwm = info->npwm; in pwm_lpss_probe() 222 for (i = 0; i < lpwm->info->npwm; i++) { in pwm_lpss_remove() 235 for (i = 0; i < lpwm->info->npwm; i++) in pwm_lpss_suspend() 247 for (i = 0; i < lpwm->info->npwm; i++) in pwm_lpss_resume()
|
D | core.c | 76 for (i = 0; i < chip->npwm; i++) { in free_pwms() 82 bitmap_clear(allocated_pwms, chip->base, chip->npwm); in free_pwms() 148 if (args->args[0] >= pc->npwm) in of_pwm_xlate_with_flags() 178 if (args->args[0] >= pc->npwm) in of_pwm_simple_xlate() 270 if (!chip || !chip->dev || !chip->ops || !chip->npwm) in pwmchip_add_with_polarity() 278 ret = alloc_pwms(chip->base, chip->npwm); in pwmchip_add_with_polarity() 282 chip->pwms = kcalloc(chip->npwm, sizeof(*pwm), GFP_KERNEL); in pwmchip_add_with_polarity() 290 for (i = 0; i < chip->npwm; i++) { in pwmchip_add_with_polarity() 304 bitmap_set(allocated_pwms, chip->base, chip->npwm); in pwmchip_add_with_polarity() 357 for (i = 0; i < chip->npwm; i++) { in pwmchip_remove() [all …]
|
D | pwm-stm32.c | 142 if (pwm->chip->npwm < 2) in stm32_pwm_raw_capture() 569 int npwm = 0; in stm32_pwm_detect_channels() local 581 npwm++; in stm32_pwm_detect_channels() 584 npwm++; in stm32_pwm_detect_channels() 587 npwm++; in stm32_pwm_detect_channels() 590 npwm++; in stm32_pwm_detect_channels() 592 return npwm; in stm32_pwm_detect_channels() 624 priv->chip.npwm = stm32_pwm_detect_channels(priv); in stm32_pwm_probe() 640 for (i = 0; i < priv->chip.npwm; i++) in stm32_pwm_remove()
|
D | pwm-sun4i.c | 76 unsigned int npwm; member 317 .npwm = 2, 322 .npwm = 2, 327 .npwm = 1, 378 pwm->chip.npwm = pwm->data->npwm; in sun4i_pwm_probe()
|
D | sysfs.c | 320 if (hwpwm >= chip->npwm) in export_store() 347 if (hwpwm >= chip->npwm) in unexport_store() 361 return sprintf(buf, "%u\n", chip->npwm); in npwm_show() 363 static DEVICE_ATTR_RO(npwm); 410 for (i = 0; i < chip->npwm; i++) { in pwmchip_sysfs_unexport()
|
D | pwm-cros-ec.c | 139 if (args->args[0] >= pc->npwm) in cros_ec_pwm_xlate() 216 chip->npwm = ret; in cros_ec_pwm_probe() 217 dev_dbg(dev, "Probed %u PWMs\n", chip->npwm); in cros_ec_pwm_probe()
|
D | pwm-meson.c | 470 for (i = 0; i < meson->chip.npwm; i++) { in meson_pwm_init_channels() 516 for (i = 0; i < meson->chip.npwm; i++) in meson_pwm_add_channels() 540 meson->chip.npwm = 2; in meson_pwm_probe() 545 meson->inverter_mask = BIT(meson->chip.npwm) - 1; in meson_pwm_probe() 547 channels = devm_kcalloc(&pdev->dev, meson->chip.npwm, in meson_pwm_probe()
|
D | pwm-img.c | 313 pwm->chip.npwm = IMG_PWM_NPWM; in img_pwm_probe() 355 for (i = 0; i < pwm_chip->chip.npwm; i++) in img_pwm_suspend() 376 for (i = 0; i < pwm_chip->chip.npwm; i++) in img_pwm_resume() 382 for (i = 0; i < pwm_chip->chip.npwm; i++) in img_pwm_resume()
|
D | pwm-lpss.h | 23 unsigned int npwm; member
|
D | pwm-lpc32xx.c | 124 lpc32xx->chip.npwm = 1; in lpc32xx_pwm_probe() 148 for (i = 0; i < lpc32xx->chip.npwm; i++) in lpc32xx_pwm_remove()
|
D | pwm-berlin.c | 212 pwm->chip.npwm = 4; in berlin_pwm_probe() 245 for (i = 0; i < pwm->chip.npwm; i++) { in berlin_pwm_suspend() 273 for (i = 0; i < pwm->chip.npwm; i++) { in berlin_pwm_resume()
|
D | pwm-bcm-kona.c | 276 kp->chip.npwm = 6; in kona_pwmc_probe() 299 for (chan = 0; chan < kp->chip.npwm; chan++) in kona_pwmc_probe() 318 for (chan = 0; chan < kp->chip.npwm; chan++) in kona_pwmc_remove()
|
D | pwm-clps711x.c | 112 if (args->args[0] >= chip->npwm) in clps711x_pwm_xlate() 139 priv->chip.npwm = 2; in clps711x_pwm_probe()
|
D | pwm-lpc18xx-sct.c | 217 for (i = 0; i < chip->npwm; i++) in lpc18xx_pwm_config() 382 lpc18xx_pwm->chip.npwm = 16; in lpc18xx_pwm_probe() 409 for (i = 0; i < lpc18xx_pwm->chip.npwm; i++) { in lpc18xx_pwm_probe()
|
D | pwm-zx.c | 230 zpc->chip.npwm = 4; in zx_pwm_probe() 238 for (i = 0; i < zpc->chip.npwm; i++) in zx_pwm_probe()
|
D | pwm-hibvt.c | 198 pwm_chip->chip.npwm = soc->num_pwms; in hibvt_pwm_probe() 227 for (i = 0; i < pwm_chip->chip.npwm; i++) { in hibvt_pwm_probe()
|
D | pwm-twl-led.c | 298 twl->chip.npwm = 2; in twl_pwmled_probe() 301 twl->chip.npwm = 1; in twl_pwmled_probe()
|
D | pwm-bcm-iproc.c | 215 ip->chip.npwm = 4; in iproc_pwmc_probe() 240 for (i = 0; i < ip->chip.npwm; i++) { in iproc_pwmc_probe()
|
D | pwm-fsl-ftm.c | 482 fpc->chip.npwm = 8; in fsl_pwm_probe() 511 for (i = 0; i < fpc->chip.npwm; i++) { in fsl_pwm_suspend() 534 for (i = 0; i < fpc->chip.npwm; i++) { in fsl_pwm_resume()
|
D | pwm-crc.c | 118 pwm->chip.npwm = 1; in crystalcove_pwm_probe()
|
D | pwm-ab8500.c | 105 ab8500->chip.npwm = 1; in ab8500_pwm_probe()
|
D | pwm-tiehrpwm.c | 469 pc->chip.npwm = NUM_PWM_CHANNEL; in ehrpwm_pwm_probe() 553 for (i = 0; i < pc->chip.npwm; i++) { in ehrpwm_pwm_suspend() 571 for (i = 0; i < pc->chip.npwm; i++) { in ehrpwm_pwm_resume()
|
D | pwm-puv3.c | 125 puv3->chip.npwm = 1; in pwm_probe()
|