STRUCT K3_RPROC(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… 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, u32 and 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 โ€” a void pointer 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