scsi_dev 1632 drivers/scsi/esas2r/esas2r_main.c struct scsi_device *scsi_dev; scsi_dev 1634 drivers/scsi/esas2r/esas2r_main.c scsi_dev = scsi_device_lookup(a->host, 0, target_id, 0); scsi_dev 1636 drivers/scsi/esas2r/esas2r_main.c if (scsi_dev) { scsi_dev 1639 drivers/scsi/esas2r/esas2r_main.c &(scsi_dev-> scsi_dev 1643 drivers/scsi/esas2r/esas2r_main.c scsi_device_put(scsi_dev); scsi_dev 1666 drivers/scsi/esas2r/esas2r_main.c struct scsi_device *scsi_dev; scsi_dev 1668 drivers/scsi/esas2r/esas2r_main.c scsi_dev = scsi_device_lookup(a->host, 0, target_id, 0); scsi_dev 1670 drivers/scsi/esas2r/esas2r_main.c if (scsi_dev) { scsi_dev 1671 drivers/scsi/esas2r/esas2r_main.c scsi_device_set_state(scsi_dev, SDEV_OFFLINE); scsi_dev 1675 drivers/scsi/esas2r/esas2r_main.c &(scsi_dev-> scsi_dev 1680 drivers/scsi/esas2r/esas2r_main.c scsi_remove_device(scsi_dev); scsi_dev 1684 drivers/scsi/esas2r/esas2r_main.c &(scsi_dev-> scsi_dev 1688 drivers/scsi/esas2r/esas2r_main.c scsi_device_put(scsi_dev); scsi_dev 838 drivers/scsi/libsas/sas_scsi_host.c int sas_slave_configure(struct scsi_device *scsi_dev) scsi_dev 840 drivers/scsi/libsas/sas_scsi_host.c struct domain_device *dev = sdev_to_domain_dev(scsi_dev); scsi_dev 845 drivers/scsi/libsas/sas_scsi_host.c ata_sas_slave_configure(scsi_dev, dev->sata_dev.ap); scsi_dev 849 drivers/scsi/libsas/sas_scsi_host.c sas_read_port_mode_page(scsi_dev); scsi_dev 851 drivers/scsi/libsas/sas_scsi_host.c if (scsi_dev->tagged_supported) { scsi_dev 852 drivers/scsi/libsas/sas_scsi_host.c scsi_change_queue_depth(scsi_dev, SAS_DEF_QD); scsi_dev 855 drivers/scsi/libsas/sas_scsi_host.c SAS_ADDR(dev->sas_addr), scsi_dev->lun); scsi_dev 856 drivers/scsi/libsas/sas_scsi_host.c scsi_change_queue_depth(scsi_dev, 1); scsi_dev 859 drivers/scsi/libsas/sas_scsi_host.c scsi_dev->allow_restart = 1; scsi_dev 876 drivers/scsi/libsas/sas_scsi_host.c int sas_bios_param(struct scsi_device *scsi_dev, scsi_dev 137 drivers/scsi/pmcraid.c static int pmcraid_slave_alloc(struct scsi_device *scsi_dev) scsi_dev 146 drivers/scsi/pmcraid.c pinstance = shost_priv(scsi_dev->host); scsi_dev 177 drivers/scsi/pmcraid.c if (bus == scsi_dev->channel && scsi_dev 178 drivers/scsi/pmcraid.c target == scsi_dev->id && scsi_dev 179 drivers/scsi/pmcraid.c lun == scsi_dev->lun) { scsi_dev 186 drivers/scsi/pmcraid.c res->scsi_dev = scsi_dev; scsi_dev 187 drivers/scsi/pmcraid.c scsi_dev->hostdata = res; scsi_dev 210 drivers/scsi/pmcraid.c static int pmcraid_slave_configure(struct scsi_device *scsi_dev) scsi_dev 212 drivers/scsi/pmcraid.c struct pmcraid_resource_entry *res = scsi_dev->hostdata; scsi_dev 219 drivers/scsi/pmcraid.c scsi_dev->type != TYPE_ENCLOSURE) scsi_dev 223 drivers/scsi/pmcraid.c scsi_dev->host->unique_id, scsi_dev 224 drivers/scsi/pmcraid.c scsi_dev->channel, scsi_dev 225 drivers/scsi/pmcraid.c scsi_dev->id, scsi_dev 226 drivers/scsi/pmcraid.c (u8)scsi_dev->lun); scsi_dev 229 drivers/scsi/pmcraid.c scsi_dev->allow_restart = 1; scsi_dev 231 drivers/scsi/pmcraid.c scsi_dev->allow_restart = 1; scsi_dev 232 drivers/scsi/pmcraid.c blk_queue_rq_timeout(scsi_dev->request_queue, scsi_dev 234 drivers/scsi/pmcraid.c blk_queue_max_hw_sectors(scsi_dev->request_queue, scsi_dev 242 drivers/scsi/pmcraid.c scsi_dev->tagged_supported = 0; scsi_dev 258 drivers/scsi/pmcraid.c static void pmcraid_slave_destroy(struct scsi_device *scsi_dev) scsi_dev 262 drivers/scsi/pmcraid.c res = (struct pmcraid_resource_entry *)scsi_dev->hostdata; scsi_dev 265 drivers/scsi/pmcraid.c res->scsi_dev = NULL; scsi_dev 267 drivers/scsi/pmcraid.c scsi_dev->hostdata = NULL; scsi_dev 278 drivers/scsi/pmcraid.c static int pmcraid_change_queue_depth(struct scsi_device *scsi_dev, int depth) scsi_dev 282 drivers/scsi/pmcraid.c return scsi_change_queue_depth(scsi_dev, depth); scsi_dev 1615 drivers/scsi/pmcraid.c res->scsi_dev = NULL; scsi_dev 1624 drivers/scsi/pmcraid.c if (res->scsi_dev) { scsi_dev 1637 drivers/scsi/pmcraid.c } else if (!res->scsi_dev) { scsi_dev 4310 drivers/scsi/pmcraid.c if (res->change_detected == RES_CHANGE_DEL && res->scsi_dev) { scsi_dev 4311 drivers/scsi/pmcraid.c sdev = res->scsi_dev; scsi_dev 5548 drivers/scsi/pmcraid.c res->scsi_dev = NULL; scsi_dev 5572 drivers/scsi/pmcraid.c if (res->scsi_dev) { scsi_dev 800 drivers/scsi/pmcraid.h struct scsi_device *scsi_dev; /* Link scsi_device structure */ scsi_dev 64 drivers/scsi/ps3rom.c static int ps3rom_slave_configure(struct scsi_device *scsi_dev) scsi_dev 66 drivers/scsi/ps3rom.c struct ps3rom_private *priv = shost_priv(scsi_dev->host); scsi_dev 70 drivers/scsi/ps3rom.c __LINE__, scsi_dev->id, scsi_dev->lun, scsi_dev->channel); scsi_dev 76 drivers/scsi/ps3rom.c scsi_dev->use_10_for_ms = 1; scsi_dev 79 drivers/scsi/ps3rom.c scsi_dev->use_10_for_rw = 1;