Lines Matching full:fpga
3 * PIKA FPGA based Watchdog Timer
50 void __iomem *fpga; member
71 /* -- FPGA: Reset Control Register (32bit R/W) (Offset: 0x14) -- in pikawdt_reset()
80 unsigned reset = in_be32(pikawdt_private.fpga + 0x14); in pikawdt_reset()
83 out_be32(pikawdt_private.fpga + 0x14, reset); in pikawdt_reset()
229 void __iomem *fpga; in pikawdt_init() local
233 np = of_find_compatible_node(NULL, NULL, "pika,fpga"); in pikawdt_init()
235 pr_err("Unable to find fpga\n"); in pikawdt_init()
239 pikawdt_private.fpga = of_iomap(np, 0); in pikawdt_init()
241 if (pikawdt_private.fpga == NULL) { in pikawdt_init()
242 pr_err("Unable to map fpga\n"); in pikawdt_init()
246 ident.firmware_version = in_be32(pikawdt_private.fpga + 0x1c) & 0xffff; in pikawdt_init()
249 np = of_find_compatible_node(NULL, NULL, "pika,fpga-sd"); in pikawdt_init()
251 pr_err("Unable to find fpga-sd\n"); in pikawdt_init()
256 fpga = of_iomap(np, 0); in pikawdt_init()
258 if (fpga == NULL) { in pikawdt_init()
259 pr_err("Unable to map fpga-sd\n"); in pikawdt_init()
264 /* -- FPGA: POST Test Results Register 1 (32bit R/W) (Offset: 0x4040) -- in pikawdt_init()
268 post1 = in_be32(fpga + 0x40); in pikawdt_init()
272 iounmap(fpga); in pikawdt_init()
287 iounmap(pikawdt_private.fpga); in pikawdt_init()
295 iounmap(pikawdt_private.fpga); in pikawdt_exit()
302 MODULE_DESCRIPTION("PIKA FPGA based Watchdog Timer");