Searched refs:pwm_mode (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/iio/light/ |
A D | lm3533-als.c | 717 static int lm3533_als_set_input_mode(struct lm3533_als *als, bool pwm_mode) in lm3533_als_set_input_mode() argument 723 if (pwm_mode) in lm3533_als_set_input_mode() 731 pwm_mode); in lm3533_als_set_input_mode() 761 ret = lm3533_als_set_input_mode(als, pdata->pwm_mode); in lm3533_als_setup() 766 if (!pdata->pwm_mode) { in lm3533_als_setup()
|
/linux/drivers/gpu/drm/amd/pm/ |
A D | amdgpu_pm.c | 2368 u32 pwm_mode = 0; in amdgpu_hwmon_get_pwm1_enable() local 2393 return sysfs_emit(buf, "%u\n", pwm_mode); in amdgpu_hwmon_get_pwm1_enable() 2455 u32 pwm_mode; in amdgpu_hwmon_set_pwm1() local 2469 if (pwm_mode != AMD_FAN_CTRL_MANUAL) { in amdgpu_hwmon_set_pwm1() 2667 u32 pwm_mode; in amdgpu_hwmon_set_fan1_target() local 2682 if (pwm_mode != AMD_FAN_CTRL_MANUAL) { in amdgpu_hwmon_set_fan1_target() 2714 u32 pwm_mode = 0; in amdgpu_hwmon_get_fan1_enable() local 2750 u32 pwm_mode; in amdgpu_hwmon_set_fan1_enable() local 2762 pwm_mode = AMD_FAN_CTRL_AUTO; in amdgpu_hwmon_set_fan1_enable() 2764 pwm_mode = AMD_FAN_CTRL_MANUAL; in amdgpu_hwmon_set_fan1_enable() [all …]
|
/linux/drivers/hwmon/ |
A D | f75375s.c | 102 u8 pwm_mode[2]; member 483 data->pwm_mode[nr] = val; in set_pwm_mode() 501 return sprintf(buf, "%d\n", data->pwm_mode[nr]); in show_pwm_mode() 768 data->pwm_mode[nr] = 1; in f75375_init() 786 data->pwm_mode[nr] = 1; in f75375_init()
|
A D | w83l786ng.c | 130 u8 pwm_mode[2]; /* 0->DC variable voltage member 187 data->pwm_mode[i] = in w83l786ng_update_device() 470 show_pwm_reg(pwm_mode) 492 data->pwm_mode[nr] = val; in show_pwm_reg()
|
A D | w83627ehf.c | 345 u8 pwm_mode[4]; /* 0->DC variable voltage, 1->PWM variable duty cycle */ member 553 data->pwm_mode[i] = in w83627ehf_update_pwm() 655 (data->pwm_mode[i] == 1 ? 0x7f : 0xff); in w83627ehf_update_device() 826 data->pwm_mode[channel] = val; in store_pwm_mode() 1003 data->pwm_mode[nr])); \ 1019 val = step_time_to_reg(val, data->pwm_mode[nr]); \
|
A D | nct7802.c | 839 static SENSOR_DEVICE_ATTR_RO(pwm1_mode, pwm_mode, 0); 840 static SENSOR_DEVICE_ATTR_RO(pwm2_mode, pwm_mode, 1); 841 static SENSOR_DEVICE_ATTR_RO(pwm3_mode, pwm_mode, 2);
|
A D | tc654.c | 425 static SENSOR_DEVICE_ATTR_RW(pwm1_mode, pwm_mode, 0);
|
A D | thmc50.c | 268 static SENSOR_DEVICE_ATTR_RO(pwm1_mode, pwm_mode, 0);
|
A D | nct6775.c | 1274 u8 pwm_mode[NUM_FAN]; /* 0->DC variable voltage, member 1791 data->pwm_mode[i] = !duty_is_dc; in nct6775_update_pwm() 2679 return sprintf(buf, "%d\n", data->pwm_mode[sattr->index]); in show_pwm_mode() 2708 data->pwm_mode[nr] = val; in store_pwm_mode() 3180 SENSOR_TEMPLATE(pwm_mode, "pwm%d_mode", S_IWUSR | S_IRUGO, show_pwm_mode, 3253 data->pwm_mode[nr])); in show_fan_time() 3271 val = step_time_to_reg(val, data->pwm_mode[nr]); in store_fan_time()
|
A D | it87.c | 1096 static int pwm_mode(const struct it87_data *data, int nr) in pwm_mode() function 1142 return sprintf(buf, "%d\n", pwm_mode(data, nr)); in show_pwm_enable()
|
/linux/include/linux/mfd/ |
A D | lm3533.h | 41 unsigned pwm_mode:1; /* PWM input mode (default analog) */ member
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_pm.c | 572 u32 pwm_mode = 0; in radeon_hwmon_get_pwm1_enable() local 575 pwm_mode = rdev->asic->dpm.fan_ctrl_get_mode(rdev); in radeon_hwmon_get_pwm1_enable() 578 return sprintf(buf, "%i\n", pwm_mode == FDO_PWM_MODE_STATIC ? 1 : 2); in radeon_hwmon_get_pwm1_enable()
|
Completed in 48 milliseconds