Lines Matching refs:cpld
101 static void __iomem *cpld;
301 if (!cpld)
305 return !(__raw_readb(cpld + CPLD_CARDSTAT) & BIT(module ? 4 : 0));
310 if (!cpld)
314 return !!(__raw_readb(cpld + CPLD_CARDSTAT) & BIT(module ? 5 : 1));
639 u8 reg = __raw_readb(cpld + CPLD_LEDS);
645 __raw_writeb(reg, cpld + CPLD_LEDS);
651 u8 reg = __raw_readb(cpld + CPLD_LEDS);
660 if (!have_leds() || !cpld)
664 __raw_writeb(0xff, cpld + CPLD_LEDS);
706 "cpld") == NULL)
708 cpld = ioremap(DM365_ASYNC_EMIF_DATA_CE1_BASE, SECTION_SIZE);
709 if (!cpld) {
724 if ((__raw_readb(cpld + CPLD_SWITCH) & BIT(5)) == 0) {
778 __raw_writeb(mux, cpld + CPLD_MUX);
779 __raw_writeb(resets, cpld + CPLD_RESETS);