pwm_dev 54 drivers/input/misc/max77693-haptic.c struct pwm_device *pwm_dev; pwm_dev 73 drivers/input/misc/max77693-haptic.c pwm_get_args(haptic->pwm_dev, &pargs); pwm_dev 75 drivers/input/misc/max77693-haptic.c error = pwm_config(haptic->pwm_dev, delta, pargs.period); pwm_dev 165 drivers/input/misc/max77693-haptic.c error = pwm_enable(haptic->pwm_dev); pwm_dev 187 drivers/input/misc/max77693-haptic.c pwm_disable(haptic->pwm_dev); pwm_dev 205 drivers/input/misc/max77693-haptic.c pwm_disable(haptic->pwm_dev); pwm_dev 248 drivers/input/misc/max77693-haptic.c pwm_get_args(haptic->pwm_dev, &pargs); pwm_dev 327 drivers/input/misc/max77693-haptic.c haptic->pwm_dev = devm_pwm_get(&pdev->dev, NULL); pwm_dev 328 drivers/input/misc/max77693-haptic.c if (IS_ERR(haptic->pwm_dev)) { pwm_dev 330 drivers/input/misc/max77693-haptic.c return PTR_ERR(haptic->pwm_dev); pwm_dev 337 drivers/input/misc/max77693-haptic.c pwm_apply_args(haptic->pwm_dev); pwm_dev 90 drivers/pwm/pwm-berlin.c static int berlin_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm_dev, pwm_dev 115 drivers/pwm/pwm-berlin.c value = berlin_pwm_readl(pwm, pwm_dev->hwpwm, BERLIN_PWM_CONTROL); pwm_dev 120 drivers/pwm/pwm-berlin.c berlin_pwm_writel(pwm, pwm_dev->hwpwm, value, BERLIN_PWM_CONTROL); pwm_dev 122 drivers/pwm/pwm-berlin.c berlin_pwm_writel(pwm, pwm_dev->hwpwm, duty, BERLIN_PWM_DUTY); pwm_dev 123 drivers/pwm/pwm-berlin.c berlin_pwm_writel(pwm, pwm_dev->hwpwm, period, BERLIN_PWM_TCNT); pwm_dev 129 drivers/pwm/pwm-berlin.c struct pwm_device *pwm_dev, pwm_dev 135 drivers/pwm/pwm-berlin.c value = berlin_pwm_readl(pwm, pwm_dev->hwpwm, BERLIN_PWM_CONTROL); pwm_dev 142 drivers/pwm/pwm-berlin.c berlin_pwm_writel(pwm, pwm_dev->hwpwm, value, BERLIN_PWM_CONTROL); pwm_dev 147 drivers/pwm/pwm-berlin.c static int berlin_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm_dev) pwm_dev 152 drivers/pwm/pwm-berlin.c value = berlin_pwm_readl(pwm, pwm_dev->hwpwm, BERLIN_PWM_EN); pwm_dev 154 drivers/pwm/pwm-berlin.c berlin_pwm_writel(pwm, pwm_dev->hwpwm, value, BERLIN_PWM_EN); pwm_dev 160 drivers/pwm/pwm-berlin.c struct pwm_device *pwm_dev) pwm_dev 165 drivers/pwm/pwm-berlin.c value = berlin_pwm_readl(pwm, pwm_dev->hwpwm, BERLIN_PWM_EN); pwm_dev 167 drivers/pwm/pwm-berlin.c berlin_pwm_writel(pwm, pwm_dev->hwpwm, value, BERLIN_PWM_EN);