ocs_hcu_ll_dma_start(9)
π NAME π
Okay so welcome to the Kernel API Manual, bestie β todayβs main character is ocs_hcu_ll_dma_start(9), aka Start OCS HCU hashing via DMA β¨. This is the one that starts OCS HCU hashing via DMA, and itβs literally right there in the name. Slay. π
β¨ SYNOPSIS β¨
Exact signature, no edits, no cap:
int ocs_hcu_ll_dma_start (struct ocs_hcu_dev *hcu_dev , const struct
ocs_hcu_dma_list *dma_list , bool finalize );
π ARGUMENTS π
hcu_devβ the OCS HCU device to use. Thatβs your hardware bestie for this operation π«Άdma_listβ the OCS DMA list mapping the data to hash. Itβs giving βhereβs the data map, go offβ πΊοΈβ¨finalizeβ whether or not this is the last hashing operation, meaning the final hash should be computed even if the data is not block-aligned. Highkey important, ngl π
πΈ RETURN πΈ
Returns 0 on success, and a negative error code otherwise. Periodt. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/crypto/intel/keembay/ocs-hcu.c struct ocs_hcu_dma_entry(9)struct ocs_hcu_dma_list(9)ocs_hcu_wait_busy(9)ocs_hcu_get_intermediate_data(9)ocs_hcu_set_intermediate_data(9)ocs_hcu_hw_cfg(9)ocs_hcu_clear_key(9)ocs_hcu_write_key(9)ocs_hcu_hash_init(9)ocs_hcu_hash_update(9)ocs_hcu_hash_finup(9)ocs_hcu_hash_final(9)ocs_hcu_digest(9)ocs_hcu_hmac(9)
π Thatβs the whole vibe, bestie β huge shoutout to the ./drivers/crypto/intel/keembay source/version and the October 2026 date, and yes, this page is ocs_hcu_ll_dma_start(9). Go forth and hash with main character energy! π«Ά
π¦ 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