Lines Matching refs:ln
1905 static void ncr_alloc_ccb (struct ncb *np, u_char tn, u_char ln);
1911 static struct lcb * ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln);
5460 unsigned char tn = sdev->id, ln = sdev->lun; in ncr_setup_tags() local
5462 struct lcb *lp = tp->lp[ln]; in ncr_setup_tags()
6973 u_char ln = cmd->device->lun; in ncr_get_ccb() local
6975 struct lcb *lp = tp->lp[ln]; in ncr_get_ccb()
6994 ncr_alloc_ccb(np, tn, ln); in ncr_get_ccb()
7063 cp->lun = ln; in ncr_get_ccb()
7182 static void ncr_alloc_ccb(struct ncb *np, u_char tn, u_char ln) in ncr_alloc_ccb() argument
7185 struct lcb *lp = tp->lp[ln]; in ncr_alloc_ccb()
7318 static struct lcb *ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln) in ncr_alloc_lcb() argument
7321 struct lcb *lp = tp->lp[ln]; in ncr_alloc_lcb()
7323 int lh = ln & 3; in ncr_alloc_lcb()
7338 tp->lp[ln] = lp; in ncr_alloc_lcb()
7374 cpu_to_scr((SCR_JUMP ^ IFFALSE (MASK (0x80+ln, 0xff)))); in ncr_alloc_lcb()
7410 unsigned char tn = sdev->id, ln = sdev->lun; in ncr_setup_lcb() local
7412 struct lcb *lp = tp->lp[ln]; in ncr_setup_lcb()
7415 if (!lp && !(lp = ncr_alloc_lcb(np, tn, ln))) in ncr_setup_lcb()