Lines Matching defs:sdev
1911 static struct lcb * ncr_setup_lcb (struct ncb *np, struct scsi_device *sdev);
1931 static void ncr_setup_tags (struct ncb *np, struct scsi_device *sdev);
4084 struct scsi_device *sdev = cmd->device;
4085 struct tcb *tp = &np->target[sdev->id];
4086 struct lcb *lp = tp->lp[sdev->lun];
4101 if ((sdev->id == np->myaddr ) ||
4102 (sdev->id >= MAX_TARGET) ||
4103 (sdev->lun >= MAX_LUN )) {
4155 idmsg = IDENTIFY(0, sdev->lun);
4325 cp->phys.select.sel_id = sdev_id(sdev);
5457 static void ncr_setup_tags (struct ncb *np, struct scsi_device *sdev)
5459 unsigned char tn = sdev->id, ln = sdev->lun;
5467 if ((!tp) || (!lp) || !sdev)
5491 if (sdev->tagged_supported && lp->numtags > 1) {
5536 dev_info(&sdev->sdev_gendev,
5540 dev_info(&sdev->sdev_gendev,
7407 static struct lcb *ncr_setup_lcb (struct ncb *np, struct scsi_device *sdev)
7409 unsigned char tn = sdev->id, ln = sdev->lun;
7421 if (sdev->tagged_supported && lp->jump_ccb == &lp->jump_ccb_0) {
7436 ncr_setup_tags (np, sdev);