Home
last modified time | relevance | path

Searched refs:fan_nr (Results 1 – 2 of 2) sorted by relevance

/drivers/hwmon/
Dultra45_env.c100 int fan_nr = to_sensor_dev_attr(attr)->index; in show_fan_speed() local
105 val = env_read(p, IREG_FAN0 + fan_nr); in show_fan_speed()
118 int fan_nr = to_sensor_dev_attr(attr)->index; in set_fan_speed() local
134 env_write(p, IREG_FAN0 + fan_nr, val); in set_fan_speed()
142 int fan_nr = to_sensor_dev_attr(attr)->index; in show_fan_fault() local
145 return sprintf(buf, "%d\n", (val & (1 << fan_nr)) ? 1 : 0); in show_fan_fault()
Dsmsc47m1.c156 int i, fan_nr; in smsc47m1_update_device() local
157 fan_nr = data->type == smsc47m2 ? 3 : 2; in smsc47m1_update_device()
159 for (i = 0; i < fan_nr; i++) { in smsc47m1_update_device()
178 if (fan_nr >= 3) { in smsc47m1_update_device()