Lines Matching refs:rtk
180 struct apple_rtkit *rtk; member
805 if (apple_rtkit_is_crashed(anv->rtk)) in apple_nvme_disable()
913 if (!apple_rtkit_is_crashed(anv->rtk) && !(csts & NVME_CSTS_CFS)) { in apple_nvme_timeout()
998 if (apple_rtkit_is_crashed(anv->rtk)) { in apple_nvme_reset_work()
1006 if (apple_rtkit_is_running(anv->rtk)) { in apple_nvme_reset_work()
1011 ret = apple_rtkit_shutdown(anv->rtk); in apple_nvme_reset_work()
1022 ret = apple_rtkit_reinit(anv->rtk); in apple_nvme_reset_work()
1032 ret = apple_rtkit_boot(anv->rtk); in apple_nvme_reset_work()
1504 anv->rtk = in apple_nvme_alloc()
1506 if (IS_ERR(anv->rtk)) { in apple_nvme_alloc()
1507 ret = dev_err_probe(dev, PTR_ERR(anv->rtk), in apple_nvme_alloc()
1568 if (apple_rtkit_is_running(anv->rtk)) in apple_nvme_remove()
1569 apple_rtkit_shutdown(anv->rtk); in apple_nvme_remove()
1579 if (apple_rtkit_is_running(anv->rtk)) in apple_nvme_shutdown()
1580 apple_rtkit_shutdown(anv->rtk); in apple_nvme_shutdown()
1597 if (apple_rtkit_is_running(anv->rtk)) in apple_nvme_suspend()
1598 ret = apple_rtkit_shutdown(anv->rtk); in apple_nvme_suspend()