Lines Matching refs:sdev

445 int __gdth_execute(struct scsi_device *sdev, gdth_cmd_str *gdtcmd, char *cmnd,  in __gdth_execute()  argument
448 gdth_ha_str *ha = shost_priv(sdev->host); in __gdth_execute()
464 scp->device = sdev; in __gdth_execute()
491 struct scsi_device *sdev = scsi_get_host_dev(shost); in gdth_execute() local
492 int rval = __gdth_execute(sdev, gdtcmd, cmnd, timeout, info); in gdth_execute()
494 scsi_free_host_dev(sdev); in gdth_execute()
3969 static int gdth_bios_param(struct scsi_device *sdev,struct block_device *bdev,sector_t cap,int *ip) in gdth_bios_param() argument
3972 gdth_ha_str *ha = shost_priv(sdev->host); in gdth_bios_param()
3976 sd = sdev; in gdth_bios_param()
4042 if (!ha->sdev) in gdth_open()
4043 ha->sdev = scsi_get_host_dev(ha->shost); in gdth_open()
4150 rval = __gdth_execute(ha->sdev, &cmd, cmnd, 30, NULL); in ioc_resetdrv()
4266 rval = __gdth_execute(ha->sdev, &gen.command, cmnd, gen.timeout, &gen.info); in ioc_general()
4324 if (__gdth_execute(ha->sdev, cmd, cmnd, 30, &cluster_type) == S_OK) in ioc_hdrlist()
4374 status = __gdth_execute(ha->sdev, cmd, cmnd, 30, &info); in ioc_rescan()
4390 status = __gdth_execute(ha->sdev, cmd, cmnd, 30, &info); in ioc_rescan()
4424 status = __gdth_execute(ha->sdev, cmd, cmnd, 30, &info); in ioc_rescan()
4437 status = __gdth_execute(ha->sdev, cmd, cmnd, 30, &info); in ioc_rescan()
4452 status = __gdth_execute(ha->sdev, cmd, cmnd, 30, &info); in ioc_rescan()
4597 scp->device = ha->sdev; in gdth_ioctl()
4662 static int gdth_slave_configure(struct scsi_device *sdev) in gdth_slave_configure() argument
4664 sdev->skip_ms_page_3f = 1; in gdth_slave_configure()
4665 sdev->skip_ms_page_8 = 1; in gdth_slave_configure()
5109 if (ha->sdev) { in gdth_remove_one()
5110 scsi_free_host_dev(ha->sdev); in gdth_remove_one()
5111 ha->sdev = NULL; in gdth_remove_one()