Lines Matching refs:hash_handle
1884 struct cc_hash_handle *hash_handle = drvdata->hash_handle; in cc_init_hash_sram() local
1885 u32 sram_buff_ofs = hash_handle->digest_len_sram_addr; in cc_init_hash_sram()
1906 hash_handle->larval_digest_sram_addr = sram_buff_ofs; in cc_init_hash_sram()
1954 struct cc_hash_handle *hash_handle; in cc_hash_alloc() local
1961 hash_handle = devm_kzalloc(dev, sizeof(*hash_handle), GFP_KERNEL); in cc_hash_alloc()
1962 if (!hash_handle) in cc_hash_alloc()
1965 INIT_LIST_HEAD(&hash_handle->hash_list); in cc_hash_alloc()
1966 drvdata->hash_handle = hash_handle; in cc_hash_alloc()
1988 hash_handle->digest_len_sram_addr = sram_buff; in cc_hash_alloc()
2025 list_add_tail(&t_alg->entry, &hash_handle->hash_list); in cc_hash_alloc()
2048 list_add_tail(&t_alg->entry, &hash_handle->hash_list); in cc_hash_alloc()
2061 struct cc_hash_handle *hash_handle = drvdata->hash_handle; in cc_hash_free() local
2063 list_for_each_entry_safe(t_hash_alg, hash_n, &hash_handle->hash_list, in cc_hash_free()
2242 struct cc_hash_handle *hash_handle = _drvdata->hash_handle; in cc_larval_digest_addr() local
2251 return (hash_handle->larval_digest_sram_addr); in cc_larval_digest_addr()
2253 return (hash_handle->larval_digest_sram_addr + in cc_larval_digest_addr()
2256 return (hash_handle->larval_digest_sram_addr + in cc_larval_digest_addr()
2260 return (hash_handle->larval_digest_sram_addr + in cc_larval_digest_addr()
2265 return (hash_handle->larval_digest_sram_addr + in cc_larval_digest_addr()
2271 addr = (hash_handle->larval_digest_sram_addr + in cc_larval_digest_addr()
2280 addr = (hash_handle->larval_digest_sram_addr + in cc_larval_digest_addr()
2294 return hash_handle->larval_digest_sram_addr; in cc_larval_digest_addr()
2300 struct cc_hash_handle *hash_handle = _drvdata->hash_handle; in cc_digest_len_addr() local
2301 u32 digest_len_addr = hash_handle->digest_len_sram_addr; in cc_digest_len_addr()