Lines Matching refs:tn
1904 static void ncr_alloc_ccb (struct ncb *np, u_char tn, u_char ln);
1909 static void ncr_init_tcb (struct ncb *np, u_char tn);
1910 static struct lcb * ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln);
5459 unsigned char tn = sdev->id, ln = sdev->lun;
5460 struct tcb *tp = &np->target[tn];
6971 u_char tn = cmd->device->id;
6973 struct tcb *tp = &np->target[tn];
6993 ncr_alloc_ccb(np, tn, ln);
7061 cp->target = tn;
7181 static void ncr_alloc_ccb(struct ncb *np, u_char tn, u_char ln)
7183 struct tcb *tp = &np->target[tn];
7230 static void ncr_init_tcb (struct ncb *np, u_char tn)
7232 struct tcb *tp = &np->target[tn];
7234 int th = tn & 3;
7242 cpu_to_scr((SCR_JUMP ^ IFFALSE (DATA (0x80 + tn))));
7317 static struct lcb *ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln)
7319 struct tcb *tp = &np->target[tn];
7343 ncr_init_tcb(np, tn);
7409 unsigned char tn = sdev->id, ln = sdev->lun;
7410 struct tcb *tp = &np->target[tn];
7414 if (!lp && !(lp = ncr_alloc_lcb(np, tn, ln)))