Searched refs:pwm_prop (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/pwm/ |
H A D | sysfs.c | 244 char *pwm_prop[2]; in pwm_export_child() local 272 pwm_prop[0] = kasprintf(GFP_KERNEL, "EXPORT=pwm%u", pwm->hwpwm); in pwm_export_child() 273 pwm_prop[1] = NULL; in pwm_export_child() 274 kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop); in pwm_export_child() 275 kfree(pwm_prop[0]); in pwm_export_child() 288 char *pwm_prop[2]; in pwm_unexport_child() local 297 pwm_prop[0] = kasprintf(GFP_KERNEL, "UNEXPORT=pwm%u", pwm->hwpwm); in pwm_unexport_child() 298 pwm_prop[1] = NULL; in pwm_unexport_child() 299 kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop); in pwm_unexport_child() 300 kfree(pwm_prop[ in pwm_unexport_child() [all...] |
/kernel/linux/linux-6.6/drivers/pwm/ |
H A D | sysfs.c | 244 char *pwm_prop[2]; in pwm_export_child() local 272 pwm_prop[0] = kasprintf(GFP_KERNEL, "EXPORT=pwm%u", pwm->hwpwm); in pwm_export_child() 273 pwm_prop[1] = NULL; in pwm_export_child() 274 kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop); in pwm_export_child() 275 kfree(pwm_prop[0]); in pwm_export_child() 288 char *pwm_prop[2]; in pwm_unexport_child() local 297 pwm_prop[0] = kasprintf(GFP_KERNEL, "UNEXPORT=pwm%u", pwm->hwpwm); in pwm_unexport_child() 298 pwm_prop[1] = NULL; in pwm_unexport_child() 299 kobject_uevent_env(&parent->kobj, KOBJ_CHANGE, pwm_prop); in pwm_unexport_child() 300 kfree(pwm_prop[ in pwm_unexport_child() [all...] |
Completed in 2 milliseconds