Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hwmon/
Demc2305.c103 u8 pwm_min[EMC2305_PWM_MAX]; member
276 if (val < data->pwm_min[channel] || val > EMC2305_FAN_MAX) in emc2305_set_pwm()
294 pwm = data->pwm_min[cdev_idx]; in emc2305_set_single_tz()
317 EMC2305_PWM_DUTY2STATE(data->pwm_min[cdev_idx], data->max_state, in emc2305_set_single_tz()
320 EMC2305_PWM_DUTY2STATE(data->pwm_min[cdev_idx], data->max_state, in emc2305_set_single_tz()
574 data->pwm_min[i] = pdata->pwm_min[i]; in emc2305_probe()
579 data->pwm_min[i] = EMC2305_FAN_MIN; in emc2305_probe()
595 data->pwm_min[i]); in emc2305_probe()
Dadt7470.c167 u8 pwm_min[ADT7470_PWM_COUNT]; member
414 data->pwm_min[i] = val; in adt7470_update_limits()
900 return sprintf(buf, "%d\n", data->pwm_min[attr->index]); in pwm_min_show()
918 data->pwm_min[attr->index] = temp; in pwm_min_store()
1042 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point1_pwm, pwm_min, 0);
1043 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_point1_pwm, pwm_min, 1);
1044 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_point1_pwm, pwm_min, 2);
1045 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-6.1.9/include/linux/platform_data/
Demc2305.h19 u8 pwm_min[EMC2305_PWM_MAX]; member
/linux-6.1.9/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h223 u16 pwm_min; member
/linux-6.1.9/drivers/ufs/host/
Dufs-exynos.c494 const unsigned long pwm_min = 3 * 1000 * 1000; in exynos_ufs_calc_pwm_clk_div() local
503 if (_clk >= pwm_min && _clk <= pwm_max) { in exynos_ufs_calc_pwm_clk_div()
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dlegacy_dpm.c246 adev->pm.dpm.fan.pwm_min = le16_to_cpu(fan_info->fan.usPWMMin); in amdgpu_parse_extended_power_table()
Dsi_dpm.c6507 tmp64 = (u64)adev->pm.dpm.fan.pwm_min * duty100; in si_thermal_setup_fan_table()
6514 pwm_diff1 = adev->pm.dpm.fan.pwm_med - adev->pm.dpm.fan.pwm_min; in si_thermal_setup_fan_table()
/linux-6.1.9/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.h1532 u16 pwm_min; member
Dsi_dpm.c6033 tmp64 = (u64)rdev->pm.dpm.fan.pwm_min * duty100; in si_thermal_setup_fan_table()
6040 pwm_diff1 = rdev->pm.dpm.fan.pwm_med - rdev->pm.dpm.fan.pwm_min; in si_thermal_setup_fan_table()
Dci_dpm.c955 tmp64 = (u64)rdev->pm.dpm.fan.pwm_min * duty100; in ci_thermal_setup_fan_table()
962 pwm_diff1 = rdev->pm.dpm.fan.pwm_med - rdev->pm.dpm.fan.pwm_min; in ci_thermal_setup_fan_table()