Home
last modified time | relevance | path

Searched refs:PWM_MODE_MANUAL (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/hwmon/
H A Dpc87427.c228 #define PWM_MODE_MANUAL (0 << 4) macro
253 case PWM_MODE_MANUAL: in pwm_enable_from_reg()
269 return pwmval ? PWM_MODE_MANUAL : PWM_MODE_OFF; in pwm_enable_to_reg()
623 if (mode != PWM_MODE_MANUAL && mode != PWM_MODE_OFF) { in pwm_store()
632 if (mode == PWM_MODE_MANUAL && val == 0) { in pwm_store()
640 update_pwm_enable(data, nr, PWM_MODE_MANUAL); in pwm_store()
641 mode = PWM_MODE_MANUAL; in pwm_store()
647 if (mode == PWM_MODE_MANUAL) in pwm_store()
/linux/drivers/platform/x86/
H A Doxpec.c64 #define PWM_MODE_MANUAL 0x01 macro
635 return write_to_ec(ORANGEPI_SENSOR_PWM_ENABLE_REG, PWM_MODE_MANUAL); in oxp_pwm_enable()
645 return write_to_ec(OXP_SENSOR_PWM_ENABLE_REG, PWM_MODE_MANUAL); in oxp_pwm_enable()
/linux/drivers/platform/x86/hp/
H A Dhp-wmi.c451 PWM_MODE_MANUAL = 1, enumerator
2364 case PWM_MODE_MANUAL: in hp_wmi_apply_fan_settings()
2447 case PWM_MODE_MANUAL: in hp_wmi_hwmon_read()
2473 if (priv->mode != PWM_MODE_MANUAL) in hp_wmi_hwmon_write()
2486 case PWM_MODE_MANUAL: in hp_wmi_hwmon_write()
2497 priv->mode = PWM_MODE_MANUAL; in hp_wmi_hwmon_write()