• Home
  • Raw
  • Download

Lines Matching defs:nr

218 #define IT87_REG_PWM(nr)       (0x15 + (nr))  argument
219 #define IT87_REG_PWM_DUTY(nr) (0x63 + (nr) * 8) argument
221 #define IT87_REG_VIN(nr) (0x20 + (nr)) argument
222 #define IT87_REG_TEMP(nr) (0x29 + (nr)) argument
224 #define IT87_REG_VIN_MAX(nr) (0x30 + (nr) * 2) argument
225 #define IT87_REG_VIN_MIN(nr) (0x31 + (nr) * 2) argument
226 #define IT87_REG_TEMP_HIGH(nr) (0x40 + (nr) * 2) argument
227 #define IT87_REG_TEMP_LOW(nr) (0x41 + (nr) * 2) argument
236 #define IT87_REG_AUTO_TEMP(nr, i) (0x60 + (nr) * 8 + (i)) argument
237 #define IT87_REG_AUTO_PWM(nr, i) (0x65 + (nr) * 8 + (i)) argument
335 #define has_temp_peci(data, nr) (((data)->features & FEAT_TEMP_PECI) && \ argument
337 #define has_temp_old_peci(data, nr) \ argument
408 static int adc_lsb(const struct it87_data *data, int nr) in adc_lsb()
416 static u8 in_to_reg(const struct it87_data *data, int nr, long val) in in_to_reg()
422 static int in_from_reg(const struct it87_data *data, int nr, int val) in in_from_reg()
512 int nr = sattr->nr; in show_in() local
523 int nr = sattr->nr; in set_in() local
598 int nr = sattr->nr; in show_temp() local
609 int nr = sattr->nr; in set_temp() local
671 int nr = sensor_attr->index; in show_temp_type() local
690 int nr = sensor_attr->index; in set_temp_type() local
744 static int pwm_mode(const struct it87_data *data, int nr) in pwm_mode()
760 int nr = sattr->nr; in show_fan() local
776 int nr = sensor_attr->index; in show_fan_div() local
785 int nr = sensor_attr->index; in show_pwm_enable() local
794 int nr = sensor_attr->index; in show_pwm() local
813 int nr = sattr->nr; in set_fan() local
858 int nr = sensor_attr->index; in set_fan_div() local
901 static int check_trip_points(struct device *dev, int nr) in check_trip_points()
929 int nr = sensor_attr->index; in set_pwm_enable() local
982 int nr = sensor_attr->index; in set_pwm() local
1046 int nr = sensor_attr->index; in show_pwm_temp_map() local
1061 int nr = sensor_attr->index; in set_pwm_temp_map() local
1113 int nr = sensor_attr->nr; in show_auto_pwm() local
1126 int nr = sensor_attr->nr; in set_auto_pwm() local
1147 int nr = sensor_attr->nr; in show_auto_temp() local
1159 int nr = sensor_attr->nr; in set_auto_temp() local
1428 int nr = to_sensor_dev_attr(attr)->index; in show_label() local
2483 static void it87_update_pwm_ctrl(struct it87_data *data, int nr) in it87_update_pwm_ctrl()