Lines Matching refs:REG_PCI_CONTROL
16 #define REG_PCI_CONTROL 0x88 macro
392 return !!(readl(cg->base + REG_PCI_CONTROL) & REG_PCI_CONTROL_REFCLK_EN1); in en7523_pci_is_enabled()
402 val = readl(np_base + REG_PCI_CONTROL); in en7523_pci_prepare()
404 writel(val, np_base + REG_PCI_CONTROL); in en7523_pci_prepare()
409 writel(val, np_base + REG_PCI_CONTROL); in en7523_pci_prepare()
425 val = readl(np_base + REG_PCI_CONTROL); in en7523_pci_prepare()
426 writel(val & ~mask, np_base + REG_PCI_CONTROL); in en7523_pci_prepare()
428 writel(val | mask, np_base + REG_PCI_CONTROL); in en7523_pci_prepare()
440 val = readl(np_base + REG_PCI_CONTROL); in en7523_pci_unprepare()
442 writel(val, np_base + REG_PCI_CONTROL); in en7523_pci_unprepare()
477 val = readl(cg->base + REG_PCI_CONTROL); in en7581_pci_is_enabled()
490 val = readl(np_base + REG_PCI_CONTROL); in en7581_pci_enable()
491 writel(val | mask, np_base + REG_PCI_CONTROL); in en7581_pci_enable()
505 val = readl(np_base + REG_PCI_CONTROL); in en7581_pci_disable()
506 writel(val & ~mask, np_base + REG_PCI_CONTROL); in en7581_pci_disable()