Lines Matching +full:0 +full:xff900000

33 #define TS78XX_FPGA_REGS_PHYS_BASE	0xe8000000
34 #define TS78XX_FPGA_REGS_VIRT_BASE IOMEM(0xff900000)
38 .id = 0,
65 .phy_addr = MV643XX_ETH_PHY_ADDR(0),
78 #define TS_RTC_CTRL (TS78XX_FPGA_REGS_PHYS_BASE + 0x808)
79 #define TS_RTC_DATA (TS78XX_FPGA_REGS_PHYS_BASE + 0x80c)
82 DEFINE_RES_MEM(TS_RTC_CTRL, 0x01),
83 DEFINE_RES_MEM(TS_RTC_DATA, 0x01),
97 if (ts78xx_fpga.supports.ts_rtc.init == 0) { in ts78xx_ts_rtc_load()
119 #define TS_NAND_CTRL (TS78XX_FPGA_REGS_VIRT_BASE + 0x800) /* VIRT */
120 #define TS_NAND_DATA (TS78XX_FPGA_REGS_PHYS_BASE + 0x804) /* PHYS */
126 * NAND_NCE: bit 0 -> bit 2
128 * NAND_ALE: bit 2 -> bit 0
140 writeb((readb(TS_NAND_CTRL) & ~0x7) | bits, TS_NAND_CTRL); in ts78xx_ts_nand_cmd_ctrl()
149 return readb(TS_NAND_CTRL) & 0x20; in ts78xx_ts_nand_dev_ready()
207 .offset = 0,
265 if (ts78xx_fpga.supports.ts_nand.init == 0) { in ts78xx_ts_nand_load()
285 #define TS_RNG_DATA (TS78XX_FPGA_REGS_PHYS_BASE | 0x044)
308 if (ts78xx_fpga.supports.ts_rng.init == 0) { in ts78xx_ts_rng_load()
330 ts78xx_fpga.supports.ts_rtc.init = 0; in ts78xx_fpga_devices_zero_init()
331 ts78xx_fpga.supports.ts_nand.init = 0; in ts78xx_fpga_devices_zero_init()
332 ts78xx_fpga.supports.ts_rng.init = 0; in ts78xx_fpga_devices_zero_init()
354 switch ((ts78xx_fpga.id >> 8) & 0xffffff) { in ts78xx_fpga_supports()
356 pr_warn("unrecognised FPGA revision 0x%.2x\n", in ts78xx_fpga_supports()
357 ts78xx_fpga.id & 0xff); in ts78xx_fpga_supports()
363 ts78xx_fpga.supports.ts_rtc.present = 0; in ts78xx_fpga_supports()
364 ts78xx_fpga.supports.ts_nand.present = 0; in ts78xx_fpga_supports()
365 ts78xx_fpga.supports.ts_rng.present = 0; in ts78xx_fpga_supports()
372 int tmp, ret = 0; in ts78xx_fpga_load_devices()
377 ts78xx_fpga.supports.ts_rtc.present = 0; in ts78xx_fpga_load_devices()
383 ts78xx_fpga.supports.ts_nand.present = 0; in ts78xx_fpga_load_devices()
389 ts78xx_fpga.supports.ts_rng.present = 0; in ts78xx_fpga_load_devices()
406 return 0; in ts78xx_fpga_unload_devices()
413 pr_info("FPGA magic=0x%.6x, rev=0x%.2x\n", in ts78xx_fpga_load()
414 (ts78xx_fpga.id >> 8) & 0xffffff, in ts78xx_fpga_load()
415 ts78xx_fpga.id & 0xff); in ts78xx_fpga_load()
424 return 0; in ts78xx_fpga_load()
442 "TS-78xx FPGA: was 0x%.6x/%.2x but now 0x%.6x/%.2x\n", in ts78xx_fpga_unload()
443 (ts78xx_fpga.id >> 8) & 0xffffff, ts78xx_fpga.id & 0xff, in ts78xx_fpga_unload()
444 (fpga_id >> 8) & 0xffffff, fpga_id & 0xff); in ts78xx_fpga_unload()
454 return 0; in ts78xx_fpga_unload()
460 if (ts78xx_fpga.state < 0) in ts78xx_fpga_show()
471 if (ts78xx_fpga.state < 0) { in ts78xx_fpga_store()
476 if (strncmp(buf, "online", sizeof("online") - 1) == 0) in ts78xx_fpga_store()
478 else if (strncmp(buf, "offline", sizeof("offline") - 1) == 0) in ts78xx_fpga_store()
479 value = 0; in ts78xx_fpga_store()
486 ret = (ts78xx_fpga.state == 0) in ts78xx_fpga_store()
490 if (!(ret < 0)) in ts78xx_fpga_store()
525 * MPP[21] PCI Clock Out 0
531 0,
566 .atag_offset = 0x100,