• Home
  • Raw
  • Download

Lines Matching defs:nr

60 #define F75375_REG_VOLT(nr)		(0x10 + (nr))  argument
61 #define F75375_REG_VOLT_HIGH(nr) (0x20 + (nr) * 2) argument
62 #define F75375_REG_VOLT_LOW(nr) (0x21 + (nr) * 2) argument
64 #define F75375_REG_TEMP(nr) (0x14 + (nr)) argument
65 #define F75387_REG_TEMP11_LSB(nr) (0x1a + (nr)) argument
66 #define F75375_REG_TEMP_HIGH(nr) (0x28 + (nr) * 2) argument
67 #define F75375_REG_TEMP_HYST(nr) (0x29 + (nr) * 2) argument
69 #define F75375_REG_FAN(nr) (0x16 + (nr) * 2) argument
70 #define F75375_REG_FAN_MIN(nr) (0x2C + (nr) * 2) argument
71 #define F75375_REG_FAN_FULL(nr) (0x70 + (nr) * 0x10) argument
72 #define F75375_REG_FAN_PWM_DUTY(nr) (0x76 + (nr) * 0x10) argument
73 #define F75375_REG_FAN_PWM_CLOCK(nr) (0x7D + (nr) * 0x10) argument
75 #define F75375_REG_FAN_EXP(nr) (0x74 + (nr) * 0x10) argument
76 #define F75375_REG_FAN_B_TEMP(nr, step) ((0xA0 + (nr) * 0x10) + (step)) argument
77 #define F75375_REG_FAN_B_SPEED(nr, step) \ argument
85 #define F75375_FAN_CTRL_LINEAR(nr) (4 + nr) argument
86 #define F75387_FAN_CTRL_LINEAR(nr) (1 + ((nr) * 4)) argument
87 #define FAN_CTRL_MODE(nr) (4 + ((nr) * 2)) argument
88 #define F75387_FAN_DUTY_MODE(nr) (2 + ((nr) * 4)) argument
89 #define F75387_FAN_MANU_MODE(nr) ((nr) * 4) argument
181 static void f75375_write_pwm(struct i2c_client *client, int nr) in f75375_write_pwm()
195 int nr; in f75375_update_device() local
302 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min() local
322 int nr = to_sensor_dev_attr(attr)->index; in set_fan_target() local
347 int nr = to_sensor_dev_attr(attr)->index; in set_pwm() local
371 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_enable() local
376 static int set_pwm_enable_direct(struct i2c_client *client, int nr, int val) in set_pwm_enable_direct()
443 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_enable() local
462 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_mode() local
506 int nr = to_sensor_dev_attr(attr)->index; in show_pwm() local
514 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_mode() local
525 int nr = to_sensor_dev_attr(attr)->index; in show_in() local
533 int nr = to_sensor_dev_attr(attr)->index; in show_in_max() local
541 int nr = to_sensor_dev_attr(attr)->index; in show_in_min() local
549 int nr = to_sensor_dev_attr(attr)->index; in set_in_max() local
570 int nr = to_sensor_dev_attr(attr)->index; in set_in_min() local
594 int nr = to_sensor_dev_attr(attr)->index; in show_temp11() local
602 int nr = to_sensor_dev_attr(attr)->index; in show_temp_max() local
610 int nr = to_sensor_dev_attr(attr)->index; in show_temp_max_hyst() local
618 int nr = to_sensor_dev_attr(attr)->index; in set_temp_max() local
639 int nr = to_sensor_dev_attr(attr)->index; in set_temp_max_hyst() local
770 int nr; in f75375_init() local
774 int nr; in f75375_init() local