STRUCT MV_CESA_DEV(9)
πΈ struct mv_cesa_dev(9) πΈ
okay bestie, welcome to the Kernel API Manual π this one's a little struct page from the kernel docs and honestly it's short but it's mighty. let's get into it π«Ά
β¨ NAME β¨
struct mv_cesa_dev β the CESA device, periodt π
π SYNOPSIS π
struct mv_cesa_dev {
const struct mv_cesa_caps *caps;
void __iomem *regs;
struct device *dev;
unsigned int sram_size;
spinlock_t lock;
struct mv_cesa_dev_dma *dma;
struct mv_cesa_engine engines[];
};
literally copy that exactly, no cap, don't be out here retyping it from memory π
π¦ Members π¦
so each field does a thing and here's the tea:
capsβ device capabilities β¨ like what this thing can actually doregsβ device registers β the memory-mapped hookupsram_sizeβ usable SRAM size π how much SRAM you can actually uselockβ device lock π keep it locked, keep it cutedmaβ dma pools π the DMA pool situationenginesβ array of engines π that's the whole array of engines right there
ngl the struct also has a struct device *dev; field up in the synopsis and the original member list just... doesn't describe it π we're not gonna invent lore for it, that's not our business π
π Description π
a structure that stores CESA device information. that's it, that's the whole vibe β it's the little home where the CESA device info lives π π
π§ SEE ALSO π§
the kernel file ./drivers/crypto/marvell/cesa/cesa.h β that's where this struct actually lives, iykyk πβ¨
and the whole friend group π«Ά:
struct mv_cesa_sec_accel_desc(9)struct mv_cesa_skcipher_op_ctx(9)struct mv_cesa_hash_op_ctx(9)struct mv_cesa_op_ctx(9)struct mv_cesa_tdma_desc(9)struct mv_cesa_sg_dma_iter(9)struct mv_cesa_dma_iter(9)struct mv_cesa_tdma_chain(9)struct mv_cesa_caps(9)struct mv_cesa_dev_dma(9)struct mv_cesa_engine(9)struct mv_cesa_req_ops(9)struct mv_cesa_ctx(9)struct mv_cesa_hash_ctx(9)enum mv_cesa_req_type(9)struct mv_cesa_req(9)struct mv_cesa_sg_std_iter(9)struct mv_cesa_skcipher_std_req(9)struct mv_cesa_skcipher_req(9)struct mv_cesa_ahash_std_req(9)struct mv_cesa_ahash_dma_req(9)struct mv_cesa_ahash_req(9)
okay that's the page!! π
this one's filed under ./drivers/crypto/marvell/cesa and dated October 2026, and it's about struct mv_cesa_dev(9) in case you forgot already π slay, go read some kernel source bestie πΈπβ¨
π¦ 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