Lines Matching refs:dev
192 dma_free_coherent(&pm8001_ha->pdev->dev, in pm8001_free()
438 dma_free_coherent(&pm8001_ha->pdev->dev, in pm8001_alloc()
523 pm8001_ha->dev = &pdev->dev; in pm8001_pci_alloc()
575 rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(44)); in pci_go_44()
577 rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); in pci_go_44()
579 dev_printk(KERN_ERR, &pdev->dev, in pci_go_44()
647 sha->dev = pm8001_ha->dev; in pm8001_post_sas_ha_init()
1082 dev_printk(KERN_INFO, &pdev->dev, in pm8001_pci_probe()
1154 rc = scsi_add_host(shost, &pdev->dev); in pm8001_pci_probe()
1209 struct device *dev = pm8001_ha->dev; in pm8001_init_ccb_tag() local
1232 pm8001_ha->ccb_info[i].buf_prd = dma_alloc_coherent(dev, in pm8001_init_ccb_tag()
1287 dma_free_coherent(&pm8001_ha->pdev->dev, in pm8001_pci_remove()
1309 static int __maybe_unused pm8001_pci_suspend(struct device *dev) in pm8001_pci_suspend() argument
1311 struct pci_dev *pdev = to_pci_dev(dev); in pm8001_pci_suspend()
1319 dev_err(dev, " PCI PM not supported\n"); in pm8001_pci_suspend()
1354 static int __maybe_unused pm8001_pci_resume(struct device *dev) in pm8001_pci_resume() argument
1356 struct pci_dev *pdev = to_pci_dev(dev); in pm8001_pci_resume()