Home
last modified time | relevance | path

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

/linux/drivers/scsi/
H A D53c700.h107 static inline char *NCR_700_get_sense_cmnd(struct scsi_device *SDp) in NCR_700_get_sense_cmnd() argument
109 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_get_sense_cmnd()
115 NCR_700_set_depth(struct scsi_device *SDp, __u8 depth) in NCR_700_set_depth() argument
117 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_set_depth()
122 NCR_700_get_depth(struct scsi_device *SDp) in NCR_700_get_depth() argument
124 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_get_depth()
129 NCR_700_is_flag_set(struct scsi_device *SDp, __u32 flag) in NCR_700_is_flag_set() argument
131 return (spi_flags(SDp->sdev_target) & flag) == flag; in NCR_700_is_flag_set()
134 NCR_700_is_flag_clear(struct scsi_device *SDp, __u32 flag) in NCR_700_is_flag_clear() argument
136 return (spi_flags(SDp->sdev_target) & flag) == 0; in NCR_700_is_flag_clear()
[all …]
H A D53c700.c261 NCR_700_get_SXFER(struct scsi_device *SDp) in NCR_700_get_SXFER() argument
264 (struct NCR_700_Host_Parameters *)SDp->host->hostdata[0]; in NCR_700_get_SXFER()
267 spi_offset(SDp->sdev_target), in NCR_700_get_SXFER()
268 spi_period(SDp->sdev_target)); in NCR_700_get_SXFER()
1105 struct scsi_device *SDp; in process_script_interrupt() local
1113 SDp = __scsi_device_lookup(host, 0, reselection_id, lun); in process_script_interrupt()
1114 if(unlikely(SDp == NULL)) { in process_script_interrupt()
1122 SCp = scsi_host_find_tag(SDp->host, hostdata->msgin[2]); in process_script_interrupt()
1130 DDEBUG(KERN_DEBUG, SDp, in process_script_interrupt()
1134 struct NCR_700_Device_Parameters *p = SDp->hostdata; in process_script_interrupt()
[all …]
H A Dst.c295 static char * st_incompatible(struct scsi_device* SDp) in st_incompatible() argument
300 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) && in st_incompatible()
301 !strncmp(rp->model, SDp->model, strlen(rp->model)) && in st_incompatible()
302 !strncmp(rp->rev, SDp->rev, strlen(rp->rev))) { in st_incompatible()
4247 struct scsi_device *SDp = to_scsi_device(dev); in st_probe() local
4254 if (SDp->type != TYPE_TAPE) in st_probe()
4256 if (st_incompatible(SDp)) { in st_probe()
4257 sdev_printk(KERN_INFO, SDp, in st_probe()
4259 sdev_printk(KERN_INFO, SDp, in st_probe()
4264 scsi_autopm_get_device(SDp); in st_probe()
[all …]