STRUCT DTHE_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dthe_data(9) β€” like, the whole vibe ✨

okay so this is a page from the Kernel API Manual situation, and it's all about struct dthe_data β€” yes bestie, that's the DTHE_V2 driver instance data, the little backpack of stuff the driver carries around πŸŽ’ no cap, that's literally the whole NAME energy right there.


✨ SYNOPSIS ✨

the way this struct just... exists. gorgeous. here it is, character for character, don't touch a thing 🫢

struct dthe_data {
    struct device *dev;
    void __iomem *regs;
    struct list_head list;
    struct crypto_engine *engine;
    struct dma_chan *dma_aes_rx;
    struct dma_chan *dma_aes_tx;
    struct dma_chan *dma_sha_tx;
 };

πŸŽ€ Members πŸŽ€

like, one field at a time, we're going through the whole roster πŸ’–

  • dev β€” the device pointer, aka who this driver is dating. main character reference right here πŸ‘‘
  • regs β€” base address of the register space, where all the actual hardware gossip lives πŸ“
  • list β€” the list node for dev, holding its place in the lineup so it doesn't lose its spot 🌸
  • engine β€” the crypto engine instance, the one doing the actual math glamour ✨
  • dma_aes_rx β€” AES Rx DMA Channel. receiving, but make it AES πŸ’…
  • dma_aes_tx β€” AES Tx DMA Channel. sending, same energy, different direction πŸ¦‹
  • dma_sha_tx β€” SHA Tx DMA Channel. SHA's turn to transmit, periodt πŸ”₯
fr fr, every single field is listed above. nothing skipped, nothing merged. that's the whole struct and she eats πŸ’€

🌈 SEE ALSO 🌈

go read these too, iykyk β€” they're all in the Kernel file ./drivers/crypto/ti/dthev2-common.h:

  • struct dthe_list(9)
  • struct dthe_tfm_ctx(9)
  • struct dthe_aes_req_ctx(9)
  • dthe_copy_sg(9)

like the whole friend group, honestly 🧚


k bye bestie πŸŽ€βœ¨ β€” this page came to you from ./drivers/crypto/ti, dated October 2026, and it's filed under struct dthe_data(9) in case you need to find her again. love that for us πŸ’œ

πŸ“¦ where this page comes from