Lines Matching refs:t

238 static void dumplog(struct mesh_state *ms, int t)  in dumplog()  argument
240 struct mesh_target *tp = &ms->tgts[t]; in dumplog()
253 t, lp->bs1, lp->bs0, lp->phase); in dumplog()
307 int t; in mesh_dump_regs() local
326 for (t = 0; t < 8; ++t) { in mesh_dump_regs()
327 tp = &ms->tgts[t]; in mesh_dump_regs()
331 t, tp->current_req, tp->data_goes_out, tp->saved_ptr); in mesh_dump_regs()
399 int t, id; in mesh_start_cmd() local
451 for (t = 100; t > 0; --t) { in mesh_start_cmd()
506 for (t = 230; t > 0; --t) { in mesh_start_cmd()
525 for (t = 10; t > 0 && in_8(&mr->interrupt) == 0; --t) in mesh_start_cmd()
855 int b, t, prev; in reselected() local
931 for (t = 0; t < 8; ++t) in reselected()
932 if ((b & (1 << t)) != 0 && t != ms->host->this_id) in reselected()
934 if (b != (1 << t) + (1 << ms->host->this_id)) { in reselected()
944 ms->conn_tgt = t; in reselected()
945 tp = &ms->tgts[t]; in reselected()
947 if (ALLOW_DEBUG(t)) { in reselected()
948 printk(KERN_DEBUG "mesh: reselected by target %d\n", t); in reselected()
954 printk(KERN_ERR "mesh: reselected by tgt %d but no cmd!\n", t); in reselected()
1320 int t, nb; in halt_dma() local
1324 t = 50; in halt_dma()
1325 while (t > 0 && in_8(&mr->fifo_count) != 0 in halt_dma()
1327 --t; in halt_dma()
1445 int seq, n, t; in cmd_complete() local
1492 t = 30; /* wait up to 30us */ in cmd_complete()
1493 while ((in_8(&mr->bus_status0) & BS0_REQ) == 0 && --t >= 0) in cmd_complete()
1565 t = 230; /* wait up to 230us */ in cmd_complete()
1567 if (--t < 0) { in cmd_complete()