Lines Matching defs:device

351     scp->device = sdev;
404 static bool gdth_search_vortex(u16 device)
406 if (device <= PCI_DEVICE_ID_VORTEX_GDT6555)
408 if (device >= PCI_DEVICE_ID_VORTEX_GDT6x17RP &&
409 device <= PCI_DEVICE_ID_VORTEX_GDTMAXRP)
411 if (device == PCI_DEVICE_ID_VORTEX_GDTNEWRX ||
412 device == PCI_DEVICE_ID_VORTEX_GDTNEWRX2)
455 u16 device = pdev->device;
461 TRACE(("gdth_search_dev() cnt %d vendor %x device %x\n",
462 gdth_ctr_count, vendor, device));
466 if (vendor == PCI_VENDOR_ID_VORTEX && !gdth_search_vortex(device))
481 if (device <= PCI_DEVICE_ID_VORTEX_GDT6000B || /* GDT6000/B */
482 device >= PCI_DEVICE_ID_VORTEX_GDT6x17RP) { /* MPR */
525 ha->stype = (u32)pdev->device;
529 if (ha->pdev->device <= PCI_DEVICE_ID_VORTEX_GDT6000B) { /* GDT6000/B */
635 } else if (ha->pdev->device <= PCI_DEVICE_ID_VORTEX_GDT6555) { /* GDT6110, ... */
1508 /* get informations about device */
1599 b = nscp->device->channel;
1600 t = nscp->device->id;
1601 l = nscp->device->lun;
1880 t = scp->device->id;
2146 t = scp->device->id;
2147 l = scp->device->lun;
2723 b = scp->device->channel;
2724 t = scp->device->id;
2919 "GDT HA %u, Fault bus %u, ID %u: invalid device detected",
3177 switch (ha->pdev->device) {
3199 gdth_ha_str *ha = shost_priv(scp->device->host);
3206 b = scp->device->channel;
3207 t = scp->device->id;
3232 gdth_ha_str *ha = shost_priv(scp->device->host);
3240 b = scp->device->channel;
3246 if (!SPECIAL_SCP(cmnd) && cmnd->device->channel == b)
3296 /* raw device or host drive without mapping information */
3314 gdth_ha_str *ha = shost_priv(scp->device->host);
3858 ctrt.device_id = ha->pdev->device;
3922 scp->device = ha->sdev;
3924 scp->device->channel = res.number;
4071 ha->tid_cnt = pdev->device >= 0x200 ? MAXID : MAX_HDRIVES;
4080 printk("GDT-PCI %d: Error during device scan\n", ha->hanum);