Lines Matching defs:in
109 * in[i]=(data[i+2]*25.0+133)*voltagefactor[i];
121 * Remember that val is expressed in 0.001V/bit, which is why we divide
188 * finding my typos in this formula!)
191 * aren't allowed to use floating point in the kernel and doing it with
200 * but the function is very linear in the useful range (0-80 deg C), so
301 * For each registered chip, we need to keep some data in memory.
312 u8 in[5]; /* Register value */
354 data->in[i] =
379 * add in lower 2 bits
416 return sprintf(buf, "%ld\n", IN_FROM_REG(data->in[nr], nr));
474 static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0);
477 static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1);
480 static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2);
483 static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3);
486 static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4);
753 dev_err(&pdev->dev, "Region 0x%lx-0x%lx already in use!\n",