Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/512x/
H A Dmpc5121_ads_cpld.c44 static struct cpld_pic __iomem *cpld_regs; variable
49 return irq <= 7 ? &cpld_regs->pci_mask : &cpld_regs->misc_mask; in irq_to_pic_mask()
105 hwirq = cpld_pic_get_irq(0, PCI_IGNORE, &cpld_regs->pci_status, in cpld_pic_cascade()
106 &cpld_regs->pci_mask); in cpld_pic_cascade()
112 hwirq = cpld_pic_get_irq(8, MISC_IGNORE, &cpld_regs->misc_status, in cpld_pic_cascade()
113 &cpld_regs->misc_mask); in cpld_pic_cascade()
152 cpld_regs = of_iomap(np, 0); in mpc5121_ads_cpld_map()
170 if (!cpld_regs) in mpc5121_ads_cpld_pic_init()
182 out_8(&cpld_regs->route, 0xfd); in mpc5121_ads_cpld_pic_init()
183 out_8(&cpld_regs->pci_mask, 0xff); in mpc5121_ads_cpld_pic_init()
[all …]