Home
last modified time | relevance | path

Searched refs:PCI_PTP_BAR_NO (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/cavium/common/
H A Dcavium_ptp.c21 #define PCI_PTP_BAR_NO 0 macro
242 err = pcim_iomap_regions(pdev, 1 << PCI_PTP_BAR_NO, pci_name(pdev)); in cavium_ptp_probe()
246 clock->reg_base = pcim_iomap_table(pdev)[PCI_PTP_BAR_NO]; in cavium_ptp_probe()
295 pcim_iounmap_regions(pdev, 1 << PCI_PTP_BAR_NO); in cavium_ptp_probe()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dptp.c34 #define PCI_PTP_BAR_NO 0 macro
503 err = pcim_iomap_regions(pdev, 1 << PCI_PTP_BAR_NO, pci_name(pdev)); in ptp_probe()
507 ptp->reg_base = pcim_iomap_table(pdev)[PCI_PTP_BAR_NO]; in ptp_probe()