Searched refs:scsi_dev (Results 1 – 5 of 5) sorted by relevance
/drivers/scsi/ |
D | ps3rom.c | 76 static int ps3rom_slave_configure(struct scsi_device *scsi_dev) in ps3rom_slave_configure() argument 78 struct ps3rom_private *priv = shost_priv(scsi_dev->host); in ps3rom_slave_configure() 82 __LINE__, scsi_dev->id, scsi_dev->lun, scsi_dev->channel); in ps3rom_slave_configure() 88 scsi_dev->use_10_for_ms = 1; in ps3rom_slave_configure() 91 scsi_dev->use_10_for_rw = 1; in ps3rom_slave_configure()
|
D | pmcraid.c | 152 static int pmcraid_slave_alloc(struct scsi_device *scsi_dev) in pmcraid_slave_alloc() argument 161 pinstance = shost_priv(scsi_dev->host); in pmcraid_slave_alloc() 192 if (bus == scsi_dev->channel && in pmcraid_slave_alloc() 193 target == scsi_dev->id && in pmcraid_slave_alloc() 194 lun == scsi_dev->lun) { in pmcraid_slave_alloc() 201 res->scsi_dev = scsi_dev; in pmcraid_slave_alloc() 202 scsi_dev->hostdata = res; in pmcraid_slave_alloc() 225 static int pmcraid_slave_configure(struct scsi_device *scsi_dev) in pmcraid_slave_configure() argument 227 struct pmcraid_resource_entry *res = scsi_dev->hostdata; in pmcraid_slave_configure() 234 scsi_dev->type != TYPE_ENCLOSURE) in pmcraid_slave_configure() [all …]
|
D | pmcraid.h | 815 struct scsi_device *scsi_dev; /* Link scsi_device structure */ member
|
/drivers/scsi/libsas/ |
D | sas_scsi_host.c | 860 int sas_slave_configure(struct scsi_device *scsi_dev) in sas_slave_configure() argument 862 struct domain_device *dev = sdev_to_domain_dev(scsi_dev); in sas_slave_configure() 868 ata_sas_slave_configure(scsi_dev, dev->sata_dev.ap); in sas_slave_configure() 874 sas_read_port_mode_page(scsi_dev); in sas_slave_configure() 876 if (scsi_dev->tagged_supported) { in sas_slave_configure() 877 scsi_change_queue_depth(scsi_dev, SAS_DEF_QD); in sas_slave_configure() 881 scsi_dev->lun); in sas_slave_configure() 882 scsi_change_queue_depth(scsi_dev, 1); in sas_slave_configure() 885 scsi_dev->allow_restart = 1; in sas_slave_configure() 902 int sas_bios_param(struct scsi_device *scsi_dev, in sas_bios_param() argument
|
/drivers/scsi/esas2r/ |
D | esas2r_main.c | 1699 struct scsi_device *scsi_dev; in esas2r_add_device() local 1701 scsi_dev = scsi_device_lookup(a->host, 0, target_id, 0); in esas2r_add_device() 1703 if (scsi_dev) { in esas2r_add_device() 1706 &(scsi_dev-> in esas2r_add_device() 1710 scsi_device_put(scsi_dev); in esas2r_add_device() 1733 struct scsi_device *scsi_dev; in esas2r_remove_device() local 1735 scsi_dev = scsi_device_lookup(a->host, 0, target_id, 0); in esas2r_remove_device() 1737 if (scsi_dev) { in esas2r_remove_device() 1738 scsi_device_set_state(scsi_dev, SDEV_OFFLINE); in esas2r_remove_device() 1742 &(scsi_dev-> in esas2r_remove_device() [all …]
|