Home
last modified time | relevance | path

Searched refs:temp_src (Results 1 – 9 of 9) sorted by relevance

/drivers/hwmon/
Dw83627ehf.c315 u8 temp_src[NUM_REG_TEMP]; member
1263 label = data->temp_label[data->temp_src[i]]; in w83627ehf_init_device()
1590 *str = data->temp_label[data->temp_src[channel]]; in w83627ehf_read_string()
1750 data->temp_src[0] = reg >> 5; in w83627ehf_probe()
1752 data->temp_src[1] = reg & 0x07; in w83627ehf_probe()
1753 data->temp_src[2] = (reg >> 4) & 0x07; in w83627ehf_probe()
1763 if (reg != data->temp_src[0] && reg != data->temp_src[1] in w83627ehf_probe()
1764 && reg != data->temp_src[2]) { in w83627ehf_probe()
1765 data->temp_src[3] = reg; in w83627ehf_probe()
1774 if (data->temp_src[2] == 2 && (reg & 0x01)) in w83627ehf_probe()
[all …]
Dnct6683.c310 u8 temp_src[NCT6683_NUM_REG_MON]; member
790 return sprintf(buf, "%s\n", nct6683_mon_label[data->temp_src[nr]]); in show_temp_label()
855 return sprintf(buf, "%d\n", get_temp_type(data->temp_src[nr])); in show_temp_type()
874 if (nr == 6 && get_temp_type(data->temp_src[temp]) == 0) in nct6683_temp_is_visible()
1179 data->temp_src[data->temp_num] = reg; in nct6683_setup_sensors()
Dw83795.c342 u8 temp_src[3]; /* Register value */ member
533 for (i = 0; i < ARRAY_SIZE(data->temp_src); i++) in w83795_update_pwm_config()
534 data->temp_src[i] = w83795_read(client, W83795_REG_TSS(i)); in w83795_update_pwm_config()
1004 u8 tmp = data->temp_src[index / 2]; in show_temp_src()
1046 data->temp_src[val] &= 0x0f; in store_temp_src()
1048 data->temp_src[val] &= 0xf0; in store_temp_src()
1050 data->temp_src[val] |= tmp; in store_temp_src()
1051 w83795_write(client, W83795_REG_TSS(val), data->temp_src[val]); in store_temp_src()
Dnct6775-core.c1767 int source = data->temp_src[index]; in find_temp_source()
2200 return sprintf(buf, "%s\n", data->temp_label[data->temp_src[nr]]); in show_temp_label()
2733 if (src == data->temp_src[i]) { in show_pwm_temp_sel_common()
2774 if (!(data->have_temp & BIT(val - 1)) || !data->temp_src[val - 1]) in store_pwm_temp_sel()
2778 src = data->temp_src[val - 1]; in store_pwm_temp_sel()
2828 !data->temp_src[val - 1])) in store_pwm_weight_temp_sel()
2833 src = data->temp_src[val - 1]; in store_pwm_weight_temp_sel()
4217 data->temp_src[src - 1] = src; in nct6775_probe()
4238 data->temp_src[s] = src; in nct6775_probe()
4283 data->temp_src[src - 1] = src; in nct6775_probe()
[all …]
Dnct6775.h33 u8 temp_src[NUM_TEMP]; member
/drivers/gpu/drm/radeon/
Dsislands_smc.h267 uint8_t temp_src; member
Dsi_dpm.c6071 fan_table.temp_src = (uint8_t)tmp; in si_thermal_setup_fan_table()
/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsislands_smc.h263 uint8_t temp_src; member
Dsi_dpm.c6537 fan_table.temp_src = (uint8_t)tmp; in si_thermal_setup_fan_table()