STRUCT DTHE_DATA(9)
π 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
- 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