STRUCT BCOM_TASK(9)
π 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:
struct bcom_bd(9)bcom_enable(9)bcom_disable(9)bcom_get_task_irq(9)bcom_queue_empty(9)bcom_queue_full(9)bcom_get_bd(9)bcom_buffer_done(9)bcom_prepare_next_buffer(9)
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
- 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