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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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.c278 NCR_700_get_SXFER(struct scsi_device *SDp) argument
281 (struct NCR_700_Host_Parameters *)SDp->host->hostdata[0];
284 spi_offset(SDp->sdev_target),
285 spi_period(SDp->sdev_target));
1111 struct scsi_device *SDp; local
1119 SDp = __scsi_device_lookup(host, 0, reselection_id, lun);
1120 if(unlikely(SDp == NULL)) {
1126 struct scsi_cmnd *SCp = scsi_find_tag(SDp, hostdata->msgin[2]);
1134 DDEBUG(KERN_DEBUG, SDp,
1138 struct scsi_cmnd *SCp = scsi_find_tag(SDp, SCSI_NO_TA
1547 struct scsi_device *SDp; local
2035 NCR_700_slave_alloc(struct scsi_device *SDp) argument
2047 NCR_700_slave_configure(struct scsi_device *SDp) argument
2073 NCR_700_slave_destroy(struct scsi_device *SDp) argument
2080 NCR_700_change_queue_depth(struct scsi_device *SDp, int depth) argument
2089 NCR_700_change_queue_type(struct scsi_device *SDp, int tag_type) argument
2126 struct scsi_device *SDp = to_scsi_device(dev); local
[all...]
H A Dst.c290 static char * st_incompatible(struct scsi_device* SDp)
295 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) &&
296 !strncmp(rp->model, SDp->model, strlen(rp->model)) &&
297 !strncmp(rp->rev, SDp->rev, strlen(rp->rev))) {
3899 struct scsi_device *SDp = to_scsi_device(dev);
3909 if (SDp->type != TYPE_TAPE)
3911 if ((stp = st_incompatible(SDp))) {
3912 sdev_printk(KERN_INFO, SDp, "Found incompatible tape\n");
3917 i = min(SDp->request_queue->max_hw_segments,
3918 SDp
289 st_incompatible(struct scsi_device* SDp) argument
3883 struct scsi_device *SDp = to_scsi_device(dev); local
4107 struct scsi_device *SDp = to_scsi_device(dev); local
[all...]
H A Dosst.c5541 static int osst_supports(struct scsi_device * SDp)
5561 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) &&
5562 !strncmp(rp->model, SDp->model, strlen(rp->model)) &&
5563 !strncmp(rp->rev, SDp->rev, strlen(rp->rev)))
5739 struct scsi_device * SDp = to_scsi_device(dev);
5747 if (SDp->type != TYPE_TAPE || !osst_supports(SDp))
5791 i = SDp->host->sg_tablesize;
5794 buffer = new_tape_buffer(1, SDp->host->unchecked_isa_dma, i);
5803 tpnt->device = SDp;
5535 osst_supports(struct scsi_device * SDp) argument
5733 struct scsi_device * SDp = to_scsi_device(dev); local
5900 struct scsi_device * SDp = to_scsi_device(dev); local
[all...]

Completed in 276 milliseconds