Searched refs:scsi_dev (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/scsi/ |
H A 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()
|
H A D | pmcraid.c | 139 static int pmcraid_slave_alloc(struct scsi_device *scsi_dev) in pmcraid_slave_alloc() argument 148 pinstance = shost_priv(scsi_dev->host); in pmcraid_slave_alloc() 179 if (bus == scsi_dev->channel && in pmcraid_slave_alloc() 180 target == scsi_dev->id && in pmcraid_slave_alloc() 181 lun == scsi_dev->lun) { in pmcraid_slave_alloc() 188 res->scsi_dev = scsi_dev; in pmcraid_slave_alloc() 189 scsi_dev->hostdata = res; in pmcraid_slave_alloc() 213 static int pmcraid_device_configure(struct scsi_device *scsi_dev, in pmcraid_device_configure() argument 216 struct pmcraid_resource_entry *res = scsi_dev->hostdata; in pmcraid_device_configure() 223 scsi_dev->type != TYPE_ENCLOSURE) in pmcraid_device_configure() [all …]
|
H A D | pmcraid.h | 800 struct scsi_device *scsi_dev; /* Link scsi_device structure */ member
|
/linux/drivers/scsi/esas2r/ |
H A D | esas2r_main.c | 1637 struct scsi_device *scsi_dev; in esas2r_add_device() local 1639 scsi_dev = scsi_device_lookup(a->host, 0, target_id, 0); in esas2r_add_device() 1641 if (scsi_dev) { in esas2r_add_device() 1644 &(scsi_dev-> in esas2r_add_device() 1648 scsi_device_put(scsi_dev); in esas2r_add_device() 1671 struct scsi_device *scsi_dev; in esas2r_remove_device() local 1673 scsi_dev = scsi_device_lookup(a->host, 0, target_id, 0); in esas2r_remove_device() 1675 if (scsi_dev) { in esas2r_remove_device() 1676 scsi_device_set_state(scsi_dev, SDEV_OFFLINE); in esas2r_remove_device() 1680 &(scsi_dev-> in esas2r_remove_device() [all …]
|
/linux/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | 807 int sas_device_configure(struct scsi_device *scsi_dev, in sas_device_configure() argument 810 struct domain_device *dev = sdev_to_domain_dev(scsi_dev); in sas_device_configure() 815 ata_sas_device_configure(scsi_dev, lim, dev->sata_dev.ap); in sas_device_configure() 819 sas_read_port_mode_page(scsi_dev); in sas_device_configure() 821 if (scsi_dev->tagged_supported) { in sas_device_configure() 822 scsi_change_queue_depth(scsi_dev, SAS_DEF_QD); in sas_device_configure() 825 SAS_ADDR(dev->sas_addr), scsi_dev->lun); in sas_device_configure() 826 scsi_change_queue_depth(scsi_dev, 1); in sas_device_configure() 829 scsi_dev->allow_restart = 1; in sas_device_configure() 848 int sas_bios_param(struct scsi_device *scsi_dev, in sas_bios_param() argument
|