Lines Matching refs:bfr

63 static void apple_rtkit_crashlog_dump_str(struct apple_rtkit *rtk, u8 *bfr,  in apple_rtkit_crashlog_dump_str()  argument
69 memcpy(&idx, bfr, 4); in apple_rtkit_crashlog_dump_str()
71 ptr = bfr + 4; in apple_rtkit_crashlog_dump_str()
72 end = bfr + size; in apple_rtkit_crashlog_dump_str()
91 static void apple_rtkit_crashlog_dump_version(struct apple_rtkit *rtk, u8 *bfr, in apple_rtkit_crashlog_dump_version() argument
94 dev_warn(rtk->dev, "RTKit: Version: %s", bfr + 16); in apple_rtkit_crashlog_dump_version()
97 static void apple_rtkit_crashlog_dump_time(struct apple_rtkit *rtk, u8 *bfr, in apple_rtkit_crashlog_dump_time() argument
102 memcpy(&crash_time, bfr, 8); in apple_rtkit_crashlog_dump_time()
106 static void apple_rtkit_crashlog_dump_mailbox(struct apple_rtkit *rtk, u8 *bfr, in apple_rtkit_crashlog_dump_mailbox() argument
113 memcpy(&type, bfr + 16, 4); in apple_rtkit_crashlog_dump_mailbox()
114 memcpy(&index, bfr + 24, 4); in apple_rtkit_crashlog_dump_mailbox()
120 memcpy(&entry, bfr + 28 + i * sizeof(entry), sizeof(entry)); in apple_rtkit_crashlog_dump_mailbox()
126 static void apple_rtkit_crashlog_dump_regs(struct apple_rtkit *rtk, u8 *bfr, in apple_rtkit_crashlog_dump_regs() argument
138 regs = (struct apple_rtkit_crashlog_regs *)bfr; in apple_rtkit_crashlog_dump_regs()
186 void apple_rtkit_crashlog_dump(struct apple_rtkit *rtk, u8 *bfr, size_t size) in apple_rtkit_crashlog_dump() argument
192 memcpy(&header, bfr, sizeof(header)); in apple_rtkit_crashlog_dump()
209 memcpy(&section_fourcc, bfr + offset, 4); in apple_rtkit_crashlog_dump()
210 memcpy(&section_size, bfr + offset + 12, 4); in apple_rtkit_crashlog_dump()
217 apple_rtkit_crashlog_dump_str(rtk, bfr + offset + 16, in apple_rtkit_crashlog_dump()
222 rtk, bfr + offset + 16, section_size); in apple_rtkit_crashlog_dump()
226 rtk, bfr + offset + 16, section_size); in apple_rtkit_crashlog_dump()
229 apple_rtkit_crashlog_dump_time(rtk, bfr + offset + 16, in apple_rtkit_crashlog_dump()
233 apple_rtkit_crashlog_dump_regs(rtk, bfr + offset + 16, in apple_rtkit_crashlog_dump()