drivers/crypto/qce/common.h
Source file repositories/reference/linux-study-clean/drivers/crypto/qce/common.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/crypto/qce/common.h- Extension
.h- Size
- 3043 bytes
- Lines
- 105
- Domain
- Driver Families
- Bucket
- drivers/crypto
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/crypto.hlinux/types.hcrypto/aes.hcrypto/hash.hcrypto/internal/skcipher.hcrypto/internal/aead.h
Detected Declarations
struct qce_alg_template
Annotated Snippet
struct qce_alg_template {
struct list_head entry;
u32 crypto_alg_type;
unsigned long alg_flags;
const u32 *std_iv;
union {
struct skcipher_alg skcipher;
struct ahash_alg ahash;
struct aead_alg aead;
} alg;
struct qce_device *qce;
const u8 *hash_zero;
const u32 digest_size;
};
void qce_cpu_to_be32p_array(__be32 *dst, const u8 *src, unsigned int len);
int qce_check_status(struct qce_device *qce, u32 *status);
void qce_get_version(struct qce_device *qce, u32 *major, u32 *minor, u32 *step);
int qce_start(struct crypto_async_request *async_req, u32 type);
#endif /* _COMMON_H_ */
Annotation
- Immediate include surface: `linux/crypto.h`, `linux/types.h`, `crypto/aes.h`, `crypto/hash.h`, `crypto/internal/skcipher.h`, `crypto/internal/aead.h`.
- Detected declarations: `struct qce_alg_template`.
- Atlas domain: Driver Families / drivers/crypto.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.