Searched refs:SDp (Results 1 - 4 of 4) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/ |
H A D | 53c700.h | 106 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 D | 53c700.c | 277 NCR_700_get_SXFER(struct scsi_device *SDp) argument 280 (struct NCR_700_Host_Parameters *)SDp->host->hostdata[0]; 283 spi_offset(SDp->sdev_target), 284 spi_period(SDp->sdev_target)); 1100 struct scsi_device *SDp; local 1108 SDp = __scsi_device_lookup(host, 0, reselection_id, lun); 1109 if(unlikely(SDp == NULL)) { 1115 struct scsi_cmnd *SCp = scsi_find_tag(SDp, hostdata->msgin[2]); 1123 DDEBUG(KERN_DEBUG, SDp, 1127 struct scsi_cmnd *SCp = scsi_find_tag(SDp, SCSI_NO_TA 1535 struct scsi_device *SDp; local 2007 NCR_700_slave_alloc(struct scsi_device *SDp) argument 2019 NCR_700_slave_configure(struct scsi_device *SDp) argument 2045 NCR_700_slave_destroy(struct scsi_device *SDp) argument 2052 NCR_700_change_queue_depth(struct scsi_device *SDp, int depth, int reason) argument 2064 NCR_700_change_queue_type(struct scsi_device *SDp, int tag_type) argument 2101 struct scsi_device *SDp = to_scsi_device(dev); local [all...] |
H A D | st.c | 291 static char * st_incompatible(struct scsi_device* SDp) 296 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) && 297 !strncmp(rp->model, SDp->model, strlen(rp->model)) && 298 !strncmp(rp->rev, SDp->rev, strlen(rp->rev))) { 3985 struct scsi_device *SDp = to_scsi_device(dev); 3995 if (SDp->type != TYPE_TAPE) 3997 if ((stp = st_incompatible(SDp))) { 3998 sdev_printk(KERN_INFO, SDp, "Found incompatible tape\n"); 4003 i = queue_max_segments(SDp->request_queue); 4006 buffer = new_tape_buffer((SDp 290 st_incompatible(struct scsi_device* SDp) argument 3969 struct scsi_device *SDp = to_scsi_device(dev); local 4193 struct scsi_device *SDp = to_scsi_device(dev); local [all...] |
H A D | osst.c | 5634 static int osst_supports(struct scsi_device * SDp) 5654 if (!strncmp(rp->vendor, SDp->vendor, strlen(rp->vendor)) && 5655 !strncmp(rp->model, SDp->model, strlen(rp->model)) && 5656 !strncmp(rp->rev, SDp->rev, strlen(rp->rev))) 5834 struct scsi_device * SDp = to_scsi_device(dev); 5842 if (SDp->type != TYPE_TAPE || !osst_supports(SDp)) 5886 i = SDp->host->sg_tablesize; 5889 buffer = new_tape_buffer(1, SDp->host->unchecked_isa_dma, i); 5898 tpnt->device = SDp; 5628 osst_supports(struct scsi_device * SDp) argument 5828 struct scsi_device * SDp = to_scsi_device(dev); local 5995 struct scsi_device * SDp = to_scsi_device(dev); local [all...] |
Completed in 337 milliseconds