Lines Matching refs:adpt_device
385 struct adpt_device* pDev = NULL; /* dpt per device information */
423 if((pDev = (struct adpt_device*) (cmd->device->hostdata)) == NULL) {
513 struct adpt_device* d;
644 struct adpt_device* dptdevice; /* dpt per device information */
692 struct adpt_device* d = cmd->device->hostdata;
1029 struct adpt_device* pDev;
1030 struct adpt_device* pNext;
1098 static struct adpt_device* adpt_find_device(adpt_hba* pHba, u32 chan, u32 id, u32 lun)
1100 struct adpt_device* d;
1391 struct adpt_device* pDev;
1486 // Setup adpt_device table
1506 pDev = kzalloc(sizeof(struct adpt_device),GFP_KERNEL);
1515 pDev->next_lun = kzalloc(sizeof(struct adpt_device),GFP_KERNEL);
2073 static s32 adpt_scsi_to_i2o(adpt_hba* pHba, struct scsi_cmnd* cmd, struct adpt_device* d)
2332 ((struct adpt_device*)(cmd->device->hostdata))->tid, cmd->cmnd[0]);
2373 struct adpt_device* pDev = NULL;
2387 pDev =(struct adpt_device*) d->owner;
2443 pDev = kzalloc(sizeof(struct adpt_device),GFP_KERNEL);
2452 pDev = pDev->next_lun = kzalloc(sizeof(struct adpt_device),GFP_KERNEL);
2503 pDev =(struct adpt_device*) pI2o_dev->owner;