Searched refs:pwm_mode (Results 1 – 11 of 11) sorted by relevance
/linux/include/linux/mfd/ |
H A D | lm3533.h | 42 unsigned pwm_mode:1; /* PWM input mode (default analog) */ member
|
/linux/drivers/hwmon/ |
H A D | f75375s.c | 102 u8 pwm_mode[2]; member 458 data->pwm_mode[nr] = val; in set_pwm_mode() 476 return sprintf(buf, "%d\n", data->pwm_mode[nr]); in show_pwm_mode() 743 data->pwm_mode[nr] = 1; in f75375_init() 761 data->pwm_mode[nr] = 1; in f75375_init()
|
H A D | w83l786ng.c | 129 u8 pwm_mode[2]; /* 0->DC variable voltage member 186 data->pwm_mode[i] = in w83l786ng_update_device() 469 show_pwm_reg(pwm_mode) 491 data->pwm_mode[nr] = val; in show_pwm_reg()
|
H 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]); \
|
H A D | nct6775.h | 125 u8 pwm_mode[NUM_FAN]; /* 0->DC variable voltage, member
|
H A D | nct7802.c | 823 static SENSOR_DEVICE_ATTR_RO(pwm1_mode, pwm_mode, 0); 824 static SENSOR_DEVICE_ATTR_RO(pwm2_mode, pwm_mode, 1); 825 static SENSOR_DEVICE_ATTR_RO(pwm3_mode, pwm_mode, 2);
|
H A D | thmc50.c | 268 static SENSOR_DEVICE_ATTR_RO(pwm1_mode, pwm_mode, 0);
|
H A D | tc654.c | 436 static SENSOR_DEVICE_ATTR_RW(pwm1_mode, pwm_mode, 0);
|
H A D | nct6775-core.c | 1406 data->pwm_mode[i] = !duty_is_dc; in nct6775_update_pwm() 2471 return sprintf(buf, "%d\n", data->pwm_mode[sattr->index]); in show_pwm_mode() 2500 data->pwm_mode[nr] = val; in store_pwm_mode() 3048 SENSOR_TEMPLATE(pwm_mode, "pwm%d_mode", 0644, show_pwm_mode, store_pwm_mode, 0); 3120 data->pwm_mode[nr])); in show_fan_time() 3138 val = step_time_to_reg(val, data->pwm_mode[nr]); in store_fan_time()
|
H A D | it87.c | 1294 static int pwm_mode(const struct it87_data *data, int nr) in pwm_mode() function 1350 return sprintf(buf, "%d\n", pwm_mode(data, nr)); in show_pwm_enable()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_pm.c | 573 u32 pwm_mode = 0; in radeon_hwmon_get_pwm1_enable() local 576 pwm_mode = rdev->asic->dpm.fan_ctrl_get_mode(rdev); in radeon_hwmon_get_pwm1_enable() 579 return sprintf(buf, "%i\n", pwm_mode == FDO_PWM_MODE_STATIC ? 1 : 2); in radeon_hwmon_get_pwm1_enable()
|