Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/platforms/85xx/
Dt1042rdb_diu.c38 void __iomem *cpld_base; in t1042rdb_set_monitor_port() local
40 cpld_base = of_iomap(cpld_node, 0); in t1042rdb_set_monitor_port()
41 if (!cpld_base) { in t1042rdb_set_monitor_port()
51 clrbits8(cpld_base + CPLD_DIUCSR, CPLD_DIUCSR_DVIEN); in t1042rdb_set_monitor_port()
59 setbits8(cpld_base + CPLD_DIUCSR, 0x01 << 8); in t1042rdb_set_monitor_port()
60 setbits8(cpld_base + CPLD_DIUCSR, 0x01 << 4); in t1042rdb_set_monitor_port()
61 setbits8(cpld_base + CPLD_DIUCSR, CPLD_DIUCSR_BACKLIGHT); in t1042rdb_set_monitor_port()
67 iounmap(cpld_base); in t1042rdb_set_monitor_port()
Dksi8560.c45 static void __iomem *cpld_base = NULL; variable
49 if (cpld_base) in machine_restart()
50 out_8(cpld_base + KSI8560_CPLD_RCR1, KSI8560_CPLD_RCR1_CPUHR); in machine_restart()
133 cpld_base = of_iomap(cpld, 0); in ksi8560_setup_arch()
158 if (cpld_base) { in ksi8560_show_cpuinfo()
160 in_8(cpld_base + KSI8560_CPLD_HVR)); in ksi8560_show_cpuinfo()
162 in_8(cpld_base + KSI8560_CPLD_PVR)); in ksi8560_show_cpuinfo()
/linux-6.12.1/drivers/staging/fieldbus/anybuss/
Darcx-anybus.c43 void __iomem *cpld_base; member
61 writeb(cd->control_reg, cd->cpld_base + CPLD_CONTROL); in do_reset()
206 return !(readb(cd->cpld_base + CPLD_STATUS1) & CPLD_STATUS1_CAN_POWER); in can_power_is_enabled()
247 cd->cpld_base = devm_platform_ioremap_resource(pdev, 0); in controller_probe()
248 if (IS_ERR(cd->cpld_base)) { in controller_probe()
251 err = PTR_ERR(cd->cpld_base); in controller_probe()
256 status1 = readb(cd->cpld_base + CPLD_STATUS1); in controller_probe()
257 cd->design_no = (readb(cd->cpld_base + CPLD_DESIGN_HI) << 8) | in controller_probe()
258 readb(cd->cpld_base + CPLD_DESIGN_LO); in controller_probe()
265 cap = readb(cd->cpld_base + CPLD_CAP); in controller_probe()