• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/

Lines Matching refs:scsi_device

12  * device attached, a scsi_device is allocated and setup for it.
20 * scsi_device for it.
38 #include <scsi/scsi_device.h>
205 static void scsi_unlock_floptical(struct scsi_device *sdev,
232 static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget,
235 struct scsi_device *sdev;
527 * @sdev: scsi_device to probe
537 * are copied to the scsi_device any flags value is stored in *@bflags.
539 static int scsi_probe_lun(struct scsi_device *sdev, unsigned char *inq_result,
671 * scsi_add_lun - allocate and fully initialze a scsi_device
672 * @sdevscan: holds information to be stored in the new scsi_device
673 * @sdevnew: store the address of the newly allocated scsi_device
678 * Allocate and initialize a scsi_device matching sdevscan. Optionally
680 * NULL, store the address of the new scsi_device in *@sdevnew (needed
684 * SCSI_SCAN_NO_RESPONSE: could not allocate or setup a scsi_device
685 * SCSI_SCAN_LUN_PRESENT: a new scsi_device was allocated and initialized
687 static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result,
766 * scsi_device for a PQ of 1
884 static inline void scsi_destroy_sdev(struct scsi_device *sdev)
924 * @sdevscan: probe the LUN corresponding to this scsi_device
925 * @sdevnew: store the value of any new scsi_device allocated
933 * SCSI_SCAN_NO_RESPONSE: could not allocate or setup a scsi_device
936 * SCSI_SCAN_LUN_PRESENT: a new scsi_device was allocated and initialized
940 struct scsi_device **sdevp, int rescan,
943 struct scsi_device *sdev;
1218 * @sdevscan: scan the host, channel, and id of this scsi_device
1244 struct scsi_device *sdev;
1426 struct scsi_device *__scsi_add_device(struct Scsi_Host *shost, uint channel,
1429 struct scsi_device *sdev = ERR_PTR(-ENODEV);
1457 struct scsi_device *sdev =
1620 struct scsi_device *sdev;
1760 struct scsi_device *sdev;
1778 * Purpose: Create a scsi_device that points to the host adapter itself.
1780 * Arguments: SHpnt - Host that needs a scsi_device
1784 * Returns: The scsi_device or NULL
1787 * Attach a single scsi_device to the Scsi_Host - this should
1795 struct scsi_device *scsi_get_host_dev(struct Scsi_Host *shost)
1797 struct scsi_device *sdev = NULL;
1823 * Purpose: Free a scsi_device that points to the host adapter itself.
1825 * Arguments: SHpnt - Host that needs a scsi_device
1833 void scsi_free_host_dev(struct scsi_device *sdev)