Lines Matching defs:pwm
84 unsigned int pwm; member
98 static inline void pwm_get_state(const struct pwm_device *pwm, struct pwm_state *state) in pwm_get_state()
103 static inline bool pwm_is_enabled(const struct pwm_device *pwm) in pwm_is_enabled()
112 static inline void pwm_set_period(struct pwm_device *pwm, u64 period) in pwm_set_period()
119 static inline u64 pwm_get_period(const struct pwm_device *pwm) in pwm_get_period()
128 static inline void pwm_set_duty_cycle(struct pwm_device *pwm, unsigned int duty) in pwm_set_duty_cycle()
135 static inline u64 pwm_get_duty_cycle(const struct pwm_device *pwm) in pwm_get_duty_cycle()
144 static inline enum pwm_polarity pwm_get_polarity(const struct pwm_device *pwm) in pwm_get_polarity()
153 static inline void pwm_get_args(const struct pwm_device *pwm, struct pwm_args *args) in pwm_get_args()
175 static inline void pwm_init_state(const struct pwm_device *pwm, struct pwm_state *state) in pwm_init_state()
321 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) in pwm_config()
349 static inline int pwm_enable(struct pwm_device *pwm) in pwm_enable()
370 static inline void pwm_disable(struct pwm_device *pwm) in pwm_disable()
413 static inline void pwm_free(struct pwm_device *pwm) in pwm_free()
417 static inline int pwm_apply_state(struct pwm_device *pwm, const struct pwm_state *state) in pwm_apply_state()
422 static inline int pwm_adjust_config(struct pwm_device *pwm) in pwm_adjust_config()
427 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns) in pwm_config()
432 static inline int pwm_capture(struct pwm_device *pwm, struct pwm_capture *result, unsigned long tim… in pwm_capture()
437 static inline int pwm_enable(struct pwm_device *pwm) in pwm_enable()
442 static inline void pwm_disable(struct pwm_device *pwm) in pwm_disable()
446 static inline int pwm_set_chip_data(struct pwm_device *pwm, void *data) in pwm_set_chip_data()
451 static inline void *pwm_get_chip_data(struct pwm_device *pwm) in pwm_get_chip_data()
486 static inline void pwm_put(struct pwm_device *pwm) in pwm_put()
506 static inline void devm_pwm_put(struct device *dev, struct pwm_device *pwm) in devm_pwm_put()
511 static inline void pwm_apply_args(struct pwm_device *pwm) in pwm_apply_args()