Searched refs:rtk (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/soc/apple/ |
D | rtkit.c | 80 struct apple_rtkit *rtk; member 86 bool apple_rtkit_is_running(struct apple_rtkit *rtk) in apple_rtkit_is_running() argument 88 if (rtk->crashed) in apple_rtkit_is_running() 90 if ((rtk->iop_power_state & 0xff) != APPLE_RTKIT_PWR_STATE_ON) in apple_rtkit_is_running() 92 if ((rtk->ap_power_state & 0xff) != APPLE_RTKIT_PWR_STATE_ON) in apple_rtkit_is_running() 98 bool apple_rtkit_is_crashed(struct apple_rtkit *rtk) in apple_rtkit_is_crashed() argument 100 return rtk->crashed; in apple_rtkit_is_crashed() 104 static void apple_rtkit_management_send(struct apple_rtkit *rtk, u8 type, in apple_rtkit_management_send() argument 109 apple_rtkit_send_message(rtk, APPLE_RTKIT_EP_MGMT, msg, NULL, false); in apple_rtkit_management_send() 112 static void apple_rtkit_management_rx_hello(struct apple_rtkit *rtk, u64 msg) in apple_rtkit_management_rx_hello() argument [all …]
|
D | rtkit-crashlog.c | 34 static void apple_rtkit_crashlog_dump_str(struct apple_rtkit *rtk, u8 *bfr, in apple_rtkit_crashlog_dump_str() argument 50 dev_warn(rtk->dev, "RTKit: Message (id=%x): %s\n", idx, in apple_rtkit_crashlog_dump_str() 55 dev_warn(rtk->dev, "RTKit: Message (id=%x): %s", idx, in apple_rtkit_crashlog_dump_str() 62 static void apple_rtkit_crashlog_dump_version(struct apple_rtkit *rtk, u8 *bfr, in apple_rtkit_crashlog_dump_version() argument 65 dev_warn(rtk->dev, "RTKit: Version: %s", bfr + 16); in apple_rtkit_crashlog_dump_version() 68 static void apple_rtkit_crashlog_dump_time(struct apple_rtkit *rtk, u8 *bfr, in apple_rtkit_crashlog_dump_time() argument 74 dev_warn(rtk->dev, "RTKit: Crash time: %lld", crash_time); in apple_rtkit_crashlog_dump_time() 77 static void apple_rtkit_crashlog_dump_mailbox(struct apple_rtkit *rtk, u8 *bfr, in apple_rtkit_crashlog_dump_mailbox() argument 88 dev_warn(rtk->dev, "RTKit: Mailbox history (type = %d, index = %d)", in apple_rtkit_crashlog_dump_mailbox() 92 dev_warn(rtk->dev, "RTKit: #%03d@%08x: %016llx %016llx", i, in apple_rtkit_crashlog_dump_mailbox() [all …]
|
D | rtkit-internal.h | 60 void apple_rtkit_crashlog_dump(struct apple_rtkit *rtk, u8 *bfr, size_t size);
|
/linux-6.1.9/include/linux/soc/apple/ |
D | rtkit.h | 84 int apple_rtkit_reinit(struct apple_rtkit *rtk); 90 int apple_rtkit_boot(struct apple_rtkit *rtk); 95 int apple_rtkit_quiesce(struct apple_rtkit *rtk); 100 int apple_rtkit_wake(struct apple_rtkit *rtk); 105 int apple_rtkit_shutdown(struct apple_rtkit *rtk); 110 bool apple_rtkit_is_running(struct apple_rtkit *rtk); 115 bool apple_rtkit_is_crashed(struct apple_rtkit *rtk); 121 int apple_rtkit_start_ep(struct apple_rtkit *rtk, u8 endpoint); 134 int apple_rtkit_send_message(struct apple_rtkit *rtk, u8 ep, u64 message, 152 int apple_rtkit_send_message_wait(struct apple_rtkit *rtk, u8 ep, u64 message, [all …]
|
/linux-6.1.9/drivers/nvme/host/ |
D | apple.c | 180 struct apple_rtkit *rtk; member 804 if (apple_rtkit_is_crashed(anv->rtk)) in apple_nvme_disable() 898 if (!apple_rtkit_is_crashed(anv->rtk) && !(csts & NVME_CSTS_CFS)) { in apple_nvme_timeout() 983 if (apple_rtkit_is_crashed(anv->rtk)) { in apple_nvme_reset_work() 994 if (apple_rtkit_is_running(anv->rtk)) { in apple_nvme_reset_work() 996 ret = apple_rtkit_shutdown(anv->rtk); in apple_nvme_reset_work() 1007 ret = apple_rtkit_reinit(anv->rtk); in apple_nvme_reset_work() 1017 ret = apple_rtkit_boot(anv->rtk); in apple_nvme_reset_work() 1489 anv->rtk = in apple_nvme_probe() 1491 if (IS_ERR(anv->rtk)) { in apple_nvme_probe() [all …]
|
/linux-6.1.9/security/selinux/ss/ |
D | policydb.c | 2399 struct role_trans_key *rtk = NULL; in policydb_read() local 2571 rtk = kmalloc(sizeof(*rtk), GFP_KERNEL); in policydb_read() 2572 if (!rtk) in policydb_read() 2584 rtk->role = le32_to_cpu(buf[0]); in policydb_read() 2585 rtk->type = le32_to_cpu(buf[1]); in policydb_read() 2591 rtk->tclass = le32_to_cpu(buf[0]); in policydb_read() 2593 rtk->tclass = p->process_class; in policydb_read() 2596 if (!policydb_role_isvalid(p, rtk->role) || in policydb_read() 2597 !policydb_type_isvalid(p, rtk->type) || in policydb_read() 2598 !policydb_class_isvalid(p, rtk->tclass) || in policydb_read() [all …]
|
D | services.c | 1875 struct role_trans_key rtk = { in security_compute_sid() local 1881 rtd = policydb_roletr_search(policydb, &rtk); in security_compute_sid()
|