Lines Matching defs:buf8
154 uint8_t *buf8;
178 buf8 = (uint8_t *)&buf;
190 pattern = buf == 0xFFFF ? 0 : buf8[1];
198 sc->ic_type = pattern >= 0x01 ? be16toh(buf) : buf8[1];
204 sc->is_clickpad = (buf8[0] & 0x10) != 0;
227 sc->trace_x = sc->max_x / buf8[0];
228 sc->trace_y = sc->max_y / buf8[1];
234 sc->pressure_base = (buf8[0] & 0x10) ? 0 : IETP_PRESSURE_BASE;
241 sc->res_x = ietp_res2dpmm(buf8[0], sc->hi_precision);
242 sc->res_y = ietp_res2dpmm(buf8[1], sc->hi_precision);