Searched refs:scsi_dev (Results 1 – 5 of 5) sorted by relevance
/drivers/scsi/ |
D | ps3rom.c | 64 static int ps3rom_slave_configure(struct scsi_device *scsi_dev) in ps3rom_slave_configure() argument 66 struct ps3rom_private *priv = shost_priv(scsi_dev->host); in ps3rom_slave_configure() 70 __LINE__, scsi_dev->id, scsi_dev->lun, scsi_dev->channel); in ps3rom_slave_configure() 76 scsi_dev->use_10_for_ms = 1; in ps3rom_slave_configure() 79 scsi_dev->use_10_for_rw = 1; in ps3rom_slave_configure()
|
D | pmcraid.c | 137 static int pmcraid_slave_alloc(struct scsi_device *scsi_dev) in pmcraid_slave_alloc() argument 146 pinstance = shost_priv(scsi_dev->host); in pmcraid_slave_alloc() 177 if (bus == scsi_dev->channel && in pmcraid_slave_alloc() 178 target == scsi_dev->id && in pmcraid_slave_alloc() 179 lun == scsi_dev->lun) { in pmcraid_slave_alloc() 186 res->scsi_dev = scsi_dev; in pmcraid_slave_alloc() 187 scsi_dev->hostdata = res; in pmcraid_slave_alloc() 210 static int pmcraid_slave_configure(struct scsi_device *scsi_dev) in pmcraid_slave_configure() argument 212 struct pmcraid_resource_entry *res = scsi_dev->hostdata; in pmcraid_slave_configure() 219 scsi_dev->type != TYPE_ENCLOSURE) in pmcraid_slave_configure() [all …]
|
D | pmcraid.h | 800 struct scsi_device *scsi_dev; /* Link scsi_device structure */ member
|
/drivers/scsi/esas2r/ |
D | esas2r_main.c | 1634 struct scsi_device *scsi_dev; in esas2r_add_device() local 1636 scsi_dev = scsi_device_lookup(a->host, 0, target_id, 0); in esas2r_add_device() 1638 if (scsi_dev) { in esas2r_add_device() 1641 &(scsi_dev-> in esas2r_add_device() 1645 scsi_device_put(scsi_dev); in esas2r_add_device() 1668 struct scsi_device *scsi_dev; in esas2r_remove_device() local 1670 scsi_dev = scsi_device_lookup(a->host, 0, target_id, 0); in esas2r_remove_device() 1672 if (scsi_dev) { in esas2r_remove_device() 1673 scsi_device_set_state(scsi_dev, SDEV_OFFLINE); in esas2r_remove_device() 1677 &(scsi_dev-> in esas2r_remove_device() [all …]
|
/drivers/scsi/libsas/ |
D | sas_scsi_host.c | 843 int sas_slave_configure(struct scsi_device *scsi_dev) in sas_slave_configure() argument 845 struct domain_device *dev = sdev_to_domain_dev(scsi_dev); in sas_slave_configure() 850 ata_sas_slave_configure(scsi_dev, dev->sata_dev.ap); in sas_slave_configure() 854 sas_read_port_mode_page(scsi_dev); in sas_slave_configure() 856 if (scsi_dev->tagged_supported) { in sas_slave_configure() 857 scsi_change_queue_depth(scsi_dev, SAS_DEF_QD); in sas_slave_configure() 860 SAS_ADDR(dev->sas_addr), scsi_dev->lun); in sas_slave_configure() 861 scsi_change_queue_depth(scsi_dev, 1); in sas_slave_configure() 864 scsi_dev->allow_restart = 1; in sas_slave_configure() 884 int sas_bios_param(struct scsi_device *scsi_dev, in sas_bios_param() argument
|