Searched refs:crypt_ctl (Results 1 – 1 of 1) sorted by relevance
114 struct crypt_ctl { struct226 static struct crypt_ctl *crypt_virt = NULL;235 static inline dma_addr_t crypt_virt2phys(struct crypt_ctl *virt) in crypt_virt2phys()237 return crypt_phys + (virt - crypt_virt) * sizeof(struct crypt_ctl); in crypt_virt2phys()240 static inline struct crypt_ctl *crypt_phys2virt(dma_addr_t phys) in crypt_phys2virt()242 return crypt_virt + (phys - crypt_phys) / sizeof(struct crypt_ctl); in crypt_phys2virt()263 BUILD_BUG_ON(sizeof(struct crypt_ctl) != 64); in setup_crypt_desc()265 NPE_QLEN * sizeof(struct crypt_ctl), in setup_crypt_desc()269 memset(crypt_virt, 0, NPE_QLEN * sizeof(struct crypt_ctl)); in setup_crypt_desc()274 static struct crypt_ctl *get_crypt_desc(void) in get_crypt_desc()[all …]