Home
last modified time | relevance | path

Searched refs:jrcfg (Results 1 – 7 of 7) sorted by relevance

/optee_os-3.20.0/core/drivers/crypto/caam/hal/common/
A Dhal_cfg.c41 jrcfg->base = ctrl_base; in caam_hal_cfg_get_conf()
49 caam_hal_cfg_get_jobring_dt(fdt, jrcfg); in caam_hal_cfg_get_conf()
51 if (!jrcfg->offset) { in caam_hal_cfg_get_conf()
52 jrcfg->offset = (CFG_JR_INDEX + 1) * JRX_BLOCK_SIZE; in caam_hal_cfg_get_conf()
53 jrcfg->it_num = CFG_JR_INT; in caam_hal_cfg_get_conf()
59 caam_hal_cfg_disable_jobring_dt(fdt, jrcfg); in caam_hal_cfg_get_conf()
64 jrcfg->nb_jobs = NB_JOBS_QUEUE; in caam_hal_cfg_get_conf()
89 if (jr_offset == jrcfg->offset) { in caam_hal_cfg_setup_nsjobring()
90 caam_hal_jr_prepare_backup(jrcfg->base, jr_offset); in caam_hal_cfg_setup_nsjobring()
94 status = caam_hal_jr_setowner(jrcfg->base, jr_offset, in caam_hal_cfg_setup_nsjobring()
[all …]
A Dhal_cfg_dt.c94 void caam_hal_cfg_get_jobring_dt(void *fdt, struct caam_jrcfg *jrcfg) in caam_hal_cfg_get_jobring_dt() argument
117 jrcfg->offset = jr_offset; in caam_hal_cfg_get_jobring_dt()
118 jrcfg->it_num = jr_it_num; in caam_hal_cfg_get_jobring_dt()
122 void caam_hal_cfg_disable_jobring_dt(void *fdt, struct caam_jrcfg *jrcfg) in caam_hal_cfg_disable_jobring_dt() argument
130 if (_fdt_reg_base_address(fdt, node) == jrcfg->offset) { in caam_hal_cfg_disable_jobring_dt()
/optee_os-3.20.0/core/drivers/crypto/caam/
A Dcaam_ctrl.c28 struct caam_jrcfg jrcfg = {}; in crypto_driver_init() local
47 caam_hal_ctrl_init(jrcfg.base); in crypto_driver_init()
50 retstatus = caam_jr_init(&jrcfg); in crypto_driver_init()
64 retstatus = caam_hash_init(&jrcfg); in crypto_driver_init()
71 retstatus = caam_math_init(&jrcfg); in crypto_driver_init()
78 retstatus = caam_rsa_init(&jrcfg); in crypto_driver_init()
92 retstatus = caam_hmac_init(&jrcfg); in crypto_driver_init()
113 retstatus = caam_ecc_init(&jrcfg); in crypto_driver_init()
120 retstatus = caam_dh_init(&jrcfg); in crypto_driver_init()
127 retstatus = caam_dsa_init(&jrcfg); in crypto_driver_init()
[all …]
A Dcaam_jr.c534 enum caam_status caam_jr_init(struct caam_jrcfg *jrcfg) in caam_jr_init() argument
541 retstatus = do_jr_alloc(&jr_privdata, jrcfg->nb_jobs); in caam_jr_init()
545 jr_privdata->ctrladdr = jrcfg->base; in caam_jr_init()
546 jr_privdata->jroffset = jrcfg->offset; in caam_jr_init()
549 caam_hal_jr_setowner(jrcfg->base, jrcfg->offset, JROWN_ARM_S); in caam_jr_init()
555 jr_privdata->baseaddr = jrcfg->base + jrcfg->offset; in caam_jr_init()
581 jr_privdata->it_handler.it = jrcfg->it_num; in caam_jr_init()
/optee_os-3.20.0/core/drivers/crypto/caam/include/
A Dcaam_hal_cfg.h21 enum caam_status caam_hal_cfg_get_conf(struct caam_jrcfg *jrcfg);
28 void caam_hal_cfg_setup_nsjobring(struct caam_jrcfg *jrcfg);
45 void caam_hal_cfg_get_jobring_dt(void *fdt, struct caam_jrcfg *jrcfg);
53 void caam_hal_cfg_disable_jobring_dt(void *fdt, struct caam_jrcfg *jrcfg);
63 struct caam_jrcfg *jrcfg) in caam_hal_cfg_get_jobring_dt() argument
65 jrcfg->offset = 0; in caam_hal_cfg_get_jobring_dt()
66 jrcfg->it_num = 0; in caam_hal_cfg_get_jobring_dt()
71 struct caam_jrcfg *jrcfg __unused) in caam_hal_cfg_disable_jobring_dt()
A Dcaam_jr.h68 enum caam_status caam_jr_init(struct caam_jrcfg *jrcfg);
/optee_os-3.20.0/core/drivers/crypto/caam/hal/imx_8q/
A Dhal_cfg.c7 void caam_hal_cfg_setup_nsjobring(struct caam_jrcfg *jrcfg __unused) in caam_hal_cfg_setup_nsjobring()

Completed in 6 milliseconds