ENUM K3_RING_SIZE(9)
β¨ enum k3_ring_size(9) β your fave ring-element-size enum, explained π
okay so bestie, welcome to the Kernel API Manual page for enum k3_ring_size, and trust me when I say this little enum is doing a LOT of heavy lifting behind the scenes π«Ά
π NAME
enum k3_ring_size β literally the elm_size field of &struct k3_ring_cfg, no cap β¨
πΈ SYNOPSIS
enum k3_ring_size {
K3_RINGACC_RING_ELSIZE_4 ,
K3_RINGACC_RING_ELSIZE_8 ,
K3_RINGACC_RING_ELSIZE_16 ,
K3_RINGACC_RING_ELSIZE_32 ,
K3_RINGACC_RING_ELSIZE_64 ,
K3_RINGACC_RING_ELSIZE_128 ,
K3_RINGACC_RING_ELSIZE_256 ,
K3_RINGACC_RING_ELSIZE_INVALID
};
That's the whole vibe check right there π eight constants, zero drama.
π Constants
so here's the tea: the manual straight-up labels every single one of these as -- undescribed -- π which is giving "left as an exercise for the reader" fr fr. Presenting them anyway, in order, because we do NOT skip entries in this house π
K3_RINGACC_RING_ELSIZE_4β -- undescribed -- πK3_RINGACC_RING_ELSIZE_8β -- undescribed -- πK3_RINGACC_RING_ELSIZE_16β -- undescribed -- πΈK3_RINGACC_RING_ELSIZE_32β -- undescribed -- π¦K3_RINGACC_RING_ELSIZE_64β -- undescribed -- βK3_RINGACC_RING_ELSIZE_128β -- undescribed -- πK3_RINGACC_RING_ELSIZE_256β -- undescribed -- π₯K3_RINGACC_RING_ELSIZE_INVALIDβ -- undescribed -- π
ngl the "undescribed" label is the whole mood here β the docs are being mysterious on purpose and we simply respect it π§
π Description
RA ring element's sizes in bytes. that's it, that's the whole description, and honestly? iconic. short, sweet, main character energy β¨
π¦ SEE ALSO
the kernel file lives at ./include/linux/soc/ti/k3-ringacc.h and it's got LORE, bestie β here's the whole friend group π
enum k3_ring_mode(9)of_k3_ringacc_get_by_phandle(9)k3_ringacc_request_ring(9)k3_ringacc_ring_reset(9)k3_ringacc_ring_free(9)k3_ringacc_get_ring_id(9)k3_ringacc_get_ring_irq_num(9)k3_ringacc_ring_cfg(9)k3_ringacc_ring_get_size(9)k3_ringacc_ring_get_free(9)k3_ringacc_ring_get_occ(9)k3_ringacc_ring_is_full(9)k3_ringacc_ring_push(9)k3_ringacc_ring_pop(9)k3_ringacc_ring_push_head(9)k3_ringacc_ring_pop_tail(9)
okay that's the page!! sourced from ./include/linux/soc/ti, dated October 2026, and filed under enum k3_ring_size(9) obviously π go forth and size your ring elements, bestie β 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