set_dout_type(9)
π set_dout_type(9) β the Kernel API Manual, but make it a vibe β¨
okay so picture this: you're deep in the Kernel API Manual and you just need to tell a hardware descriptor what its DOUT situation is. That's the whole plot. No cap, this little function is the main character of exactly one job and it does not miss. π«Ά
πΈ NAME πΈ
set_dout_type β Set the DOUT field of a HW descriptor π
Like, literally. It sets the DOUT field. Of a HW descriptor. That's the assignment and it ate. π
β¨ SYNOPSIS β¨
void set_dout_type (struct cc_hw_desc *pdesc , enum cc_dma_mode dma_mode
, dma_addr_t addr , u32 size , enum cc_axi_sec axi_sec );
returns void btw, so don't go looking for a return value, she gives you nothing back and that's iconic of her. π
π ARGUMENTS π
pdescβ Pointer to the HW descriptor struct. This is the struct, the one you're decorating. πdma_modeβ The DMA mode, and the options are:NO_DMA,SRAM,DLLI,MLLI,CONSTANT. Pick your fighter. βaddrβ The DOUT address. Where the data's going, fr fr. π¦sizeβ Data size in bytes. Yes, bytes. Not vibes, bytes. πaxi_secβ The AXI secure bit. π₯
π§ SEE ALSO π§
Kernel file: ./drivers/crypto/ccree/cc_hw_queue_defs.h
And the whole friend group, all showing up to support:
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_dlli(9)set_dout_mlli(9)set_dout_no_dma(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)
bestie reminder: the page name is set_dout_type(9), so if you're grepping for her, that's the key. π
and that's the whole page, mwah π β brought to you straight outta ./drivers/crypto/ccree, dated October 2026, and yeah, the header said set_dout_type(9) and the footer said set_dout_type(9) too because she's consistent like that. πβ¨
π¦ 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