Lines Matching refs:device

14 struct device;
39 SDEV_CREATED = 1, /* device created but not added to sysfs
41 SDEV_RUNNING, /* device properly configured
43 SDEV_CANCEL, /* beginning to delete device
45 SDEV_DEL, /* device deleted
129 unsigned int manufacturer; /* Manufacturer of device, for using
162 * If true, let the high-level device driver (sd) manage the device
169 * If true, let the high-level device driver (sd) manage the device
170 * power state for runtime device suspand and resume operations.
175 * If true, let the high-level device driver (sd) manage the device
181 * If set and if the device is runtime suspended, ask the high-level
182 * device driver (sd) to force a runtime resume of the device.
192 * painfully slow on this device */
201 * this device */
232 unsigned is_visible:1; /* is the device visible in sysfs */
238 unsigned rpm_autosuspend:1; /* Enable runtime autosuspend at device
265 struct device sdev_gendev,
298 * like scmd_printk, but the device name is passed in
316 sdev_dbg((scmd)->device, "[%s] " fmt, \
319 sdev_dbg((scmd)->device, fmt, ##a); \
339 struct device dev;
347 * for the device at a time. */
352 unsigned int expecting_lun_change:1; /* A device has reported
422 * Iterator that returns each device attached to @shost. This loop
423 * takes a reference on each device and releases it at the end. If
436 * Iterator that returns each device attached to @shost. It does _not_
441 * device list in interrupt context. Otherwise you really want to use
478 extern void scsi_scan_target(struct device *parent, unsigned int channel,
482 void scsi_block_targets(struct Scsi_Host *shost, struct device *dev);
483 extern void scsi_target_unblock(struct device *, enum scsi_device_state);
484 extern void scsi_remove_target(struct device *);
486 extern int scsi_is_sdev_device(const struct device *);
487 extern int scsi_is_target_device(const struct device *);
533 #define scmd_id(scmd) sdev_id((scmd)->device)
534 #define scmd_channel(scmd) sdev_channel((scmd)->device)
610 * scsi_device_supports_vpd - test if a device supports VPD pages
619 /* Attempt VPD inquiry if the device blacklist explicitly calls