set_din_type(9)
π set_din_type(9) π
okay bestie, welcome to the Kernel API Manual page for set_din_type β yes, the one and only π
. This is the Set the DIN field of a HW descriptor function, and we're gonna walk through it together, no cap.
π NAME π
set_din_type β Set the DIN field of a HW descriptor. That's the whole assignment, and it ate. π«Ά
β¨ SYNOPSIS β¨
This is the exact signature, bestie β copy it character for character, because we do not freestyle here:
void set_din_type (struct cc_hw_desc *pdesc , enum cc_dma_mode dma_mode
, dma_addr_t addr , u32 size , enum cc_axi_sec axi_sec );
It's giving void, it's giving five arguments, it's giving "set the DIN field of a HW descriptor." Iconic.
π ARGUMENTS π
okay so here's the cast of characters β every single one is important:
pdescβ Pointer to HW descriptor struct.dma_modeβ The DMA mode:NO_DMA,SRAM,DLLI,MLLI,CONSTANT.addrβ DIN address.sizeβ Data size in bytes.axi_secβ AXI secure bit.
lowkey every argument is doing main character work here. don't skip any of them. π
πΈ SEE ALSO πΈ
Kernel file: ./drivers/crypto/ccree/cc_hw_queue_defs.h
hw_desc_init(9)set_queue_last_ind_bit(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_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)
and that's the page, bestie πβ¨. Source/version footer energy: source ./drivers/crypto/ccree, dated October 2026, and the page is literally set_din_type(9) β bye, love you, hydrate π
π
π¦ 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