Lines Matching refs:hwpwm
263 dev_set_name(&export->child, "pwm%u", pwm->hwpwm); in pwm_export_child()
272 pwm_prop[0] = kasprintf(GFP_KERNEL, "EXPORT=pwm%u", pwm->hwpwm); in pwm_export_child()
297 pwm_prop[0] = kasprintf(GFP_KERNEL, "UNEXPORT=pwm%u", pwm->hwpwm); in pwm_unexport_child()
316 unsigned int hwpwm; in export_store() local
319 ret = kstrtouint(buf, 0, &hwpwm); in export_store()
323 if (hwpwm >= chip->npwm) in export_store()
326 pwm = pwm_request_from_chip(chip, hwpwm, "sysfs"); in export_store()
343 unsigned int hwpwm; in unexport_store() local
346 ret = kstrtouint(buf, 0, &hwpwm); in unexport_store()
350 if (hwpwm >= chip->npwm) in unexport_store()
353 ret = pwm_unexport_child(parent, &chip->pwms[hwpwm]); in unexport_store()