Lines Matching refs:sdev

672 ahd_linux_slave_alloc(struct scsi_device *sdev)  in ahd_linux_slave_alloc()  argument
675 *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_slave_alloc()
679 printk("%s: Slave Alloc %d\n", ahd_name(ahd), sdev->id); in ahd_linux_slave_alloc()
681 dev = scsi_transport_device_data(sdev); in ahd_linux_slave_alloc()
701 ahd_linux_slave_configure(struct scsi_device *sdev) in ahd_linux_slave_configure() argument
705 ahd = *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_slave_configure()
707 sdev_printk(KERN_INFO, sdev, "Slave Configure\n"); in ahd_linux_slave_configure()
709 ahd_linux_device_queue_depth(sdev); in ahd_linux_slave_configure()
712 if (!spi_initial_dv(sdev->sdev_target)) in ahd_linux_slave_configure()
713 spi_dv_device(sdev); in ahd_linux_slave_configure()
723 ahd_linux_biosparam(struct scsi_device *sdev, struct block_device *bdev, in ahd_linux_biosparam() argument
734 ahd = *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_biosparam()
1403 ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev, in ahd_platform_set_tags() argument
1410 if (sdev == NULL) in ahd_platform_set_tags()
1413 dev = scsi_transport_device_data(sdev); in ahd_platform_set_tags()
1471 scsi_change_queue_depth(sdev, in ahd_platform_set_tags()
1481 scsi_change_queue_depth(sdev, 1); in ahd_platform_set_tags()
1528 ahd_linux_device_queue_depth(struct scsi_device *sdev) in ahd_linux_device_queue_depth() argument
1532 struct ahd_softc *ahd = *((struct ahd_softc **)sdev->host->hostdata); in ahd_linux_device_queue_depth()
1536 sdev->sdev_target->id, sdev->lun, in ahd_linux_device_queue_depth()
1537 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahd_linux_device_queue_depth()
1540 if (tags != 0 && sdev->tagged_supported != 0) { in ahd_linux_device_queue_depth()
1542 ahd_platform_set_tags(ahd, sdev, &devinfo, AHD_QUEUE_TAGGED); in ahd_linux_device_queue_depth()
1548 ahd_platform_set_tags(ahd, sdev, &devinfo, AHD_QUEUE_NONE); in ahd_linux_device_queue_depth()
1883 struct scsi_device *sdev, struct scb *scb) in ahd_linux_handle_scsi_status() argument
1886 struct ahd_linux_device *dev = scsi_transport_device_data(sdev); in ahd_linux_handle_scsi_status()
1890 sdev->sdev_target->id, sdev->lun, in ahd_linux_handle_scsi_status()
1891 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahd_linux_handle_scsi_status()
2010 ahd_platform_set_tags(ahd, sdev, &devinfo, in ahd_linux_handle_scsi_status()
2020 ahd_platform_set_tags(ahd, sdev, &devinfo, in ahd_linux_handle_scsi_status()