Lines Matching defs:tp
182 tst_exec(struct tnt_softc *sc, struct tst *tp, const char *name)
187 for (step = 0; tp->action != END; tp++, step++) {
188 switch (tp->action) {
190 bus_write_1(sc->res[1], tp->reg, tp->val);
193 u = bus_read_1(sc->res[1], tp->reg);
194 if (u != tp->val) {
197 name, step, tp->reg, u);
198 printf( "should have been %02x\n", tp->val);
203 DELAY(tp->val);
207 name, step, tp->action);