diff options
author | Tom Rini <trini@konsulko.com> | 2025-04-28 13:17:20 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-28 13:17:20 -0600 |
commit | 6d159cf27202937fc7f91b241c6bccba80fd63d6 (patch) | |
tree | 5a04267b8ccc0fadf7fdb4d924235df87a61acc0 /arch/arm/include/asm | |
parent | 962d9635d4d6a9ac54a7e0feb6b83761f8d4ac8b (diff) | |
parent | 4a55e7f0311df145662831576bbe0ed2113227ce (diff) |
Merge patch series "Apple RTKit improvements"
Mark Kettenis <kettenis@openbsd.org> says:
This is a collection of improvements for the Apple RTKit code
that we have been carrying downstream for some time now.
Link: https://lore.kernel.org/r/20250420115808.94272-1-kettenis@openbsd.org
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-apple/rtkit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-apple/rtkit.h b/arch/arm/include/asm/arch-apple/rtkit.h index eff18ddb9d2..4b11e2a72dc 100644 --- a/arch/arm/include/asm/arch-apple/rtkit.h +++ b/arch/arm/include/asm/arch-apple/rtkit.h @@ -12,6 +12,7 @@ struct apple_rtkit_buffer { u64 dva; size_t size; bool is_mapped; + int endpoint; }; typedef int (*apple_rtkit_shmem_setup)(void *cookie, @@ -26,4 +27,8 @@ struct apple_rtkit *apple_rtkit_init(struct mbox_chan *chan, void *cookie, apple_rtkit_shmem_destroy shmem_destroy); void apple_rtkit_free(struct apple_rtkit *rtk); int apple_rtkit_boot(struct apple_rtkit *rtk); +int apple_rtkit_set_ap_power(struct apple_rtkit *rtk, int pwrstate); +int apple_rtkit_poll(struct apple_rtkit *rtk, ulong timeout); int apple_rtkit_shutdown(struct apple_rtkit *rtk, int pwrstate); + +int apple_rtkit_helper_poll(struct udevice *dev, ulong timeout); |