STRUCT K3_RPROC(9)
๐ NAME ๐
struct k3_rproc โ okay so this is the k3 remote processor driver structure, and no cap it's basically the main character of the whole remote-proc situation โจ (this one's from the Kernel API Manual, in case you were wondering ๐)
โจ SYNOPSIS โจ
Like, here's the whole glow-up, character for character, don't touch anything:
struct k3_rproc {
struct device *dev;
struct rproc *rproc;
struct k3_rproc_mem *mem;
int num_mems;
struct k3_rproc_mem *rmem;
int num_rmems;
struct reset_control *reset;
const struct k3_rproc_dev_data *data;
struct ti_sci_proc *tsp;
const struct ti_sci_handle *ti_sci;
u32 ti_sci_id;
struct mbox_chan *mbox;
struct mbox_client client;
void *priv;
};
๐ซถ Members ๐ซถ
Bestie, let's go through the cast one by one, everyone gets their moment ๐ธ
devโ the cached device pointer, literally just vibing in memory so nobody has to go looking for it again ๐rprocโ the remoteproc device handle, aka the whole reason we're here ๐memโ internal memory regions data, the home turf info ๐num_memsโ how many internal memory regions there actually are, the headcount ๐ขrmemโ reserved memory regions data, the fancy reserved seating ๐num_rmemsโ the number of those reserved memory regions, again with the counting ๐งฎresetโ reset control handle, for when things need a little refresh moment ๐dataโ pointer to DSP-specific device data, iykyk ๐งtspโ TI-SCI processor control handle, very official โจti_sciโ the TI-SCI handle itself, the blueprint of it all ๐ti_sci_idโ TI-SCI device identifier,u32and proud of it ๐mboxโ mailbox channel handle, sliding into the DMs ๐ฌclientโ mailbox client, which is what you use to request that mailbox channel, like politely asking for the aux ๐ถprivโ avoidpointer to carry any private data, no questions asked, it's giving mysterious ๐
๐ฆ SEE ALSO ๐ฆ
Go read the kernel file ./drivers/remoteproc/ti_k3_common.h and while you're there say hi to:
struct k3_rproc_mem(9)struct k3_rproc_mem_data(9)struct k3_rproc_dev_data(9)
And that's the whole page, bestie!! ๐ซถ This little masterpiece lives over in ./drivers/remoteproc and it's dated October 2026 โ iconic, timeless, we stan a structured struct ๐๐ slay ๐ง
๐ฆ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms