Lines Matching refs:ulong
12 const ulong patterns[] = { 0x00000000,
17 const ulong NBR_OF_PATTERNS = sizeof(patterns) / sizeof(*patterns);
18 const ulong OFFS_PATTERN = 3;
19 const ulong REPEAT_PATTERN = 1000;
21 void bootcount_store(ulong a) in bootcount_store()
23 ulong *save_addr; in bootcount_store()
24 ulong size = 0; in bootcount_store()
29 save_addr = (ulong *)(size - BOOTCOUNT_ADDR); in bootcount_store()
38 flush_dcache_range((ulong)&save_addr[0], in bootcount_store()
39 (((ulong)&save_addr[REPEAT_PATTERN + OFFS_PATTERN] & in bootcount_store()
43 ulong bootcount_load(void) in bootcount_load()
45 ulong *save_addr; in bootcount_load()
46 ulong size = 0; in bootcount_load()
47 ulong counter = 0; in bootcount_load()
52 save_addr = (ulong *)(size - BOOTCOUNT_ADDR); in bootcount_load()