Searched refs:pwmchip_dev (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/pwm/ |
D | core.c | 497 static inline struct pwm_chip *pwmchip_from_dev(struct device *pwmchip_dev) in pwmchip_from_dev() argument 499 return container_of(pwmchip_dev, struct pwm_chip, dev); in pwmchip_from_dev() 716 static int pwm_export_child(struct device *pwmchip_dev, struct pwm_device *pwm) in pwm_export_child() argument 735 export->pwm_dev.parent = pwmchip_dev; in pwm_export_child() 749 kobject_uevent_env(&pwmchip_dev->kobj, KOBJ_CHANGE, pwm_prop); in pwm_export_child() 760 static int pwm_unexport_child(struct device *pwmchip_dev, struct pwm_device *pwm) in pwm_unexport_child() argument 768 pwm_dev = device_find_child(pwmchip_dev, pwm, pwm_unexport_match); in pwm_unexport_child() 774 kobject_uevent_env(&pwmchip_dev->kobj, KOBJ_CHANGE, pwm_prop); in pwm_unexport_child() 785 static ssize_t export_store(struct device *pwmchip_dev, in export_store() argument 789 struct pwm_chip *chip = pwmchip_from_dev(pwmchip_dev); in export_store() [all …]
|