STRUCT CCP_PASSTHRU_NOMAP_ENGINE(9)
π NAME π
struct ccp_passthru_nomap_engine β bestie, this is the CCP pass-through operation that does its thing without performing DMA mapping β¨
(also hey, this is section 9 of the Kernel API Manual, in case you were wondering where you wandered into π)
π¦ SYNOPSIS π¦
struct ccp_passthru_nomap_engine {
enum ccp_passthru_bitwise bit_mod;
enum ccp_passthru_byteswap byte_swap;
dma_addr_t mask;
u32 mask_len;
dma_addr_t src_dma, dst_dma;
u64 src_len;
u32 final;
};
Like, that's the whole vibe right there π no cap.
πΈ Members πΈ
bit_modβ the bitwise operation you're gonna perform, periodtbyte_swapβ the byteswap operation you're gonna perform, also periodtmaskβ the mask to be applied to the data πmask_lenβ length in bytes ofmasksrc_lenβ length in bytes of the data used for this operationfinalβ indicate final pass-through operation π
lowkey notice howsrc_dmaanddst_dmaare chillin' in the struct but not described up here? yeah. not me pointing that out. anyway π
β¨ Description β¨
Okay so these are the variables you literally must have set when you call ccp_enqueue_cmd β no skipping, bestie, it's giving non-negotiable:
bit_mod,byte_swap,src,dst,src_lenmask,mask_lenβ but only ifbit_modis notCCP_PASSTHRU_BITWISE_NOOPπ
π«Ά highkey important: that second bullet is conditional. ifbit_modisCCP_PASSTHRU_BITWISE_NOOP, you don't need the mask stuff. iykyk.
π₯ SEE ALSO π₯
Kernel file ./include/linux/ccp.h β and honestly the whole friend group:
ccp_present(9), ccp_version(9), ccp_enqueue_cmd(9), struct ccp_aes_engine(9), struct ccp_xts_aes_engine(9), struct ccp_sha_engine(9), struct ccp_des3_engine(9), struct ccp_rsa_engine(9), struct ccp_passthru_engine(9), struct ccp_ecc_modular_math(9), struct ccp_ecc_point(9), struct ccp_ecc_point_math(9), struct ccp_ecc_engine(9), struct ccp_cmd(9)
like, go read them, they're all iconic π
okay bye bestie π§β¨ this lil page came from ./include/linux, stamped October 2026, and it lives in section 9 of the Kernel API Manual as struct ccp_p...nomap_engine(9) β slay, go map some DMA (except, y'know, not in this one π) ππ
π¦ 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