Searched refs:hwpwm (Results 1 - 2 of 2) sorted by relevance
/device/soc/rockchip/common/sdk_linux/drivers/pwm/ |
H A D | sysfs.c | 286 dev_set_name(&export->child, "pwm%u", pwm->hwpwm); in pwm_export_child() 295 pwm_prop[0] = kasprintf(GFP_KERNEL, "EXPORT=pwm%u", pwm->hwpwm); in pwm_export_child() 322 pwm_prop[0] = kasprintf(GFP_KERNEL, "UNEXPORT=pwm%u", pwm->hwpwm); in pwm_unexport_child() 339 unsigned int hwpwm; in export_store() local 342 ret = kstrtouint(buf, 0, &hwpwm); in export_store() 347 if (hwpwm >= chip->npwm) { in export_store() 351 pwm = pwm_request_from_chip(chip, hwpwm, "sysfs"); in export_store() 368 unsigned int hwpwm; in unexport_store() local 371 ret = kstrtouint(buf, 0, &hwpwm); in unexport_store() 376 if (hwpwm > in unexport_store() [all...] |
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | pwm.h | 72 * @hwpwm: per-chip relative index of the PWM device 83 unsigned int hwpwm; member
|
Completed in 2 milliseconds