Home
last modified time | relevance | path

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

/drivers/scsi/
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 …]
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 …]
Dst.c296 static char * st_incompatible(struct scsi_device* SDp) in st_incompatible() argument
301 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) && in st_incompatible()
302 !strncmp(rp->model, SDp->model, strlen(rp->model)) && in st_incompatible()
303 !strncmp(rp->rev, SDp->rev, strlen(rp->rev))) { in st_incompatible()
4245 struct scsi_device *SDp = to_scsi_device(dev); in st_probe() local
4252 if (SDp->type != TYPE_TAPE) in st_probe()
4254 if (st_incompatible(SDp)) { in st_probe()
4255 sdev_printk(KERN_INFO, SDp, in st_probe()
4257 sdev_printk(KERN_INFO, SDp, in st_probe()
4262 scsi_autopm_get_device(SDp); in st_probe()
[all …]