Lines Matching refs:fan_min
1235 for (i = 0; i < ARRAY_SIZE(data->fan_min); i++) { in nct6775_init_fan_common()
1257 u16 fan_min; in nct6775_select_fan_div() local
1279 fan_min = data->fan_min[nr]; in nct6775_select_fan_div()
1281 if (fan_min != 255 && fan_min > 1) in nct6775_select_fan_div()
1282 fan_min >>= 1; in nct6775_select_fan_div()
1284 if (fan_min != 255) { in nct6775_select_fan_div()
1285 fan_min <<= 1; in nct6775_select_fan_div()
1286 if (fan_min > 254) in nct6775_select_fan_div()
1287 fan_min = 254; in nct6775_select_fan_div()
1290 if (fan_min != data->fan_min[nr]) { in nct6775_select_fan_div()
1291 data->fan_min[nr] = fan_min; in nct6775_select_fan_div()
1292 err = nct6775_write_value(data, data->REG_FAN_MIN[nr], fan_min); in nct6775_select_fan_div()
1534 data->fan_min[i] = reg; in nct6775_update_device()
1882 data->fan_from_reg_min(data->fan_min[nr], in show_fan_min()
1926 data->fan_min[nr] = val; in store_fan_min()
1931 data->fan_min[nr] = 255; in store_fan_min()
1942 data->fan_min[nr] = 254; in store_fan_min()
1952 data->fan_min[nr] = 1; in store_fan_min()
1968 data->fan_min[nr] = reg; in store_fan_min()
1989 err = nct6775_write_value(data, data->REG_FAN_MIN[nr], data->fan_min[nr]); in store_fan_min()
2071 SENSOR_TEMPLATE(fan_min, "fan%d_min", 0644, show_fan_min, store_fan_min, 0);