Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/hwmon/
Dadt7470.c162 u8 pwm_min[ADT7470_PWM_COUNT]; member
379 data->pwm_min[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device()
797 return sprintf(buf, "%d\n", data->pwm_min[attr->index]); in pwm_min_show()
815 data->pwm_min[attr->index] = temp; in pwm_min_store()
1056 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point1_pwm, pwm_min, 0);
1057 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_point1_pwm, pwm_min, 1);
1058 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_point1_pwm, pwm_min, 2);
1059 static SENSOR_DEVICE_ATTR_RW(pwm4_auto_point1_pwm, pwm_min, 3);
Dadt7462.c213 u8 pwm_min[ADT7462_PWM_COUNT]; member
756 data->pwm_min[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device()
1146 return sprintf(buf, "%d\n", data->pwm_min[attr->index]); in pwm_min_show()
1164 data->pwm_min[attr->index] = temp; in pwm_min_store()
1550 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point1_pwm, pwm_min, 0);
1551 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_point1_pwm, pwm_min, 1);
1552 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_point1_pwm, pwm_min, 2);
1553 static SENSOR_DEVICE_ATTR_RW(pwm4_auto_point1_pwm, pwm_min, 3);
Ddme1737.c232 u8 pwm_min[3]; member
718 data->pwm_min[ix] = dme1737_read(data, in dme1737_update_device()
1236 res = data->pwm_min[ix]; in show_pwm()
1242 res = data->pwm_min[ix]; in show_pwm()
1423 data->pwm_min[ix] = dme1737_read(data, in set_pwm()
1431 if (val > ((data->pwm_min[ix] + 1) / 2)) { in set_pwm()
1445 data->pwm_min[ix] = clamp_val(val, 0, 255); in set_pwm()
1447 data->pwm_min[ix]); in set_pwm()
/Linux-v5.10/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h236 u16 pwm_min; member
/Linux-v5.10/drivers/scsi/ufs/
Dufs-exynos.c338 const unsigned long pwm_min = 3 * 1000 * 1000; in exynos_ufs_calc_pwm_clk_div() local
347 if (_clk >= pwm_min && _clk <= pwm_max) { in exynos_ufs_calc_pwm_clk_div()
/Linux-v5.10/drivers/gpu/drm/radeon/
Dr600_dpm.c899 rdev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); in r600_parse_extended_power_table()
Dradeon.h1502 u16 pwm_min; member
Dsi_dpm.c6032 tmp64 = (u64)rdev->pm.dpm.fan.pwm_min * duty100; in si_thermal_setup_fan_table()
6039 pwm_diff1 = rdev->pm.dpm.fan.pwm_med - rdev->pm.dpm.fan.pwm_min; in si_thermal_setup_fan_table()
Dci_dpm.c965 tmp64 = (u64)rdev->pm.dpm.fan.pwm_min * duty100; in ci_thermal_setup_fan_table()
972 pwm_diff1 = rdev->pm.dpm.fan.pwm_med - rdev->pm.dpm.fan.pwm_min; in ci_thermal_setup_fan_table()
/Linux-v5.10/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c312 adev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); in amdgpu_parse_extended_power_table()
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.c6467 tmp64 = (u64)adev->pm.dpm.fan.pwm_min * duty100; in si_thermal_setup_fan_table()
6474 pwm_diff1 = adev->pm.dpm.fan.pwm_med - adev->pm.dpm.fan.pwm_min; in si_thermal_setup_fan_table()