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

/include/scsi/
H A Dscsi_device.h68 struct scsi_device { struct
195 int (*check_sense)(struct scsi_device *, struct scsi_sense_hdr *);
196 int (*attach)(struct scsi_device *);
197 void (*detach)(struct scsi_device *);
198 int (*activate)(struct scsi_device *, activate_complete, void *);
199 int (*prep_fn)(struct scsi_device *, struct request *);
200 int (*set_params)(struct scsi_device *, const char *);
201 bool (*match)(struct scsi_device *);
206 struct scsi_device *sdev;
212 container_of(d, struct scsi_device, sdev_gende
[all...]
H A Dscsi_ioctl.h20 struct scsi_device;
43 extern int scsi_ioctl(struct scsi_device *, int, void __user *);
44 extern int scsi_nonblockable_ioctl(struct scsi_device *sdev, int cmd,
H A Dscsi_driver.h8 struct scsi_device;
32 int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req);
33 int scsi_setup_fs_cmnd(struct scsi_device *sdev, struct request *req);
34 int scsi_prep_state_check(struct scsi_device *sdev, struct request *req);
H A Dscsi_tcq.h6 #include <scsi/scsi_device.h>
27 static inline int scsi_get_tag_type(struct scsi_device *sdev)
38 static inline void scsi_set_tag_type(struct scsi_device *sdev, int tag)
65 static inline void scsi_activate_tcq(struct scsi_device *sdev, int depth)
81 static inline void scsi_deactivate_tcq(struct scsi_device *sdev, int depth)
119 static inline struct scsi_cmnd *scsi_find_tag(struct scsi_device *sdev, int tag)
H A Dscsi_eh.h7 struct scsi_device;
44 extern int scsi_block_when_processing_errors(struct scsi_device *);
71 extern int scsi_reset_provider(struct scsi_device *, int);
H A Dscsi_host.h16 struct scsi_device;
85 int (* ioctl)(struct scsi_device *dev, int cmd, void __user *arg);
95 int (* compat_ioctl)(struct scsi_device *dev, int cmd, void __user *arg);
203 int (* slave_alloc)(struct scsi_device *);
208 * struct scsi_device *. If the low level device driver implements
234 int (* slave_configure)(struct scsi_device *);
245 void (* slave_destroy)(struct scsi_device *);
302 int (* change_queue_depth)(struct scsi_device *, int, int);
315 int (* change_queue_type)(struct scsi_device *, int);
325 int (* bios_param)(struct scsi_device *, struc
[all...]
H A Dscsi_transport.h27 #include <scsi/scsi_device.h>
115 scsi_transport_device_data(struct scsi_device *sdev)
H A Dscsi_dh.h26 #include <scsi/scsi_device.h>
H A Dosd_initiator.h21 #include <scsi/scsi_device.h>
50 struct scsi_device *scsi_device; member in struct:osd_dev
82 void osd_dev_init(struct osd_dev *od, struct scsi_device *scsi_device);
105 return od->scsi_device->request_queue;
H A Dscsi_transport_sas.h189 unsigned int sas_tlr_supported(struct scsi_device *);
190 unsigned int sas_is_tlr_enabled(struct scsi_device *);
191 void sas_disable_tlr(struct scsi_device *);
192 void sas_enable_tlr(struct scsi_device *);
222 int sas_read_port_mode_page(struct scsi_device *);
H A Dscsi_transport_spi.h28 struct scsi_device;
152 void spi_schedule_dv_device(struct scsi_device *);
153 void spi_dv_device(struct scsi_device *);
H A Dlibsas.h35 #include <scsi/scsi_device.h>
433 sdev_to_domain_dev(struct scsi_device *sdev) {
682 extern int sas_slave_configure(struct scsi_device *);
683 extern int sas_change_queue_depth(struct scsi_device *, int new_depth,
685 extern int sas_change_queue_type(struct scsi_device *, int qt);
686 extern int sas_bios_param(struct scsi_device *,
715 extern int sas_slave_alloc(struct scsi_device *);
716 extern int sas_ioctl(struct scsi_device *sdev, int cmd, void __user *arg);
H A Dscsi_cmnd.h12 struct scsi_device;
55 struct scsi_device *device;
149 extern struct scsi_cmnd *scsi_get_command(struct scsi_device *, gfp_t);
H A Dlibiscsi.h38 struct scsi_device;
334 extern int iscsi_change_queue_depth(struct scsi_device *sdev, int depth,
H A Dlibfc.h1092 int fc_slave_alloc(struct scsi_device *);
1093 int fc_change_queue_depth(struct scsi_device *, int qdepth, int reason);
1094 int fc_change_queue_type(struct scsi_device *, int tag_type);
/include/linux/
H A Dlibata.h489 struct scsi_device;
615 struct scsi_device *sdev; /* attached SCSI device */
993 extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg);
995 extern int ata_sas_scsi_ioctl(struct ata_port *ap, struct scsi_device *dev,
1005 extern int ata_sas_slave_configure(struct scsi_device *, struct ata_port *);
1050 extern int ata_std_bios_param(struct scsi_device *sdev,
1053 extern void ata_scsi_unlock_native_capacity(struct scsi_device *sdev);
1054 extern int ata_scsi_slave_config(struct scsi_device *sdev);
1055 extern void ata_scsi_slave_destroy(struct scsi_device *sdev);
1056 extern int ata_scsi_change_queue_depth(struct scsi_device *sde
[all...]

Completed in 165 milliseconds