s5p_ahash_dma_init(9)
π s5p_ahash_dma_init(9) π
hey bestie!! welcome to the Kernel API Manual corner where we talk about s5p_ahash_dma_init β the function that's literally about to enable DMA and set the HASH flow inside SecSS. no cap, she's a whole vibe π
β¨
π NAME π
s5p_ahash_dma_initβ enable DMA and set HASH flow inside SecSS π
π¦ SYNOPSIS π¦
void s5p_ahash_dma_init (struct s5p_aes_dev *dev , u32 hashflow );
πΈ ARGUMENTS πΈ
devβ the secss device, aka the main character you're handing over π«Άhashflowβ the HASH stream flow with/without AES/DES, so yes bestie, it can be with or without them π
β¨ DESCRIPTION β¨
okay so real talk, here's the whole glow-up this function does: it flushes the HASH DMA and enables DMA, sets the HASH stream flow inside SecSS HW, and enables the HASH irq's HRDMA, HDONE, and HPART. that's the entire assignment, and she ate π₯π
π SEE ALSO π
the Kernel file ./drivers/crypto/s5p-sss.c crew is literally all here β no missing besties:
struct samsung_aes_variant(9)struct s5p_aes_dev(9)struct s5p_hash_reqctx(9)struct s5p_hash_ctx(9)s5p_set_dma_hashdata(9)s5p_hash_rx(9)s5p_hash_read_msg(9)s5p_hash_write_ctx_iv(9)s5p_hash_write_iv(9)s5p_hash_copy_result(9)s5p_hash_dma_flush(9)s5p_hash_dma_enable(9)s5p_hash_irq_disable(9)s5p_hash_irq_enable(9)s5p_hash_set_flow(9)s5p_hash_write_ctrl(9)s5p_hash_xmit_dma(9)s5p_hash_copy_sgs(9)s5p_hash_copy_sg_lists(9)s5p_hash_prepare_sgs(9)s5p_hash_prepare_request(9)s5p_hash_update_dma_stop(9)s5p_hash_finish(9)s5p_hash_finish_req(9)s5p_hash_handle_queue(9)s5p_hash_tasklet_cb(9)s5p_hash_enqueue(9)s5p_hash_update(9)s5p_hash_final(9)s5p_hash_finup(9)s5p_hash_init(9)s5p_hash_digest(9)s5p_hash_cra_init_alg(9)s5p_hash_cra_init(9)s5p_hash_cra_exit(9)s5p_hash_export(9)s5p_hash_import(9)
mwah π β this lil page lives in ./drivers/crypto, is dated October 2026, and it's all about s5p_ahash_dma_init(9) β¨π
π¦ 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