Lines Matching refs:index
191 * (index 0x4e), but the driver only accesses registers in bank 0. Since
356 int nr = sensor_attr->index; \
373 int nr = sensor_attr->index; \
434 int bitnr = sensor_attr->index;
446 int bitnr = sensor_attr->index;
480 int bitnr = sensor_attr->index;
522 int nr = sensor_attr->index; \
536 int nr = sensor_attr->index;
556 int nr = sensor_attr->index;
573 int nr = sensor_attr->index;
712 int nr = sensor_attr->index;
723 int nr = sensor_attr->index;
753 int nr = sensor_attr->index;
764 int nr = sensor_attr->index;
820 int nr = sensor_attr->index;
830 int nr = sensor_attr->index;
861 int nr = sensor_attr->index;
871 int nr = sensor_attr->index;
924 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[attr->index]));
933 int nr = attr->index;
955 int index = attr->index;
956 return sprintf(buf, "%d\n", TEMP23_FROM_REG(data->temp_add[nr][index]));
969 int index = attr->index;
976 data->temp_add[nr][index] = TEMP23_TO_REG(val);
977 w83791d_write(client, W83791D_REG_TEMP_ADD[nr][index * 2],
978 data->temp_add[nr][index] >> 8);
979 w83791d_write(client, W83791D_REG_TEMP_ADD[nr][index * 2 + 1],
980 data->temp_add[nr][index] & 0x80);
1424 * does a hard reset of the chip via index 0x40, bit 7,