Searched refs:_pwm (Results 1 – 2 of 2) sorted by relevance
/drivers/pwm/ |
D | pwm-renesas-tpu.c | 218 static int tpu_pwm_request(struct pwm_chip *chip, struct pwm_device *_pwm) in tpu_pwm_request() argument 223 if (_pwm->hwpwm >= TPU_CHANNEL_MAX) in tpu_pwm_request() 231 pwm->channel = _pwm->hwpwm; in tpu_pwm_request() 239 pwm_set_chip_data(_pwm, pwm); in tpu_pwm_request() 244 static void tpu_pwm_free(struct pwm_chip *chip, struct pwm_device *_pwm) in tpu_pwm_free() argument 246 struct tpu_pwm_device *pwm = pwm_get_chip_data(_pwm); in tpu_pwm_free() 252 static int tpu_pwm_config(struct pwm_chip *chip, struct pwm_device *_pwm, in tpu_pwm_config() argument 256 struct tpu_pwm_device *pwm = pwm_get_chip_data(_pwm); in tpu_pwm_config() 304 if (!pwm_is_enabled(_pwm)) in tpu_pwm_config() 335 static int tpu_pwm_set_polarity(struct pwm_chip *chip, struct pwm_device *_pwm, in tpu_pwm_set_polarity() argument [all …]
|
/drivers/hwmon/ |
D | vt1211.c | 1056 SENSOR_ATTR_2(pwm##ix##_auto_point##ap##_pwm, S_IRUGO | S_IWUSR, \ 1061 SENSOR_ATTR_2(pwm##ix##_auto_point##ap##_pwm, S_IRUGO, \
|