Lines Matching defs:nr
46 #define F75375_REG_VOLT(nr) (0x10 + (nr)) argument
47 #define F75375_REG_VOLT_HIGH(nr) (0x20 + (nr) * 2) argument
48 #define F75375_REG_VOLT_LOW(nr) (0x21 + (nr) * 2) argument
50 #define F75375_REG_TEMP(nr) (0x14 + (nr)) argument
51 #define F75387_REG_TEMP11_LSB(nr) (0x1a + (nr)) argument
52 #define F75375_REG_TEMP_HIGH(nr) (0x28 + (nr) * 2) argument
53 #define F75375_REG_TEMP_HYST(nr) (0x29 + (nr) * 2) argument
55 #define F75375_REG_FAN(nr) (0x16 + (nr) * 2) argument
56 #define F75375_REG_FAN_MIN(nr) (0x2C + (nr) * 2) argument
57 #define F75375_REG_FAN_FULL(nr) (0x70 + (nr) * 0x10) argument
58 #define F75375_REG_FAN_PWM_DUTY(nr) (0x76 + (nr) * 0x10) argument
59 #define F75375_REG_FAN_PWM_CLOCK(nr) (0x7D + (nr) * 0x10) argument
61 #define F75375_REG_FAN_EXP(nr) (0x74 + (nr) * 0x10) argument
62 #define F75375_REG_FAN_B_TEMP(nr, step) ((0xA0 + (nr) * 0x10) + (step)) argument
63 #define F75375_REG_FAN_B_SPEED(nr, step) \ argument
71 #define F75375_FAN_CTRL_LINEAR(nr) (4 + nr) argument
72 #define F75387_FAN_CTRL_LINEAR(nr) (1 + ((nr) * 4)) argument
73 #define FAN_CTRL_MODE(nr) (4 + ((nr) * 2)) argument
74 #define F75387_FAN_DUTY_MODE(nr) (2 + ((nr) * 4)) argument
75 #define F75387_FAN_MANU_MODE(nr) ((nr) * 4) argument
166 static void f75375_write_pwm(struct i2c_client *client, int nr) in f75375_write_pwm()
180 int nr; in f75375_update_device() local
287 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min() local
307 int nr = to_sensor_dev_attr(attr)->index; in set_fan_target() local
332 int nr = to_sensor_dev_attr(attr)->index; in set_pwm() local
356 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_enable() local
361 static int set_pwm_enable_direct(struct i2c_client *client, int nr, int val) in set_pwm_enable_direct()
428 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_enable() local
447 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_mode() local
491 int nr = to_sensor_dev_attr(attr)->index; in show_pwm() local
499 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_mode() local
510 int nr = to_sensor_dev_attr(attr)->index; in show_in() local
518 int nr = to_sensor_dev_attr(attr)->index; in show_in_max() local
526 int nr = to_sensor_dev_attr(attr)->index; in show_in_min() local
534 int nr = to_sensor_dev_attr(attr)->index; in set_in_max() local
555 int nr = to_sensor_dev_attr(attr)->index; in set_in_min() local
579 int nr = to_sensor_dev_attr(attr)->index; in show_temp11() local
587 int nr = to_sensor_dev_attr(attr)->index; in show_temp_max() local
595 int nr = to_sensor_dev_attr(attr)->index; in show_temp_max_hyst() local
603 int nr = to_sensor_dev_attr(attr)->index; in set_temp_max() local
624 int nr = to_sensor_dev_attr(attr)->index; in set_temp_max_hyst() local
755 int nr; in f75375_init() local
759 int nr; in f75375_init() local