Searched refs:pwmchip_dev (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/pwm/ |
H A D | core.c | 1100 static inline struct pwm_chip *pwmchip_from_dev(struct device *pwmchip_dev) in pwmchip_from_dev() argument 1102 return container_of(pwmchip_dev, struct pwm_chip, dev); in pwmchip_from_dev() 1319 static int pwm_export_child(struct device *pwmchip_dev, struct pwm_device *pwm) in pwm_export_child() argument 1338 export->pwm_dev.parent = pwmchip_dev; in pwm_export_child() 1352 kobject_uevent_env(&pwmchip_dev->kobj, KOBJ_CHANGE, pwm_prop); in pwm_export_child() 1363 static int pwm_unexport_child(struct device *pwmchip_dev, struct pwm_device *pwm) in pwm_unexport_child() argument 1371 pwm_dev = device_find_child(pwmchip_dev, pwm, pwm_unexport_match); in pwm_unexport_child() 1377 kobject_uevent_env(&pwmchip_dev->kobj, KOBJ_CHANGE, pwm_prop); in pwm_unexport_child() 1388 static ssize_t export_store(struct device *pwmchip_dev, in export_store() argument 1392 struct pwm_chip *chip = pwmchip_from_dev(pwmchip_dev); in export_store() 1416 unexport_store(struct device * pwmchip_dev,struct device_attribute * attr,const char * buf,size_t len) unexport_store() argument 1437 npwm_show(struct device * pwmchip_dev,struct device_attribute * attr,char * buf) npwm_show() argument 1455 pwm_class_get_state(struct device * pwmchip_dev,struct pwm_device * pwm,struct pwm_state * state) pwm_class_get_state() argument 1490 pwm_class_resume_npwm(struct device * pwmchip_dev,unsigned int npwm) pwm_class_resume_npwm() argument 1521 pwm_class_suspend(struct device * pwmchip_dev) pwm_class_suspend() argument 1562 pwm_class_resume(struct device * pwmchip_dev) pwm_class_resume() argument 1603 pwmchip_release(struct device * pwmchip_dev) pwmchip_release() argument 1613 struct device *pwmchip_dev; pwmchip_alloc() local [all...] |