Lines Matching defs:fan_div
132 u8 fan_div[3]; /* Register encoding, shifted right */
178 DIV_FROM_REG(data->fan_div[nr]),
190 DIV_FROM_REG(data->fan_div[nr]));
199 return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[attr->index]));
242 rpmdiv = val * DIV_FROM_REG(data->fan_div[nr]);
268 u8 old_div = DIV_FROM_REG(data->fan_div[nr]);
275 case 1: data->fan_div[nr] = 0; break;
276 case 2: data->fan_div[nr] = 1; break;
277 case 4: data->fan_div[nr] = 2; break;
278 case 8: data->fan_div[nr] = 3; break;
289 tmp |= data->fan_div[nr] << (4 + 2 * nr);
294 tmp |= data->fan_div[2] << 4;
780 data->fan_div[0] = (i >> 4) & 0x03;
781 data->fan_div[1] = i >> 6;
790 data->fan_div[2] = (smsc47m1_read_value(data,