set_dout_no_dma(9)
π set_dout_no_dma β Kernel API Manual β¨
okay so bestie, welcome to set_dout_no_dma from the Kernel API Manual β yes that's the manual name, we're fancy now π β and honestly this little function is a whole mood.
πΈ NAME πΈ
set_dout_no_dma β sets the DOUT field of a HW descriptor to NO DMA mode. It's the go-to for a NOP descriptor, for register patches, and for all those other special modes that don't fit the normal flow. lowkey iconic π
β¨ SYNOPSIS β¨
void set_dout_no_dma (struct cc_hw_desc *pdesc , u32 addr , u32 size ,
bool write_enable );
that's the whole signature, no cap. returns void β she doesn't return anything, she just does π«Ά
π¦ ARGUMENTS π¦
pdescβ a pointer to the HW descriptor struct. like, the actual descriptor you're editing. pointer to it. πaddrβ the DOUT address. yes, the address, that's the one πsizeβ the data size, measured in bytes (bytes!! not bits, bestie, keep up π)write_enableβ abool, and when it's on it enables a write operation to a register β¨
π₯ SEE ALSO π₯
okay this list is giving main character energy β it's the whole squad from the kernel file ./drivers/crypto/ccree/cc_hw_queue_defs.h, and you literally cannot skip a single one of them π
hw_desc_init(9)set_queue_last_ind_bit(9)set_din_type(9)set_din_no_dma(9)set_cpp_crypto_key(9)set_din_sram(9)set_din_const(9)set_din_not_last_indication(9)set_dout_type(9)set_dout_dlli(9)set_dout_mlli(9)set_xor_val(9)set_xor_active(9)set_aes_not_hash_mode(9)set_aes_xor_crypto_key(9)set_dout_sram(9)set_xex_data_unit_size(9)set_multi2_num_rounds(9)set_flow_mode(9)set_cipher_mode(9)set_hash_cipher_mode(9)set_cipher_config0(9)set_cipher_config1(9)set_hw_crypto_key(9)set_bytes_swap(9)set_cmac_size0_mode(9)set_key_size(9)set_key_size_aes(9)set_key_size_des(9)set_setup_mode(9)set_cipher_do(9)
and that's the whole page, bestie, you ate that π go forth and set those DOUT fields to NO DMA π
sign-off time π§ this page lives in ./drivers/crypto/ccree, dated October 2026, and it's all about set_dout_no_dma(9) β periodt. πβ
π¦ 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