Lines Matching defs:pwm_device
46 struct pwm_device {
48 struct pwm_device *secondary;
64 int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns)
103 int pwm_enable(struct pwm_device *pwm)
116 void pwm_disable(struct pwm_device *pwm)
128 struct pwm_device *pwm_request(int pwm_id, const char *label)
130 struct pwm_device *pwm;
156 void pwm_free(struct pwm_device *pwm)
170 static inline void __add_pwm(struct pwm_device *pwm)
180 struct pwm_device *pwm, *secondary = NULL;
184 pwm = kzalloc(sizeof(struct pwm_device), GFP_KERNEL);
223 secondary = kzalloc(sizeof(struct pwm_device), GFP_KERNEL);
255 struct pwm_device *pwm;