Home
last modified time | relevance | path

Searched defs:pwm (Results 1 – 7 of 7) sorted by relevance

/device/soc/rockchip/common/sdk_linux/include/linux/
Dpwm.h84 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()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/pwm/
Dsysfs.c19 struct pwm_device *pwm; member
38 const struct pwm_device *pwm = child_to_pwm_device(child); in period_show() local
49 struct pwm_device *pwm = export->pwm; in period_store() local
70 const struct pwm_device *pwm = child_to_pwm_device(child); in duty_cycle_show() local
81 struct pwm_device *pwm = export->pwm; in duty_cycle_store() local
103 const struct pwm_device *pwm = child_to_pwm_device(child); in oneshot_count_show() local
114 struct pwm_device *pwm = export->pwm; in oneshot_count_store() local
136 const struct pwm_device *pwm = child_to_pwm_device(child); in enable_show() local
147 struct pwm_device *pwm = export->pwm; in enable_store() local
181 const struct pwm_device *pwm = child_to_pwm_device(child); in polarity_show() local
[all …]
Dpwm-rockchip.c75 static void rockchip_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state … in rockchip_pwm_get_state()
108 static void rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_sta… 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… in rockchip_pwm_apply()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/pwm/
Dpwm_drv.h39 pwm_ctl pwm[HI_PWM_PORT_MAX]; member
/device/soc/hisilicon/common/platform/pwm/
Dpwm_hi35xx.c88 int32_t HiPwmSetConfig(struct PwmDev *pwm, struct PwmConfig *config) in HiPwmSetConfig()
/device/soc/rockchip/rk2206/hardware/include/lz_hardware/
Ddevice.h64 Pinctrl pwm; member
/device/soc/rockchip/common/sdk_linux/drivers/video/backlight/
Dpwm_bl.c23 struct pwm_device *pwm; member