Home
last modified time | relevance | path

Searched refs:pwm_device (Results 1 - 4 of 4) sorted by relevance

/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dpwm.h69 * struct pwm_device - PWM channel object
80 struct pwm_device { struct
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 *pw
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/pwm/
H A Dsysfs.c19 struct pwm_device *pwm;
29 static struct pwm_device *child_to_pwm_device(struct device *child) in child_to_pwm_device()
38 const struct pwm_device *pwm = child_to_pwm_device(child); in period_show()
49 struct pwm_device *pwm = export->pwm; in period_store()
70 const struct pwm_device *pwm = child_to_pwm_device(child); in duty_cycle_show()
81 struct pwm_device *pwm = export->pwm; in duty_cycle_store()
103 const struct pwm_device *pwm = child_to_pwm_device(child); in oneshot_count_show()
114 struct pwm_device *pwm = export->pwm; in oneshot_count_store()
136 const struct pwm_device *pwm = child_to_pwm_device(child); in enable_show()
147 struct pwm_device *pw in enable_store()
[all...]
H A Dpwm-rockchip.c75 static void rockchip_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) in rockchip_pwm_get_state()
108 static void rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) in rockchip_pwm_config()
184 static int rockchip_pwm_enable(struct pwm_chip *chip, struct pwm_device *pwm, bool enable) in rockchip_pwm_enable()
228 static int rockchip_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) in rockchip_pwm_apply()
/device/soc/rockchip/common/sdk_linux/drivers/video/backlight/
H A Dpwm_bl.c23 struct pwm_device *pwm;

Completed in 4 milliseconds