Lines Matching refs:Rt
838 unsigned int Rt;
856 Rt = ts->pressure_max / 2;
859 Rt = z2;
860 Rt -= z1;
861 Rt *= ts->x_plate_ohms;
862 Rt = DIV_ROUND_CLOSEST(Rt, 16);
863 Rt *= x;
864 Rt /= z1;
865 Rt = DIV_ROUND_CLOSEST(Rt, 256);
867 Rt = 0;
875 if (packet->ignore || Rt > ts->pressure_max) {
877 packet->ignore, Rt);
888 Rt = 0;
900 if (Rt) {
910 input_report_abs(input, ABS_PRESSURE, ts->pressure_max - Rt);
913 dev_vdbg(&ts->spi->dev, "%4d/%4d/%4d\n", x, y, Rt);