Lines Matching defs:sdev
1914 static struct lcb * ncr_setup_lcb (struct ncb *np, struct scsi_device *sdev);
1934 static void ncr_setup_tags (struct ncb *np, struct scsi_device *sdev);
4112 struct scsi_device *sdev = cmd->device;
4113 struct tcb *tp = &np->target[sdev->id];
4114 struct lcb *lp = tp->lp[sdev->lun];
4129 if ((sdev->id == np->myaddr ) ||
4130 (sdev->id >= MAX_TARGET) ||
4131 (sdev->lun >= MAX_LUN )) {
4183 idmsg = IDENTIFY(0, sdev->lun);
4353 cp->phys.select.sel_id = sdev_id(sdev);
5623 static void ncr_setup_tags (struct ncb *np, struct scsi_device *sdev)
5625 unsigned char tn = sdev->id, ln = sdev->lun;
5633 if ((!tp) || (!lp) || !sdev)
5657 if (sdev->tagged_supported && lp->numtags > 1) {
5702 dev_info(&sdev->sdev_gendev,
5706 dev_info(&sdev->sdev_gendev,
7573 static struct lcb *ncr_setup_lcb (struct ncb *np, struct scsi_device *sdev)
7575 unsigned char tn = sdev->id, ln = sdev->lun;
7587 if (sdev->tagged_supported && lp->jump_ccb == &lp->jump_ccb_0) {
7602 ncr_setup_tags (np, sdev);