/Linux-v4.19/drivers/crypto/ccree/ |
D | cc_request_mgr.h | 13 int cc_req_mgr_init(struct cc_drvdata *drvdata); 28 int cc_send_request(struct cc_drvdata *drvdata, struct cc_crypto_req *cc_req, 32 int cc_send_sync_request(struct cc_drvdata *drvdata, 36 int send_request_init(struct cc_drvdata *drvdata, struct cc_hw_desc *desc, 39 void complete_request(struct cc_drvdata *drvdata); 41 void cc_req_mgr_fini(struct cc_drvdata *drvdata); 44 int cc_resume_req_queue(struct cc_drvdata *drvdata); 46 int cc_suspend_req_queue(struct cc_drvdata *drvdata); 48 bool cc_req_queue_suspended(struct cc_drvdata *drvdata);
|
D | cc_fips.h | 17 int cc_fips_init(struct cc_drvdata *p_drvdata); 18 void cc_fips_fini(struct cc_drvdata *drvdata); 19 void fips_handler(struct cc_drvdata *drvdata); 20 void cc_set_ree_fips_status(struct cc_drvdata *drvdata, bool ok); 24 static inline int cc_fips_init(struct cc_drvdata *p_drvdata) in cc_fips_init() 29 static inline void cc_fips_fini(struct cc_drvdata *drvdata) {} in cc_fips_fini() 30 static inline void cc_set_ree_fips_status(struct cc_drvdata *drvdata, in cc_set_ree_fips_status() 32 static inline void fips_handler(struct cc_drvdata *drvdata) {} in fips_handler()
|
D | cc_driver.h | 109 struct cc_drvdata { struct 142 struct cc_drvdata *drvdata; argument 160 struct cc_drvdata *drvdata; 168 static inline struct device *drvdata_to_dev(struct cc_drvdata *drvdata) in drvdata_to_dev() 181 int init_cc_regs(struct cc_drvdata *drvdata, bool is_probe); 182 void fini_cc_regs(struct cc_drvdata *drvdata); 183 int cc_clk_on(struct cc_drvdata *drvdata); 184 void cc_clk_off(struct cc_drvdata *drvdata); 186 static inline void cc_iowrite(struct cc_drvdata *drvdata, u32 reg, u32 val) in cc_iowrite() 191 static inline u32 cc_ioread(struct cc_drvdata *drvdata, u32 reg) in cc_ioread() [all …]
|
D | cc_fips.c | 19 static bool cc_get_tee_fips_status(struct cc_drvdata *drvdata) in cc_get_tee_fips_status() 31 void cc_set_ree_fips_status(struct cc_drvdata *drvdata, bool status) in cc_set_ree_fips_status() 43 void cc_fips_fini(struct cc_drvdata *drvdata) in cc_fips_fini() 57 void fips_handler(struct cc_drvdata *drvdata) in fips_handler() 78 struct cc_drvdata *drvdata = (struct cc_drvdata *)devarg; in fips_dsr() 99 int cc_fips_init(struct cc_drvdata *p_drvdata) in cc_fips_init()
|
D | cc_buffer_mgr.h | 39 int cc_buffer_mgr_init(struct cc_drvdata *drvdata); 41 int cc_buffer_mgr_fini(struct cc_drvdata *drvdata); 43 int cc_map_cipher_request(struct cc_drvdata *drvdata, void *ctx, 51 int cc_map_aead_request(struct cc_drvdata *drvdata, struct aead_request *req); 55 int cc_map_hash_request_final(struct cc_drvdata *drvdata, void *ctx, 59 int cc_map_hash_request_update(struct cc_drvdata *drvdata, void *ctx,
|
D | cc_debugfs.h | 11 int cc_debugfs_init(struct cc_drvdata *drvdata); 12 void cc_debugfs_fini(struct cc_drvdata *drvdata); 23 static inline int cc_debugfs_init(struct cc_drvdata *drvdata) in cc_debugfs_init() 28 static inline void cc_debugfs_fini(struct cc_drvdata *drvdata) {} in cc_debugfs_fini()
|
D | cc_pm.c | 24 struct cc_drvdata *drvdata = dev_get_drvdata(dev); in cc_pm_suspend() 42 struct cc_drvdata *drvdata = dev_get_drvdata(dev); in cc_pm_resume() 75 struct cc_drvdata *drvdata = dev_get_drvdata(dev); in cc_pm_get() 88 struct cc_drvdata *drvdata = dev_get_drvdata(dev); in cc_pm_put_suspend() 101 int cc_pm_init(struct cc_drvdata *drvdata) in cc_pm_init() 119 void cc_pm_fini(struct cc_drvdata *drvdata) in cc_pm_fini()
|
D | cc_ivgen.h | 19 int cc_ivgen_init(struct cc_drvdata *drvdata); 26 void cc_ivgen_fini(struct cc_drvdata *drvdata); 36 int cc_init_iv_sram(struct cc_drvdata *drvdata); 51 int cc_get_iv(struct cc_drvdata *drvdata, dma_addr_t iv_out_dma[],
|
D | cc_request_mgr.c | 60 void cc_req_mgr_fini(struct cc_drvdata *drvdata) in cc_req_mgr_fini() 88 int cc_req_mgr_init(struct cc_drvdata *drvdata) in cc_req_mgr_init() 159 static void enqueue_seq(struct cc_drvdata *drvdata, struct cc_hw_desc seq[], in enqueue_seq() 198 static int cc_queues_status(struct cc_drvdata *drvdata, in cc_queues_status() 253 static int cc_do_send_request(struct cc_drvdata *drvdata, in cc_do_send_request() 335 static void cc_enqueue_backlog(struct cc_drvdata *drvdata, in cc_enqueue_backlog() 347 static void cc_proc_backlog(struct cc_drvdata *drvdata) in cc_proc_backlog() 411 int cc_send_request(struct cc_drvdata *drvdata, struct cc_crypto_req *cc_req, in cc_send_request() 463 int cc_send_sync_request(struct cc_drvdata *drvdata, in cc_send_sync_request() 520 int send_request_init(struct cc_drvdata *drvdata, struct cc_hw_desc *desc, in send_request_init() [all …]
|
D | cc_sram_mgr.h | 11 struct cc_drvdata; 30 int cc_sram_mgr_init(struct cc_drvdata *drvdata); 37 void cc_sram_mgr_fini(struct cc_drvdata *drvdata); 48 cc_sram_addr_t cc_sram_alloc(struct cc_drvdata *drvdata, u32 size);
|
D | cc_pm.h | 18 int cc_pm_init(struct cc_drvdata *drvdata); 19 void cc_pm_fini(struct cc_drvdata *drvdata); 27 static inline int cc_pm_init(struct cc_drvdata *drvdata) in cc_pm_init() 32 static inline void cc_pm_fini(struct cc_drvdata *drvdata) {} in cc_pm_fini()
|
D | cc_driver.c | 81 struct cc_drvdata *drvdata = (struct cc_drvdata *)dev_id; in cc_isr() 142 int init_cc_regs(struct cc_drvdata *drvdata, bool is_probe) in init_cc_regs() 186 struct cc_drvdata *new_drvdata; in init_cc_resources() 423 void fini_cc_regs(struct cc_drvdata *drvdata) in fini_cc_regs() 431 struct cc_drvdata *drvdata = in cleanup_cc_resources() 432 (struct cc_drvdata *)platform_get_drvdata(plat_dev); in cleanup_cc_resources() 448 int cc_clk_on(struct cc_drvdata *drvdata) in cc_clk_on() 464 void cc_clk_off(struct cc_drvdata *drvdata) in cc_clk_off()
|
D | cc_hash.h | 79 int cc_hash_alloc(struct cc_drvdata *drvdata); 80 int cc_init_hash_sram(struct cc_drvdata *drvdata); 81 int cc_hash_free(struct cc_drvdata *drvdata);
|
D | cc_sram_mgr.c | 20 void cc_sram_mgr_fini(struct cc_drvdata *drvdata) in cc_sram_mgr_fini() 33 int cc_sram_mgr_init(struct cc_drvdata *drvdata) in cc_sram_mgr_init() 71 cc_sram_addr_t cc_sram_alloc(struct cc_drvdata *drvdata, u32 size) in cc_sram_alloc()
|
D | cc_cipher.h | 28 int cc_cipher_alloc(struct cc_drvdata *drvdata); 30 int cc_cipher_free(struct cc_drvdata *drvdata);
|
D | cc_ivgen.c | 104 int cc_init_iv_sram(struct cc_drvdata *drvdata) in cc_init_iv_sram() 141 void cc_ivgen_fini(struct cc_drvdata *drvdata) in cc_ivgen_fini() 170 int cc_ivgen_init(struct cc_drvdata *drvdata) in cc_ivgen_init() 221 int cc_get_iv(struct cc_drvdata *drvdata, dma_addr_t iv_out_dma[], in cc_get_iv()
|
D | cc_aead.h | 106 int cc_aead_alloc(struct cc_drvdata *drvdata); 107 int cc_aead_free(struct cc_drvdata *drvdata);
|
D | cc_debugfs.c | 54 int cc_debugfs_init(struct cc_drvdata *drvdata) in cc_debugfs_init() 99 void cc_debugfs_fini(struct cc_drvdata *drvdata) in cc_debugfs_fini()
|
D | cc_buffer_mgr.c | 476 int cc_map_cipher_request(struct cc_drvdata *drvdata, void *ctx, in cc_map_cipher_request() 572 struct cc_drvdata *drvdata = dev_get_drvdata(dev); in cc_unmap_aead_request() 712 static int cc_aead_chain_iv(struct cc_drvdata *drvdata, in cc_aead_chain_iv() 756 static int cc_aead_chain_assoc(struct cc_drvdata *drvdata, in cc_aead_chain_assoc() 876 static int cc_prepare_aead_data_mlli(struct cc_drvdata *drvdata, in cc_prepare_aead_data_mlli() 1008 static int cc_aead_chain_data(struct cc_drvdata *drvdata, in cc_aead_chain_data() 1128 static void cc_update_aead_mlli_nents(struct cc_drvdata *drvdata, in cc_update_aead_mlli_nents() 1179 int cc_map_aead_request(struct cc_drvdata *drvdata, struct aead_request *req) in cc_map_aead_request() 1378 int cc_map_hash_request_final(struct cc_drvdata *drvdata, void *ctx, in cc_map_hash_request_final() 1457 int cc_map_hash_request_update(struct cc_drvdata *drvdata, void *ctx, in cc_map_hash_request_update() [all …]
|
D | cc_hash.c | 60 struct cc_drvdata *drvdata; 71 struct cc_drvdata *drvdata; 1523 struct cc_drvdata *drvdata; 1776 int cc_init_hash_sram(struct cc_drvdata *drvdata) in cc_init_hash_sram() 1892 int cc_hash_alloc(struct cc_drvdata *drvdata) in cc_hash_alloc() 1997 int cc_hash_free(struct cc_drvdata *drvdata) in cc_hash_free() 2182 struct cc_drvdata *_drvdata = (struct cc_drvdata *)drvdata; in cc_larval_digest_addr() 2227 struct cc_drvdata *_drvdata = (struct cc_drvdata *)drvdata; in cc_digest_len_addr()
|
D | cc_cipher.c | 37 struct cc_drvdata *drvdata; 1363 int cc_cipher_free(struct cc_drvdata *drvdata) in cc_cipher_free() 1382 int cc_cipher_alloc(struct cc_drvdata *drvdata) in cc_cipher_alloc()
|
D | cc_aead.c | 50 struct cc_drvdata *drvdata; 2624 int cc_aead_free(struct cc_drvdata *drvdata) in cc_aead_free() 2645 int cc_aead_alloc(struct cc_drvdata *drvdata) in cc_aead_alloc()
|