Home
last modified time | relevance | path

Searched refs:pwm1_freq (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dlm63.c157 u8 pwm1_freq; member
247 data->pwm1_freq = i2c_smbus_read_byte_data(client, in lm63_update_device()
249 if (data->pwm1_freq == 0) in lm63_update_device()
250 data->pwm1_freq = 1; in lm63_update_device()
372 pwm = data->pwm1[nr] >= 2 * data->pwm1_freq ? in show_pwm1()
373 255 : (data->pwm1[nr] * 255 + data->pwm1_freq) / in show_pwm1()
374 (2 * data->pwm1_freq); in show_pwm1()
402 (val * data->pwm1_freq * 2 + 127) / 255; in set_pwm1()
1037 if (data->pwm1_freq == 0) in lm63_init_client()
1038 data->pwm1_freq = 1; in lm63_init_client()
[all …]
H A Dasc7621.c971 PWRITE(pwm1_freq, 0, PRI_LOW, 0x5f, 0, 0x0f, 0, pwm_freq),
H A Dlm85.c833 static SENSOR_DEVICE_ATTR_RW(pwm1_freq, pwm_freq, 0);
H A Df71805f.c1082 static SENSOR_DEVICE_ATTR(pwm1_freq, S_IRUGO | S_IWUSR,
H A Dadt7475.c1152 static SENSOR_DEVICE_ATTR_2_RW(pwm1_freq, pwmfreq, INPUT, 0);
H A Dw83627hf.c1561 static SENSOR_DEVICE_ATTR_RW(pwm1_freq, pwm_freq, 0);
H A Dlm93.c1915 static SENSOR_DEVICE_ATTR_RW(pwm1_freq, pwm_freq, 0);
H A Dit87.c1916 static SENSOR_DEVICE_ATTR(pwm1_freq, S_IRUGO | S_IWUSR, show_pwm_freq,
/openbmc/linux/Documentation/hwmon/
H A Dlan966x.rst40 **pwm1_freq**
H A Dmax31760.rst73 pwm1_freq PWM frequency in hertz
H A Dadt7470.rst74 * pwm1_freq
H A Dlm93.rst159 The sysfs files pwm1_freq and pwm2_freq are used to select the frequency. The
H A Dit87.rst346 try lowering the PWM base frequency (pwm1_freq). Depending on the fan,