Lines Matching defs:sdev
670 ahd_linux_slave_alloc(struct scsi_device *sdev)
673 *((struct ahd_softc **)sdev->host->hostdata);
677 printk("%s: Slave Alloc %d\n", ahd_name(ahd), sdev->id);
679 dev = scsi_transport_device_data(sdev);
699 ahd_linux_slave_configure(struct scsi_device *sdev)
702 sdev_printk(KERN_INFO, sdev, "Slave Configure\n");
704 ahd_linux_device_queue_depth(sdev);
707 if (!spi_initial_dv(sdev->sdev_target))
708 spi_dv_device(sdev);
718 ahd_linux_biosparam(struct scsi_device *sdev, struct block_device *bdev,
727 ahd = *((struct ahd_softc **)sdev->host->hostdata);
1382 ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev,
1389 if (sdev == NULL)
1392 dev = scsi_transport_device_data(sdev);
1450 scsi_change_queue_depth(sdev,
1460 scsi_change_queue_depth(sdev, 1);
1507 ahd_linux_device_queue_depth(struct scsi_device *sdev)
1511 struct ahd_softc *ahd = *((struct ahd_softc **)sdev->host->hostdata);
1515 sdev->sdev_target->id, sdev->lun,
1516 sdev->sdev_target->channel == 0 ? 'A' : 'B',
1519 if (tags != 0 && sdev->tagged_supported != 0) {
1521 ahd_platform_set_tags(ahd, sdev, &devinfo, AHD_QUEUE_TAGGED);
1527 ahd_platform_set_tags(ahd, sdev, &devinfo, AHD_QUEUE_NONE);
1864 struct scsi_device *sdev, struct scb *scb)
1867 struct ahd_linux_device *dev = scsi_transport_device_data(sdev);
1871 sdev->sdev_target->id, sdev->lun,
1872 sdev->sdev_target->channel == 0 ? 'A' : 'B',
1991 ahd_platform_set_tags(ahd, sdev, &devinfo,
2001 ahd_platform_set_tags(ahd, sdev, &devinfo,