Lines Matching +full:sram +full:- +full:section
1 // SPDX-License-Identifier: GPL-2.0
12 #include <linux/pm-trace.h>
30 * other bank of an additional 128 bytes) of nice SRAM that is
31 * _designed_ to keep data - the POST will clear it. So we literally
45 * - year: 0-99
46 * - month: 0-11
47 * - day-of-month: 1-28
48 * - hour: 0-23
49 * - min: (0-30)*2
51 * Giving us a total range of 0-16128000 (0xf61800), ie less
71 * - 0-15: user-settable
72 * - 0-996: file + line number
73 * - 0-1008: device
96 .tm_mon = 5, // June - counting from zero in set_magic_time()
115 return n ? -1 : 0; in set_magic_time()
131 val -= 100; in read_magic_time()
133 val += (time.tm_mday-1) * 100 * 12; /* 28 month-days */ in read_magic_time()
135 val += (time.tm_min / 3) * 100 * 12 * 28 * 24; /* 20 3-minute intervals */ in read_magic_time()
140 * This is just the sdbm hash function with a user-supplied
147 seed = (seed << 16) + (seed << 6) - seed + c; in hash_string()
160 * section instead. Generating a hash of the data gives us a
163 * likely not give totally bogus reports - if the hash matches,
216 entry = entry->prev; in show_dev_hash()
247 size -= len; in show_trace_dev_match()
249 entry = entry->prev; in show_trace_dev_match()