Lines Matching +full:0 +full:x5a000000
18 #define PASSWORD 0x5a000000
19 #define PASSWORD_MASK 0xff000000
21 #define R_RSTC 0x1c
22 #define V_RSTC_RESET 0x20
23 #define R_RSTS 0x20
24 #define V_RSTS_POWEROFF 0x555 /* Linux uses partition 63 to indicate halt. */
25 #define R_WDOG 0x24
31 uint32_t res = 0; in bcm2835_powermgt_read()
46 "bcm2835_powermgt_read: Unknown offset 0x%08"HWADDR_PRIx in bcm2835_powermgt_read()
48 res = 0; in bcm2835_powermgt_read()
62 "bcm2835_powermgt_write: Bad password 0x%"PRIx64 in bcm2835_powermgt_write()
63 " at offset 0x%08"HWADDR_PRIx"\n", in bcm2835_powermgt_write()
74 if ((s->rsts & 0xfff) == V_RSTS_POWEROFF) { in bcm2835_powermgt_write()
94 "bcm2835_powermgt_write: Unknown offset 0x%08"HWADDR_PRIx in bcm2835_powermgt_write()
125 TYPE_BCM2835_POWERMGT, 0x200); in bcm2835_powermgt_init()
134 s->rstc = 0x00000102; in bcm2835_powermgt_reset()
135 s->rsts = 0x00001000; in bcm2835_powermgt_reset()
136 s->wdog = 0x00000000; in bcm2835_powermgt_reset()