Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/
D53c700.h108 static inline char *NCR_700_get_sense_cmnd(struct scsi_device *SDp) in NCR_700_get_sense_cmnd() argument
110 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_get_sense_cmnd()
116 NCR_700_set_depth(struct scsi_device *SDp, __u8 depth) in NCR_700_set_depth() argument
118 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_set_depth()
123 NCR_700_get_depth(struct scsi_device *SDp) in NCR_700_get_depth() argument
125 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_get_depth()
130 NCR_700_is_flag_set(struct scsi_device *SDp, __u32 flag) in NCR_700_is_flag_set() argument
132 return (spi_flags(SDp->sdev_target) & flag) == flag; in NCR_700_is_flag_set()
135 NCR_700_is_flag_clear(struct scsi_device *SDp, __u32 flag) in NCR_700_is_flag_clear() argument
137 return (spi_flags(SDp->sdev_target) & flag) == 0; in NCR_700_is_flag_clear()
[all …]
D53c700.c262 NCR_700_get_SXFER(struct scsi_device *SDp) in NCR_700_get_SXFER() argument
265 (struct NCR_700_Host_Parameters *)SDp->host->hostdata[0]; in NCR_700_get_SXFER()
268 spi_offset(SDp->sdev_target), in NCR_700_get_SXFER()
269 spi_period(SDp->sdev_target)); in NCR_700_get_SXFER()
1079 struct scsi_device *SDp; in process_script_interrupt() local
1087 SDp = __scsi_device_lookup(host, 0, reselection_id, lun); in process_script_interrupt()
1088 if(unlikely(SDp == NULL)) { in process_script_interrupt()
1096 SCp = scsi_host_find_tag(SDp->host, hostdata->msgin[2]); in process_script_interrupt()
1104 DDEBUG(KERN_DEBUG, SDp, in process_script_interrupt()
1108 struct NCR_700_Device_Parameters *p = SDp->hostdata; 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()
4257 struct scsi_device *SDp = to_scsi_device(dev); in st_probe() local
4266 if (SDp->type != TYPE_TAPE) in st_probe()
4268 if ((stp = st_incompatible(SDp))) { in st_probe()
4269 sdev_printk(KERN_INFO, SDp, in st_probe()
4271 sdev_printk(KERN_INFO, SDp, in st_probe()
4276 scsi_autopm_get_device(SDp); in st_probe()
[all …]