Home
last modified time | relevance | path

Searched refs:pwm_mode (Results 1 – 11 of 11) sorted by relevance

/linux/include/linux/mfd/
H A Dlm3533.h42 unsigned pwm_mode:1; /* PWM input mode (default analog) */ member
/linux/drivers/hwmon/
H A Df75375s.c102 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 Dw83l786ng.c129 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 Dw83627ehf.c345 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 Dnct6775.h125 u8 pwm_mode[NUM_FAN]; /* 0->DC variable voltage, member
H A Dnct7802.c823 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 Dthmc50.c268 static SENSOR_DEVICE_ATTR_RO(pwm1_mode, pwm_mode, 0);
H A Dtc654.c436 static SENSOR_DEVICE_ATTR_RW(pwm1_mode, pwm_mode, 0);
H A Dnct6775-core.c1406 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 Dit87.c1294 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 Dradeon_pm.c573 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()