drivers/soc/apple/rtkit-internal.h
Source file repositories/reference/linux-study-clean/drivers/soc/apple/rtkit-internal.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/soc/apple/rtkit-internal.h- Extension
.h- Size
- 1356 bytes
- Lines
- 60
- Domain
- Driver Families
- Bucket
- drivers/soc
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/bitfield.hlinux/bitmap.hlinux/completion.hlinux/dma-mapping.hlinux/io.hlinux/kernel.hlinux/module.hlinux/slab.hlinux/soc/apple/rtkit.hlinux/workqueue.hmailbox.h
Detected Declarations
struct apple_rtkit
Annotated Snippet
struct apple_rtkit {
void *cookie;
const struct apple_rtkit_ops *ops;
struct device *dev;
struct apple_mbox *mbox;
struct completion epmap_completion;
struct completion iop_pwr_ack_completion;
struct completion ap_pwr_ack_completion;
int boot_result;
int version;
unsigned int iop_power_state;
unsigned int ap_power_state;
bool crashed;
DECLARE_BITMAP(endpoints, APPLE_RTKIT_MAX_ENDPOINTS);
struct apple_rtkit_shmem ioreport_buffer;
struct apple_rtkit_shmem crashlog_buffer;
struct apple_rtkit_shmem oslog_buffer;
struct apple_rtkit_shmem syslog_buffer;
char *syslog_msg_buffer;
size_t syslog_n_entries;
size_t syslog_msg_size;
struct workqueue_struct *wq;
};
void apple_rtkit_crashlog_dump(struct apple_rtkit *rtk, u8 *bfr, size_t size);
#endif
Annotation
- Immediate include surface: `linux/bitfield.h`, `linux/bitmap.h`, `linux/completion.h`, `linux/dma-mapping.h`, `linux/io.h`, `linux/kernel.h`, `linux/module.h`, `linux/slab.h`.
- Detected declarations: `struct apple_rtkit`.
- Atlas domain: Driver Families / drivers/soc.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.