Home
last modified time | relevance | path

Searched refs:SDp (Results 1 – 4 of 4) sorted by relevance

/drivers/scsi/
D53c700.h106 static inline char *NCR_700_get_sense_cmnd(struct scsi_device *SDp) in NCR_700_get_sense_cmnd() argument
108 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_get_sense_cmnd()
114 NCR_700_set_depth(struct scsi_device *SDp, __u8 depth) in NCR_700_set_depth() argument
116 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_set_depth()
121 NCR_700_get_depth(struct scsi_device *SDp) in NCR_700_get_depth() argument
123 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_get_depth()
128 NCR_700_is_flag_set(struct scsi_device *SDp, __u32 flag) in NCR_700_is_flag_set() argument
130 return (spi_flags(SDp->sdev_target) & flag) == flag; in NCR_700_is_flag_set()
133 NCR_700_is_flag_clear(struct scsi_device *SDp, __u32 flag) in NCR_700_is_flag_clear() argument
135 return (spi_flags(SDp->sdev_target) & flag) == 0; in NCR_700_is_flag_clear()
[all …]
D53c700.c276 NCR_700_get_SXFER(struct scsi_device *SDp) in NCR_700_get_SXFER() argument
279 (struct NCR_700_Host_Parameters *)SDp->host->hostdata[0]; in NCR_700_get_SXFER()
282 spi_offset(SDp->sdev_target), in NCR_700_get_SXFER()
283 spi_period(SDp->sdev_target)); in NCR_700_get_SXFER()
1099 struct scsi_device *SDp; in process_script_interrupt() local
1107 SDp = __scsi_device_lookup(host, 0, reselection_id, lun); in process_script_interrupt()
1108 if(unlikely(SDp == NULL)) { in process_script_interrupt()
1114 struct scsi_cmnd *SCp = scsi_find_tag(SDp, hostdata->msgin[2]); in process_script_interrupt()
1122 DDEBUG(KERN_DEBUG, SDp, in process_script_interrupt()
1126 struct scsi_cmnd *SCp = scsi_find_tag(SDp, SCSI_NO_TAG); in process_script_interrupt()
[all …]
Dst.c286 static char * st_incompatible(struct scsi_device* SDp) in st_incompatible() argument
291 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) && in st_incompatible()
292 !strncmp(rp->model, SDp->model, strlen(rp->model)) && in st_incompatible()
293 !strncmp(rp->rev, SDp->rev, strlen(rp->rev))) { in st_incompatible()
4073 struct scsi_device *SDp = to_scsi_device(dev); in st_probe() local
4082 if (SDp->type != TYPE_TAPE) in st_probe()
4084 if ((stp = st_incompatible(SDp))) { in st_probe()
4085 sdev_printk(KERN_INFO, SDp, "Found incompatible tape\n"); in st_probe()
4090 i = queue_max_segments(SDp->request_queue); in st_probe()
4093 buffer = new_tape_buffer((SDp->host)->unchecked_isa_dma, i); in st_probe()
[all …]
Dosst.c5634 static int osst_supports(struct scsi_device * SDp) in osst_supports() argument
5655 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) && in osst_supports()
5656 !strncmp(rp->model, SDp->model, strlen(rp->model)) && in osst_supports()
5657 !strncmp(rp->rev, SDp->rev, strlen(rp->rev))) in osst_supports()
5835 struct scsi_device * SDp = to_scsi_device(dev); in osst_probe() local
5843 if (SDp->type != TYPE_TAPE || !osst_supports(SDp)) in osst_probe()
5885 i = SDp->host->sg_tablesize; in osst_probe()
5888 buffer = new_tape_buffer(1, SDp->host->unchecked_isa_dma, i); in osst_probe()
5897 tpnt->device = SDp; in osst_probe()
5906 tpnt->restr_dma = (SDp->host)->unchecked_isa_dma; in osst_probe()
[all …]