Lines Matching refs:device

12 struct device;
37 SDEV_CREATED = 1, /* device created but not added to sysfs
39 SDEV_RUNNING, /* device properly configured
41 SDEV_CANCEL, /* beginning to delete device
43 SDEV_DEL, /* device deleted
127 unsigned int manufacturer; /* Manufacturer of device, for using
161 * painfully slow on this device */
170 * this device */
199 unsigned is_visible:1; /* is the device visible in sysfs */
205 unsigned rpm_autosuspend:1; /* Enable runtime autosuspend at device
225 struct device sdev_gendev,
255 * like scmd_printk, but the device name is passed in
271 sdev_dbg((scmd)->device, "[%s] " fmt, \
274 sdev_dbg((scmd)->device, fmt, ##a); \
294 struct device dev;
302 * for the device at a time. */
307 unsigned int expecting_lun_change:1; /* A device has reported
375 * Iterator that returns each device attached to @shost. This loop
376 * takes a reference on each device and releases it at the end. If
389 * Iterator that returns each device attached to @shost. It does _not_
394 * device list in interrupt context. Otherwise you really want to use
431 extern void scsi_scan_target(struct device *parent, unsigned int channel,
435 extern void scsi_target_block(struct device *);
436 extern void scsi_target_unblock(struct device *, enum scsi_device_state);
437 extern void scsi_remove_target(struct device *);
439 extern int scsi_is_sdev_device(const struct device *);
440 extern int scsi_is_target_device(const struct device *);
493 #define scmd_id(scmd) sdev_id((scmd)->device)
494 #define scmd_channel(scmd) sdev_channel((scmd)->device)
570 * scsi_device_supports_vpd - test if a device supports VPD pages
579 /* Attempt VPD inquiry if the device blacklist explicitly calls