• Home
  • Raw
  • Download

Lines Matching refs:fan_div

465 	u8 fan_div[5];  member
595 | (data->fan_div[0] & 0x7); in nct6775_write_fan_div()
600 | ((data->fan_div[1] << 4) & 0x70); in nct6775_write_fan_div()
604 | (data->fan_div[2] & 0x7); in nct6775_write_fan_div()
609 | ((data->fan_div[3] << 4) & 0x70); in nct6775_write_fan_div()
623 | ((data->fan_div[0] & 0x03) << 4); in w83627ehf_write_fan_div()
628 | ((data->fan_div[0] & 0x04) << 3); in w83627ehf_write_fan_div()
633 | ((data->fan_div[1] & 0x03) << 6); in w83627ehf_write_fan_div()
638 | ((data->fan_div[1] & 0x04) << 4); in w83627ehf_write_fan_div()
643 | ((data->fan_div[2] & 0x03) << 6); in w83627ehf_write_fan_div()
646 | ((data->fan_div[2] & 0x04) << 5); in w83627ehf_write_fan_div()
651 | (data->fan_div[3] & 0x03); in w83627ehf_write_fan_div()
654 | ((data->fan_div[3] & 0x04) << 5); in w83627ehf_write_fan_div()
659 | ((data->fan_div[4] & 0x03) << 2) in w83627ehf_write_fan_div()
660 | ((data->fan_div[4] & 0x04) << 5); in w83627ehf_write_fan_div()
684 data->fan_div[0] = i & 0x7; in nct6775_update_fan_div()
685 data->fan_div[1] = (i & 0x70) >> 4; in nct6775_update_fan_div()
687 data->fan_div[2] = i & 0x7; in nct6775_update_fan_div()
689 data->fan_div[3] = (i & 0x70) >> 4; in nct6775_update_fan_div()
697 data->fan_div[0] = (i >> 4) & 0x03; in w83627ehf_update_fan_div()
698 data->fan_div[1] = (i >> 6) & 0x03; in w83627ehf_update_fan_div()
700 data->fan_div[2] = (i >> 6) & 0x03; in w83627ehf_update_fan_div()
702 data->fan_div[0] |= (i >> 3) & 0x04; in w83627ehf_update_fan_div()
703 data->fan_div[1] |= (i >> 4) & 0x04; in w83627ehf_update_fan_div()
704 data->fan_div[2] |= (i >> 5) & 0x04; in w83627ehf_update_fan_div()
707 data->fan_div[3] = i & 0x03; in w83627ehf_update_fan_div()
708 data->fan_div[4] = ((i >> 2) & 0x03) in w83627ehf_update_fan_div()
713 data->fan_div[3] |= (i >> 5) & 0x04; in w83627ehf_update_fan_div()
821 data->fan_div[i]); in w83627ehf_update_device()
835 && data->fan_div[i] < 0x07) { in w83627ehf_update_device()
838 i + 1, div_from_reg(data->fan_div[i]), in w83627ehf_update_device()
839 div_from_reg(data->fan_div[i] + 1)); in w83627ehf_update_device()
840 data->fan_div[i]++; in w83627ehf_update_device()
1046 data->fan_div[nr])); in show_fan_min()
1056 return sprintf(buf, "%u\n", div_from_reg(data->fan_div[nr])); in show_fan_div()
1095 new_div = data->fan_div[nr]; /* No change */ in store_fan_min()
1135 if (new_div != data->fan_div[nr]) { in store_fan_min()
1137 nr + 1, div_from_reg(data->fan_div[nr]), in store_fan_min()
1139 data->fan_div[nr] = new_div; in store_fan_min()