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

/drivers/scsi/
H A D53c700.h106 static inline char *NCR_700_get_sense_cmnd(struct scsi_device *SDp) argument
108 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata;
114 NCR_700_set_depth(struct scsi_device *SDp, __u8 depth) argument
116 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata;
121 NCR_700_get_depth(struct scsi_device *SDp) argument
123 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata;
128 NCR_700_is_flag_set(struct scsi_device *SDp, __u32 flag) argument
130 return (spi_flags(SDp->sdev_target) & flag) == flag;
133 NCR_700_is_flag_clear(struct scsi_device *SDp, __u32 flag) argument
135 return (spi_flags(SDp
138 NCR_700_set_flag(struct scsi_device *SDp, __u32 flag) argument
143 NCR_700_clear_flag(struct scsi_device *SDp, __u32 flag) argument
155 NCR_700_get_tag_neg_state(struct scsi_device *SDp) argument
161 NCR_700_set_tag_neg_state(struct scsi_device *SDp, enum NCR_700_tag_neg_state state) argument
[all...]
H A D53c700.c276 NCR_700_get_SXFER(struct scsi_device *SDp) argument
279 (struct NCR_700_Host_Parameters *)SDp->host->hostdata[0];
282 spi_offset(SDp->sdev_target),
283 spi_period(SDp->sdev_target));
1099 struct scsi_device *SDp; local
1107 SDp = __scsi_device_lookup(host, 0, reselection_id, lun);
1108 if(unlikely(SDp == NULL)) {
1114 struct scsi_cmnd *SCp = scsi_find_tag(SDp, hostdata->msgin[2]);
1122 DDEBUG(KERN_DEBUG, SDp,
1126 struct scsi_cmnd *SCp = scsi_find_tag(SDp, SCSI_NO_TA
1536 struct scsi_device *SDp; local
2040 NCR_700_slave_alloc(struct scsi_device *SDp) argument
2052 NCR_700_slave_configure(struct scsi_device *SDp) argument
2078 NCR_700_slave_destroy(struct scsi_device *SDp) argument
2085 NCR_700_change_queue_depth(struct scsi_device *SDp, int depth, int reason) argument
2097 NCR_700_change_queue_type(struct scsi_device *SDp, int tag_type) argument
2134 struct scsi_device *SDp = to_scsi_device(dev); local
[all...]
H A Dst.c287 static char * st_incompatible(struct scsi_device* SDp)
292 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) &&
293 !strncmp(rp->model, SDp->model, strlen(rp->model)) &&
294 !strncmp(rp->rev, SDp->rev, strlen(rp->rev))) {
4106 struct scsi_device *SDp = to_scsi_device(dev);
4115 if (SDp->type != TYPE_TAPE)
4117 if ((stp = st_incompatible(SDp))) {
4118 sdev_printk(KERN_INFO, SDp, "Found incompatible tape\n");
4119 sdev_printk(KERN_INFO, SDp,
4124 scsi_autopm_get_device(SDp);
286 st_incompatible(struct scsi_device* SDp) argument
4090 struct scsi_device *SDp = to_scsi_device(dev); local
[all...]
H A Dosst.c5640 static int osst_supports(struct scsi_device * SDp)
5661 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) &&
5662 !strncmp(rp->model, SDp->model, strlen(rp->model)) &&
5663 !strncmp(rp->rev, SDp->rev, strlen(rp->rev)))
5841 struct scsi_device * SDp = to_scsi_device(dev);
5849 if (SDp->type != TYPE_TAPE || !osst_supports(SDp))
5891 i = SDp->host->sg_tablesize;
5894 buffer = new_tape_buffer(1, SDp->host->unchecked_isa_dma, i);
5903 tpnt->device = SDp;
5634 osst_supports(struct scsi_device * SDp) argument
5835 struct scsi_device * SDp = to_scsi_device(dev); local
6000 struct scsi_device * SDp = to_scsi_device(dev); local
[all...]

Completed in 60 milliseconds