Lines Matching defs:device
15 * - one isapnp device added to id_table
185 * (some problem with this $%&? IBM device remain)
277 (cmd) ? ((cmd)->device->host->host_no) : -1, \
278 (cmd) ? ((cmd)->device->id & 0x0f) : -1, \
279 (cmd) ? ((u8)(cmd)->device->lun & 0x07) : -1
540 #define SYNCRATE (HOSTDATA(shpnt)->syncrate[CURRENT_SC->device->id])
541 #define SYNCNEG (HOSTDATA(shpnt)->syncneg[CURRENT_SC->device->id])
666 ptr && ((ptr->device->id != target) || (ptr->device->lun != lun));
910 struct Scsi_Host *shpnt = SCpnt->device->host;
1006 struct Scsi_Host *shpnt = SCpnt->device->host;
1042 * Reset a device
1047 struct Scsi_Host *shpnt = SCpnt->device->host;
1055 scmd_printk(KERN_ERR, SCpnt, "cannot reset current device\n");
1120 if (!ptr->device->soft_reset) {
1167 return aha152x_bus_reset_host(SCpnt->device->host);
1484 SETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->device->id);
1524 ADDMSGO(IDENTIFY(RECONNECT, CURRENT_SC->device->lun));
1829 ADDMSGO(IDENTIFY(RECONNECT, CURRENT_SC->device->lun));
2251 if (!ptr->device->soft_reset) {
2264 if(CURRENT_SC && !CURRENT_SC->device->soft_reset)
2485 ptr, ptr->device->id, (u8)ptr->device->lun);
2891 static int aha152x_adjust_queue(struct scsi_device *device)
2893 blk_queue_bounce_limit(device->request_queue, BLK_BOUNCE_HIGH);