Lines Matching refs:scmd
3020 static int pmcraid_eh_device_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_device_reset_handler() argument
3022 scmd_printk(KERN_INFO, scmd, in pmcraid_eh_device_reset_handler()
3024 return pmcraid_reset_device(scmd->device, in pmcraid_eh_device_reset_handler()
3029 static int pmcraid_eh_bus_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_bus_reset_handler() argument
3031 struct Scsi_Host *host = scmd->device->host; in pmcraid_eh_bus_reset_handler()
3045 if (scmd->device->channel == PMCRAID_VSET_BUS_ID && in pmcraid_eh_bus_reset_handler()
3049 } else if (scmd->device->channel == PMCRAID_PHYS_BUS_ID && in pmcraid_eh_bus_reset_handler()
3068 static int pmcraid_eh_target_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_target_reset_handler() argument
3070 struct Scsi_Host *shost = scmd->device->host; in pmcraid_eh_target_reset_handler()
3075 if ((tmp->channel == scmd->device->channel) && in pmcraid_eh_target_reset_handler()
3076 (tmp->id == scmd->device->id)) { in pmcraid_eh_target_reset_handler()
3102 static int pmcraid_eh_host_reset_handler(struct scsi_cmnd *scmd) in pmcraid_eh_host_reset_handler() argument
3107 (struct pmcraid_instance *)(scmd->device->host->hostdata); in pmcraid_eh_host_reset_handler()