s5p_set_dma_hashdata(9)
π s5p_set_dma_hashdata β¨
okay bestie, welcome to the Kernel API Manual page for s5p_set_dma_hashdata(9) β yes that's the whole title, yes it's a mouthful, no we're not changing it π«Ά
β¨ NAME β¨
s5p_set_dma_hashdata β start DMA with sg π
That's it. That's the whole job. It starts the DMA using an sg. Slay.
π¦ SYNOPSIS π¦
void s5p_set_dma_hashdata (struct s5p_aes_dev *dev , const struct
scatterlist *sg );
notice the void β this one gives nothing back, it's a giving function, not a receiving one ππ
πΈ ARGUMENTS πΈ
devβ the device π» that's it, that's the descriptor, it's literally just the device, she's the main charactersgβ thescatterlistthat's ready to DMA transmit π€ like she's packed and waiting at the door, fully ready to go
fr fr both of these are the ones you hand over β no defaults, no fallbacks, no "guess what I meant". You bring the device and you bring the ready-to-transmit scatterlist. periodt π
π SEE ALSO π
okay this next part is a whole friend group so buckle up, I'm listing every single one because nobody gets left behind at this party π
The kernel file in question is ./drivers/crypto/s5p-sss.c β¨ and it hangs out with:
struct samsung_aes_variant(9)struct s5p_aes_dev(9)struct s5p_hash_reqctx(9)struct s5p_hash_ctx(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_ahash_dma_init(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)
likeβ¦ that's the whole gc right there π every single one, no cap, iykyk π
and that's the page bestie!! written from ./drivers/crypto, dated October 2026 β go start some DMA, you've got this π§ββοΈβπ
π¦ 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