Lines Matching refs:dev
198 blk_pointer = dma_alloc_coherent(&adapter->pci_device->dev, in blogic_create_initccbs()
224 dma_free_coherent(&adapter->pci_device->dev, in blogic_destroy_ccbs()
231 dma_free_coherent(&adapter->pci_device->dev, in blogic_destroy_ccbs()
254 blk_pointer = dma_alloc_coherent(&adapter->pci_device->dev, in blogic_create_addlccbs()
316 dma_unmap_single(&adapter->pci_device->dev, ccb->sensedata, in blogic_dealloc_ccb()
584 (probeinfo1->dev > probeinfo2->dev))) { in blogic_sort_probeinfo()
653 if (dma_set_mask(&pci_device->dev, DMA_BIT_MASK(32))) in blogic_init_mm_probeinfo()
744 pr_probeinfo->dev = device; in blogic_init_mm_probeinfo()
756 probeinfo->dev = device; in blogic_init_mm_probeinfo()
794 if (dma_set_mask(&pci_device->dev, DMA_BIT_MASK(32))) in blogic_init_mm_probeinfo()
812 probeinfo->dev = device; in blogic_init_mm_probeinfo()
851 if (dma_set_mask(&pci_device->dev, DMA_BIT_MASK(32))) in blogic_init_fp_probeinfo()
887 probeinfo->dev = device; in blogic_init_fp_probeinfo()
996 …d I/O Address 0x%lX PCI Address 0x%lX:\n", adapter, adapter->bus, adapter->dev, adapter->io_addr, … in blogic_failure()
1026 … FlashPoint Host Adapter detected at PCI Bus %d Device %d\n", adapter, adapter->bus, adapter->dev); in blogic_probe()
1720 adapter->bus, adapter->dev); in blogic_reportconfig()
1887 dma_free_coherent(&adapter->pci_device->dev, adapter->mbox_sz, in blogic_relres()
1939 adapter->mbox_space = dma_alloc_coherent(&adapter->pci_device->dev, in blogic_initadapter()
2162 static int blogic_slaveconfig(struct scsi_device *dev) in blogic_slaveconfig() argument
2165 (struct blogic_adapter *) dev->host->hostdata; in blogic_slaveconfig()
2166 int tgt_id = dev->id; in blogic_slaveconfig()
2174 scsi_change_queue_depth(dev, qdepth); in blogic_slaveconfig()
2179 scsi_change_queue_depth(dev, qdepth); in blogic_slaveconfig()
2247 myadapter->dev = probeinfo->dev; in blogic_init()
2361 ? &myadapter->pci_device->dev in blogic_init()
3040 sense_buf = dma_map_single(&adapter->pci_device->dev, in blogic_qcmd_lck()
3043 if (dma_mapping_error(&adapter->pci_device->dev, sense_buf)) { in blogic_qcmd_lck()
3241 static int blogic_diskparam(struct scsi_device *sdev, struct block_device *dev, in blogic_diskparam() argument
3262 buf = scsi_bios_ptable(dev); in blogic_diskparam()