• Home
  • Raw
  • Download

Lines Matching refs:SDp

261 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()
1138 sdev_printk(KERN_ERR, SDp, in process_script_interrupt()
1537 struct scsi_device *SDp; in NCR_700_intr() local
1548 __shost_for_each_device(SDp, host) in NCR_700_intr()
1549 NCR_700_clear_flag(SDp, ~0); in NCR_700_intr()
2020 NCR_700_slave_alloc(struct scsi_device *SDp) in NCR_700_slave_alloc() argument
2022 SDp->hostdata = kzalloc(sizeof(struct NCR_700_Device_Parameters), in NCR_700_slave_alloc()
2025 if (!SDp->hostdata) in NCR_700_slave_alloc()
2032 NCR_700_slave_configure(struct scsi_device *SDp) in NCR_700_slave_configure() argument
2035 (struct NCR_700_Host_Parameters *)SDp->host->hostdata[0]; in NCR_700_slave_configure()
2038 if(SDp->tagged_supported) { in NCR_700_slave_configure()
2039 scsi_change_queue_depth(SDp, NCR_700_DEFAULT_TAGS); in NCR_700_slave_configure()
2040 NCR_700_set_tag_neg_state(SDp, NCR_700_START_TAG_NEGOTIATION); in NCR_700_slave_configure()
2045 if (!spi_initial_dv(SDp->sdev_target)) in NCR_700_slave_configure()
2046 spi_dv_device(SDp); in NCR_700_slave_configure()
2048 spi_offset(SDp->sdev_target) = 0; in NCR_700_slave_configure()
2049 spi_period(SDp->sdev_target) = 0; in NCR_700_slave_configure()
2055 NCR_700_slave_destroy(struct scsi_device *SDp) in NCR_700_slave_destroy() argument
2057 kfree(SDp->hostdata); in NCR_700_slave_destroy()
2058 SDp->hostdata = NULL; in NCR_700_slave_destroy()
2062 NCR_700_change_queue_depth(struct scsi_device *SDp, int depth) in NCR_700_change_queue_depth() argument
2066 return scsi_change_queue_depth(SDp, depth); in NCR_700_change_queue_depth()
2072 struct scsi_device *SDp = to_scsi_device(dev); in NCR_700_show_active_tags() local
2074 return snprintf(buf, 20, "%d\n", NCR_700_get_depth(SDp)); in NCR_700_show_active_tags()