Home
last modified time | relevance | path

Searched refs:scsi_device (Results 1 – 16 of 16) sorted by relevance

/include/scsi/
Dscsi_device.h104 struct scsi_device { struct
258 container_of(d, struct scsi_device, sdev_gendev) argument
260 container_of(d, struct scsi_device, sdev_dev)
272 sdev_prefix_printk(const char *, const struct scsi_device *, const char *,
306 struct scsi_device *starget_sdev_user;
345 static inline struct scsi_target *scsi_target(struct scsi_device *sdev) in scsi_target()
355 extern struct scsi_device *__scsi_add_device(struct Scsi_Host *,
360 extern void scsi_remove_device(struct scsi_device *);
362 void scsi_attach_vpd(struct scsi_device *sdev);
364 extern struct scsi_device *scsi_device_from_queue(struct request_queue *q);
[all …]
Dscsi_dh.h55 enum scsi_disposition (*check_sense)(struct scsi_device *,
57 int (*attach)(struct scsi_device *);
58 void (*detach)(struct scsi_device *);
59 int (*activate)(struct scsi_device *, activate_complete, void *);
60 blk_status_t (*prep_fn)(struct scsi_device *, struct request *);
61 int (*set_params)(struct scsi_device *, const char *);
62 void (*rescan)(struct scsi_device *);
Dscsi_ioctl.h22 struct scsi_device;
46 int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev,
48 int scsi_ioctl(struct scsi_device *sdev, struct gendisk *disk, fmode_t mode,
Dscsi_dbg.h6 struct scsi_device;
12 extern void scsi_print_sense_hdr(const struct scsi_device *, const char *,
15 extern void __scsi_print_sense(const struct scsi_device *, const char *name,
Dscsi_eh.h9 struct scsi_device;
17 extern int scsi_block_when_processing_errors(struct scsi_device *);
30 extern int scsi_ioctl_reset(struct scsi_device *, int __user *);
Dscsi_host.h19 struct scsi_device;
106 int (*ioctl)(struct scsi_device *dev, unsigned int cmd,
117 int (*compat_ioctl)(struct scsi_device *dev, unsigned int cmd,
174 int (* slave_alloc)(struct scsi_device *);
205 int (* slave_configure)(struct scsi_device *);
216 void (* slave_destroy)(struct scsi_device *);
273 int (* change_queue_depth)(struct scsi_device *, int);
308 int (* bios_param)(struct scsi_device *, struct block_device *,
317 void (*unlock_native_capacity)(struct scsi_device *);
816 extern void scsi_free_host_dev(struct scsi_device *);
[all …]
Dscsi_transport_sas.h196 u64 sas_get_address(struct scsi_device *);
197 unsigned int sas_tlr_supported(struct scsi_device *);
198 unsigned int sas_is_tlr_enabled(struct scsi_device *);
199 void sas_disable_tlr(struct scsi_device *);
200 void sas_enable_tlr(struct scsi_device *);
229 int sas_read_port_mode_page(struct scsi_device *);
Dscsi_driver.h11 struct scsi_device;
Dscsi_transport_spi.h15 struct scsi_device;
139 void spi_schedule_dv_device(struct scsi_device *);
140 void spi_dv_device(struct scsi_device *);
Dlibsas.h410 sdev_to_domain_dev(struct scsi_device *sdev) { in sdev_to_domain_dev()
669 extern int sas_slave_configure(struct scsi_device *);
670 extern int sas_change_queue_depth(struct scsi_device *, int new_depth);
671 extern int sas_bios_param(struct scsi_device *, struct block_device *,
700 extern int sas_slave_alloc(struct scsi_device *);
701 extern int sas_ioctl(struct scsi_device *sdev, unsigned int cmd,
Dscsi_transport.h79 scsi_transport_device_data(struct scsi_device *sdev) in scsi_transport_device_data()
Dscsi_cmnd.h71 struct scsi_device *device;
Dlibiscsi.h26 struct scsi_device;
Dlibfc.h945 int fc_slave_alloc(struct scsi_device *);
/include/trace/hooks/
Dufshcd.h22 struct scsi_device;
67 TP_PROTO(struct scsi_device *sdev),
/include/linux/
Dlibata.h531 struct scsi_device;
694 struct scsi_device *sdev; /* attached SCSI device */
1107 extern int ata_scsi_ioctl(struct scsi_device *dev, unsigned int cmd,
1120 extern int ata_sas_scsi_ioctl(struct ata_port *ap, struct scsi_device *dev,
1167 extern int ata_std_bios_param(struct scsi_device *sdev,
1170 extern void ata_scsi_unlock_native_capacity(struct scsi_device *sdev);
1171 extern int ata_scsi_slave_config(struct scsi_device *sdev);
1172 extern void ata_scsi_slave_destroy(struct scsi_device *sdev);
1173 extern int ata_scsi_change_queue_depth(struct scsi_device *sdev,
1175 extern int __ata_change_queue_depth(struct ata_port *ap, struct scsi_device *sdev,
[all …]