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.c275 NCR_700_get_SXFER(struct scsi_device *SDp) in NCR_700_get_SXFER() argument
278 (struct NCR_700_Host_Parameters *)SDp->host->hostdata[0]; in NCR_700_get_SXFER()
281 spi_offset(SDp->sdev_target), in NCR_700_get_SXFER()
282 spi_period(SDp->sdev_target)); in NCR_700_get_SXFER()
1094 struct scsi_device *SDp; in process_script_interrupt() local
1102 SDp = __scsi_device_lookup(host, 0, reselection_id, lun); in process_script_interrupt()
1103 if(unlikely(SDp == NULL)) { in process_script_interrupt()
1111 SCp = scsi_host_find_tag(SDp->host, hostdata->msgin[2]); in process_script_interrupt()
1119 DDEBUG(KERN_DEBUG, SDp, in process_script_interrupt()
1125 SCp = SDp->current_cmnd; in process_script_interrupt()
[all …]
Dst.c293 static char * st_incompatible(struct scsi_device* SDp) in st_incompatible() argument
298 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) && in st_incompatible()
299 !strncmp(rp->model, SDp->model, strlen(rp->model)) && in st_incompatible()
300 !strncmp(rp->rev, SDp->rev, strlen(rp->rev))) { in st_incompatible()
4152 struct scsi_device *SDp = to_scsi_device(dev); in st_probe() local
4161 if (SDp->type != TYPE_TAPE) in st_probe()
4163 if ((stp = st_incompatible(SDp))) { in st_probe()
4164 sdev_printk(KERN_INFO, SDp, "Found incompatible tape\n"); in st_probe()
4165 sdev_printk(KERN_INFO, SDp, in st_probe()
4170 scsi_autopm_get_device(SDp); in st_probe()
[all …]
Dosst.c5635 static int osst_supports(struct scsi_device * SDp) in osst_supports() argument
5656 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) && in osst_supports()
5657 !strncmp(rp->model, SDp->model, strlen(rp->model)) && in osst_supports()
5658 !strncmp(rp->rev, SDp->rev, strlen(rp->rev))) in osst_supports()
5836 struct scsi_device * SDp = to_scsi_device(dev); in osst_probe() local
5844 if (SDp->type != TYPE_TAPE || !osst_supports(SDp)) in osst_probe()
5886 i = SDp->host->sg_tablesize; in osst_probe()
5889 buffer = new_tape_buffer(1, SDp->host->unchecked_isa_dma, i); in osst_probe()
5898 tpnt->device = SDp; in osst_probe()
5907 tpnt->restr_dma = (SDp->host)->unchecked_isa_dma; in osst_probe()
[all …]