Lines Matching refs:scsi_dev
2417 struct scsi_device *scsi_dev; local
2447 scsi_dev = malloc(sizeof(struct scsi_device), M_DEVBUF, M_WAITOK);
2448 scsi_dev->host = ahc->platform_data->host;
2449 scsi_dev->id = devinfo.target;
2450 scsi_dev->lun = devinfo.lun;
2451 scsi_dev->channel = devinfo.channel - 'A';
2452 ahc->platform_data->dv_scsi_dev = scsi_dev;
4083 Scsi_Device *scsi_dev;
4089 for (scsi_dev = ahc->platform_data->host->host_queue;
4090 scsi_dev != NULL; scsi_dev = scsi_dev->next) {
4091 if (channel - 'A' == scsi_dev->channel
4092 && target == scsi_dev->id
4094 || lun == scsi_dev->lun)) {
4095 scsi_dev->was_reset = 1;
4096 scsi_dev->expecting_cc_ua = 1;