Lines Matching refs:scsi_dev
2750 struct scsi_device *scsi_dev; local
2778 scsi_dev = malloc(sizeof(struct scsi_device), M_DEVBUF, M_WAITOK);
2779 scsi_dev->host = ahd->platform_data->host;
2780 scsi_dev->id = devinfo.target;
2781 scsi_dev->lun = devinfo.lun;
2782 scsi_dev->channel = devinfo.channel - 'A';
2783 ahd->platform_data->dv_scsi_dev = scsi_dev;
4391 Scsi_Device *scsi_dev;
4397 for (scsi_dev = ahd->platform_data->host->host_queue;
4398 scsi_dev != NULL; scsi_dev = scsi_dev->next) {
4399 if (channel - 'A' == scsi_dev->channel
4400 && target == scsi_dev->id
4402 || lun == scsi_dev->lun)) {
4403 scsi_dev->was_reset = 1;
4404 scsi_dev->expecting_cc_ua = 1;