STRUCT MV_CESA_DEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 do
  • regs β€” device registers ⭐ the memory-mapped hookup
  • sram_size β€” usable SRAM size πŸ“ how much SRAM you can actually use
  • lock β€” device lock πŸ”’ keep it locked, keep it cute
  • dma β€” dma pools 🌈 the DMA pool situation
  • engines β€” 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