Lines Matching refs:pwm_chip
13 struct pwm_chip;
88 struct pwm_chip *chip;
273 int (*request)(struct pwm_chip *chip, struct pwm_device *pwm);
274 void (*free)(struct pwm_chip *chip, struct pwm_device *pwm);
275 int (*capture)(struct pwm_chip *chip, struct pwm_device *pwm,
277 int (*apply)(struct pwm_chip *chip, struct pwm_device *pwm,
279 void (*get_state)(struct pwm_chip *chip, struct pwm_device *pwm,
284 int (*config)(struct pwm_chip *chip, struct pwm_device *pwm,
286 int (*set_polarity)(struct pwm_chip *chip, struct pwm_device *pwm,
288 int (*enable)(struct pwm_chip *chip, struct pwm_device *pwm);
289 void (*disable)(struct pwm_chip *chip, struct pwm_device *pwm);
305 struct pwm_chip { struct
311 struct pwm_device * (*of_xlate)(struct pwm_chip *pc, argument
413 int pwmchip_add(struct pwm_chip *chip);
414 void pwmchip_remove(struct pwm_chip *chip);
416 int devm_pwmchip_add(struct device *dev, struct pwm_chip *chip);
418 struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip,
422 struct pwm_device *of_pwm_xlate_with_flags(struct pwm_chip *pc,
489 static inline int pwmchip_add(struct pwm_chip *chip) in pwmchip_add()
494 static inline int pwmchip_remove(struct pwm_chip *chip) in pwmchip_remove()
499 static inline int devm_pwmchip_add(struct device *dev, struct pwm_chip *chip) in devm_pwmchip_add()
504 static inline struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip, in pwm_request_from_chip()
623 void pwmchip_sysfs_export(struct pwm_chip *chip);
624 void pwmchip_sysfs_unexport(struct pwm_chip *chip);
626 static inline void pwmchip_sysfs_export(struct pwm_chip *chip) in pwmchip_sysfs_export()
630 static inline void pwmchip_sysfs_unexport(struct pwm_chip *chip) in pwmchip_sysfs_unexport()