Lines Matching refs:chip
93 struct pwm_chip *chip; member
283 int (*request)(struct pwm_chip *chip, struct pwm_device *pwm);
284 void (*free)(struct pwm_chip *chip, struct pwm_device *pwm);
285 int (*capture)(struct pwm_chip *chip, struct pwm_device *pwm,
287 int (*apply)(struct pwm_chip *chip, struct pwm_device *pwm,
289 void (*get_state)(struct pwm_chip *chip, struct pwm_device *pwm,
291 int (*get_output_type_supported)(struct pwm_chip *chip,
296 int (*config)(struct pwm_chip *chip, struct pwm_device *pwm,
298 int (*set_polarity)(struct pwm_chip *chip, struct pwm_device *pwm,
300 int (*enable)(struct pwm_chip *chip, struct pwm_device *pwm);
301 void (*disable)(struct pwm_chip *chip, struct pwm_device *pwm);
358 if (pwm->chip->ops->get_output_type_supported) in pwm_get_output_type_supported()
359 return pwm->chip->ops->get_output_type_supported(pwm->chip, in pwm_get_output_type_supported()
439 int pwmchip_add_with_polarity(struct pwm_chip *chip,
441 int pwmchip_add(struct pwm_chip *chip);
442 int pwmchip_remove(struct pwm_chip *chip);
443 struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip,
520 static inline int pwmchip_add(struct pwm_chip *chip) in pwmchip_add() argument
525 static inline int pwmchip_add_inversed(struct pwm_chip *chip) in pwmchip_add_inversed() argument
530 static inline int pwmchip_remove(struct pwm_chip *chip) in pwmchip_remove() argument
535 static inline struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip, in pwm_request_from_chip() argument
657 void pwmchip_sysfs_export(struct pwm_chip *chip);
658 void pwmchip_sysfs_unexport(struct pwm_chip *chip);
660 static inline void pwmchip_sysfs_export(struct pwm_chip *chip) in pwmchip_sysfs_export() argument
664 static inline void pwmchip_sysfs_unexport(struct pwm_chip *chip) in pwmchip_sysfs_unexport() argument