STRUCT QCE_DEVICE(9)
π NAME π
okay so welcome to the Kernel API Manual bestie, this page is struct qce_device(9) β the crypto engine device structure. that's it, that's the vibe. it's the big ol' struct that holds a QCE crypto engine together π
β¨ SYNOPSIS β¨
here's the whole struct, laid out exactly like this, no notes:
struct qce_device {
struct crypto_queue queue;
struct mutex lock;
struct work_struct done_work;
struct crypto_async_request *req;
int result;
void __iomem *base;
struct device *dev;
struct clk *core, *iface, *bus;
struct icc_path *mem_path;
struct qce_dma_data dma;
int burst_size;
unsigned int pipe_pair_id;
int (*async_req_enqueue)(struct qce_device *qce, struct crypto_async_request *req);
void (*async_req_done)(struct qce_device *qce, int ret);
};
likeβ¦ look at her. main character struct energy fr fr π
πΈ MEMBERS πΈ
queueβ the crypto request queue. the little lineup where requests wait their turn π§lockβ the lock protectsqueueandreq. yes both. it's giving bodyguard πdone_workβ workqueue context. that's where the finishing-up happens β¨reqβ current active request. the one actually on stage rn π€resultβ result of current transform. the vibe check report card πbaseβ virtual IO base. the address-y home base πdevβ pointer to device structure. hi device bestie π«Άcoreβ core device clock β°ifaceβ interface clock β°busβ bus clock β° (three clocks, three emoji, we love a trio)dmaβ pointer to dma data π¦burst_sizeβ the crypto burst size π₯pipe_pair_idβ which pipe pair id the device using π°async_req_enqueueβ invoked by every algorithm to enqueue a request π₯async_req_doneβ invoked by every algorithm to finish its request π€
not me noticingmem_pathis sitting up there in the struct but the Members list lowkey doesn't spell it out ππ it's in the struct, it's anstruct icc_path *mem_path;, and that's literally all this page gives us. no cap.
π SEE ALSO π
- Kernel file
./drivers/crypto/qce/core.h struct qce_algo_ops(9)
alright bestie that's the whole page, go forth and enqueue responsibly π¦π
this has been struct qce_device(9) from the Kernel API Manual, straight outta ./drivers/crypto/qce, dated October 2026 β periodt. πβ
π¦ 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