Lines Matching refs:sdev

2090 mptscsih_bios_param(struct scsi_device * sdev, struct block_device *bdev,  in mptscsih_bios_param()  argument
2288 mptscsih_slave_destroy(struct scsi_device *sdev) in mptscsih_slave_destroy() argument
2290 struct Scsi_Host *host = sdev->host; in mptscsih_slave_destroy()
2296 starget = scsi_target(sdev); in mptscsih_slave_destroy()
2298 vdevice = sdev->hostdata; in mptscsih_slave_destroy()
2306 sdev->hostdata = NULL; in mptscsih_slave_destroy()
2318 mptscsih_change_queue_depth(struct scsi_device *sdev, int qdepth) in mptscsih_change_queue_depth() argument
2320 MPT_SCSI_HOST *hd = shost_priv(sdev->host); in mptscsih_change_queue_depth()
2326 starget = scsi_target(sdev); in mptscsih_change_queue_depth()
2332 else if (sdev->type == TYPE_DISK && in mptscsih_change_queue_depth()
2340 if (!sdev->tagged_supported) in mptscsih_change_queue_depth()
2346 return scsi_change_queue_depth(sdev, qdepth); in mptscsih_change_queue_depth()
2356 mptscsih_slave_configure(struct scsi_device *sdev) in mptscsih_slave_configure() argument
2358 struct Scsi_Host *sh = sdev->host; in mptscsih_slave_configure()
2365 starget = scsi_target(sdev); in mptscsih_slave_configure()
2367 vdevice = sdev->hostdata; in mptscsih_slave_configure()
2371 ioc->name, sdev, sdev->channel, sdev->id, sdev->lun)); in mptscsih_slave_configure()
2375 ioc->name, sdev->sdtr, sdev->wdtr, in mptscsih_slave_configure()
2376 sdev->ppr, sdev->inquiry_len)); in mptscsih_slave_configure()
2382 ioc->name, sdev->queue_depth, vtarget->tflags)); in mptscsih_slave_configure()
2390 mptscsih_change_queue_depth(sdev, MPT_SCSI_CMD_PER_DEV_HIGH); in mptscsih_slave_configure()
2393 ioc->name,sdev->tagged_supported, sdev->simple_tags)); in mptscsih_slave_configure()
2395 blk_queue_dma_alignment (sdev->request_queue, 512 - 1); in mptscsih_slave_configure()