Lines Matching defs:nr
22 #define ADM1031_REG_FAN_SPEED(nr) (0x08 + (nr)) argument
23 #define ADM1031_REG_FAN_DIV(nr) (0x20 + (nr)) argument
25 #define ADM1031_REG_FAN_MIN(nr) (0x10 + (nr)) argument
28 #define ADM1031_REG_TEMP_OFFSET(nr) (0x0d + (nr)) argument
29 #define ADM1031_REG_TEMP_MAX(nr) (0x14 + 4 * (nr)) argument
30 #define ADM1031_REG_TEMP_MIN(nr) (0x15 + 4 * (nr)) argument
31 #define ADM1031_REG_TEMP_CRIT(nr) (0x16 + 4 * (nr)) argument
33 #define ADM1031_REG_TEMP(nr) (0x0a + (nr)) argument
34 #define ADM1031_REG_AUTO_TEMP(nr) (0x24 + (nr)) argument
36 #define ADM1031_REG_STATUS(nr) (0x2 + (nr)) argument
323 int nr = to_sensor_dev_attr(attr)->index; in fan_auto_channel_show() local
334 int nr = to_sensor_dev_attr(attr)->index; in fan_auto_channel_store() local
388 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_off_show() local
396 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_min_show() local
407 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_min_store() local
426 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_max_show() local
437 int nr = to_sensor_dev_attr(attr)->index; in auto_temp_max_store() local
469 int nr = to_sensor_dev_attr(attr)->index; in pwm_show() local
478 int nr = to_sensor_dev_attr(attr)->index; in pwm_store() local
558 int nr = to_sensor_dev_attr(attr)->index; in fan_show() local
570 int nr = to_sensor_dev_attr(attr)->index; in fan_div_show() local
577 int nr = to_sensor_dev_attr(attr)->index; in fan_min_show() local
589 int nr = to_sensor_dev_attr(attr)->index; in fan_min_store() local
614 int nr = to_sensor_dev_attr(attr)->index; in fan_div_store() local
668 int nr = to_sensor_dev_attr(attr)->index; in temp_show() local
679 int nr = to_sensor_dev_attr(attr)->index; in temp_offset_show() local
687 int nr = to_sensor_dev_attr(attr)->index; in temp_min_show() local
694 int nr = to_sensor_dev_attr(attr)->index; in temp_max_show() local
701 int nr = to_sensor_dev_attr(attr)->index; in temp_crit_show() local
711 int nr = to_sensor_dev_attr(attr)->index; in temp_offset_store() local
733 int nr = to_sensor_dev_attr(attr)->index; in temp_min_store() local
755 int nr = to_sensor_dev_attr(attr)->index; in temp_max_store() local
777 int nr = to_sensor_dev_attr(attr)->index; in temp_crit_store() local