STRUCT BCOM_TASK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct bcom_task(9) πŸ’–

okay so this is a page from the Kernel API Manual β€” yes, the actual kernel docs, and yes we're making it cute. welcome bestie, let's get into it πŸŽ€


✨ NAME ✨

struct bcom_task β€” the structure that describes a loaded BestComm task. that's it, that's the whole vibe. it's giving "metadata holder" and honestly? iconic. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole thing, bestie β€” every field, exactly as it lives in the header, no notes:

struct bcom_task {
    unsigned int    tasknum;
    unsigned int    flags;
    int irq;
    struct bcom_bd  *bd;
    phys_addr_t bd_pa;
    void **cookie;
    unsigned short  index;
    unsigned short  outdex;
    unsigned int    num_bd;
    unsigned int    bd_size;
    void* priv;
 };

look at her. eleven fields. main character energy fr fr πŸ’…


🌸 Members 🌸

this section is literally empty in the original β€” no per-member breakdown was given, so we're not making one up. we respect the source. 🫢

πŸ’œ Description πŸ’œ

so, lowkey important thing first: this structure is never built by the driver itself. not once. nope. the driver does not get to construct this bad boy.

instead it's built and filled by the intermediate layer of the BestComm API β€” that's the task-dependent support code, which is the whole reason it exists. think of it as the middleman doing the actual assembly while your driver just sits there looking pretty. ✨

and here's the tea: most likely you don't need to poke around inside this structure at all. like, at all. the fields are exposed in the header just for the sake of inline functions β€” that's the only reason they're out in the open. so unless you're writing those inline functions, hands off the internals, bestie πŸ™ˆπŸ’€


🌈 SEE ALSO 🌈

go read these next, they're all linked from the kernel file ./include/linux/fsl/bestcomm/bestcomm.h:

all of them. every single one. no skips, no cap πŸ’–


and that's the page!! source path is ./include/linux/fsl/bestcomm, dated October 2026 β€” so mark your calendar bestie, and stan responsibly πŸ§šβ€β™€οΈβ­πŸ«Ά

πŸ“¦ where this page comes from