Lines Matching refs:rtk
63 static void apple_rtkit_crashlog_dump_str(struct apple_rtkit *rtk, u8 *bfr, in apple_rtkit_crashlog_dump_str() argument
79 dev_warn(rtk->dev, "RTKit: Message (id=%x): %s\n", idx, in apple_rtkit_crashlog_dump_str()
84 dev_warn(rtk->dev, "RTKit: Message (id=%x): %s", idx, 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
103 dev_warn(rtk->dev, "RTKit: Crash time: %lld", crash_time); 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
117 dev_warn(rtk->dev, "RTKit: Mailbox history (type = %d, index = %d)", in apple_rtkit_crashlog_dump_mailbox()
121 dev_warn(rtk->dev, "RTKit: #%03d@%08x: %016llx %016llx", i, 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
134 dev_warn(rtk->dev, "RTKit: Regs section too small: 0x%zx", size); in apple_rtkit_crashlog_dump_regs()
161 dev_warn(rtk->dev, "RTKit: Exception dump:"); in apple_rtkit_crashlog_dump_regs()
162 dev_warn(rtk->dev, " == Exception taken from %s ==", el); in apple_rtkit_crashlog_dump_regs()
163 dev_warn(rtk->dev, " PSR = 0x%llx", regs->psr); in apple_rtkit_crashlog_dump_regs()
164 dev_warn(rtk->dev, " PC = 0x%llx\n", regs->pc); in apple_rtkit_crashlog_dump_regs()
165 dev_warn(rtk->dev, " ESR = 0x%llx\n", regs->esr); in apple_rtkit_crashlog_dump_regs()
166 dev_warn(rtk->dev, " FAR = 0x%llx\n", regs->far); in apple_rtkit_crashlog_dump_regs()
167 dev_warn(rtk->dev, " SP = 0x%llx\n", regs->sp); in apple_rtkit_crashlog_dump_regs()
168 dev_warn(rtk->dev, "\n"); in apple_rtkit_crashlog_dump_regs()
172 dev_warn(rtk->dev, in apple_rtkit_crashlog_dump_regs()
178 dev_warn(rtk->dev, in apple_rtkit_crashlog_dump_regs()
183 dev_warn(rtk->dev, "\n"); 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
194 dev_warn(rtk->dev, "RTKit: Expected crashlog header but got %x", in apple_rtkit_crashlog_dump()
200 dev_warn(rtk->dev, "RTKit: Crashlog size (%x) is too large", in apple_rtkit_crashlog_dump()
214 dev_dbg(rtk->dev, "RTKit: End of crashlog reached"); 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()
237 dev_warn(rtk->dev, in apple_rtkit_crashlog_dump()
245 dev_warn(rtk->dev, in apple_rtkit_crashlog_dump()