Home
last modified time | relevance | path

Searched refs:ctrl_base (Results 1 – 12 of 12) sorted by relevance

/optee_os/core/drivers/crypto/caam/hal/imx_6_7/
A Dhal_jr.c23 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base, paddr_t jr_offset, in caam_hal_jr_setowner() argument
33 val = io_caam_read32(ctrl_base + JRxMIDR_MS(jr_idx)); in caam_hal_jr_setowner()
66 val = io_caam_read32(ctrl_base + JRxMIDR_LS(jr_idx)); in caam_hal_jr_setowner()
79 io_caam_write32(ctrl_base + JRxMIDR_LS(jr_idx), cfg_ls); in caam_hal_jr_setowner()
80 io_caam_write32(ctrl_base + JRxMIDR_MS(jr_idx), cfg_ms); in caam_hal_jr_setowner()
87 void caam_hal_jr_prepare_backup(vaddr_t ctrl_base, paddr_t jr_offset) in caam_hal_jr_prepare_backup() argument
91 caam_pwr_add_backup(ctrl_base + (jr_idx * JRxMIDR_SIZE), jrcfg_backup, in caam_hal_jr_prepare_backup()
/optee_os/core/drivers/crypto/caam/hal/imx_8m/
A Dhal_jr.c23 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base, paddr_t jr_offset, in caam_hal_jr_setowner() argument
33 val = io_caam_read32(ctrl_base + JRxDID_MS(jr_idx)); in caam_hal_jr_setowner()
62 val = io_caam_read32(ctrl_base + JRxDID_LS(jr_idx)); in caam_hal_jr_setowner()
75 io_caam_write32(ctrl_base + JRxDID_LS(jr_idx), cfg_ls); in caam_hal_jr_setowner()
76 io_caam_write32(ctrl_base + JRxDID_MS(jr_idx), cfg_ms); in caam_hal_jr_setowner()
83 void caam_hal_jr_prepare_backup(vaddr_t ctrl_base, paddr_t jr_offset) in caam_hal_jr_prepare_backup() argument
87 caam_pwr_add_backup(ctrl_base + (jr_idx * JRxDID_SIZE), jrcfg_backup, in caam_hal_jr_prepare_backup()
/optee_os/core/drivers/crypto/caam/hal/imx_8ulp/
A Dhal_jr.c24 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base, paddr_t jr_offset, in caam_hal_jr_setowner() argument
34 val = io_caam_read32(ctrl_base + JRxDID_MS(jr_idx)); in caam_hal_jr_setowner()
63 val = io_caam_read32(ctrl_base + JRxDID_LS(jr_idx)); in caam_hal_jr_setowner()
76 io_caam_write32(ctrl_base + JRxDID_LS(jr_idx), cfg_ls); in caam_hal_jr_setowner()
77 io_caam_write32(ctrl_base + JRxDID_MS(jr_idx), cfg_ms); in caam_hal_jr_setowner()
84 void caam_hal_jr_prepare_backup(vaddr_t ctrl_base, paddr_t jr_offset) in caam_hal_jr_prepare_backup() argument
88 caam_pwr_add_backup(ctrl_base + (jr_idx * JRxDID_SIZE), jrcfg_backup, in caam_hal_jr_prepare_backup()
/optee_os/core/drivers/crypto/caam/hal/common/
A Dhal_cfg.c20 vaddr_t ctrl_base = 0; in caam_hal_cfg_get_conf() local
30 caam_hal_cfg_get_ctrl_dt(fdt, &ctrl_base); in caam_hal_cfg_get_conf()
32 if (!ctrl_base) { in caam_hal_cfg_get_conf()
33 ctrl_base = (vaddr_t)core_mmu_add_mapping(MEM_AREA_IO_SEC, in caam_hal_cfg_get_conf()
36 if (!ctrl_base) { in caam_hal_cfg_get_conf()
42 jrcfg->base = ctrl_base; in caam_hal_cfg_get_conf()
A Dhal_cfg_dt.c54 void caam_hal_cfg_get_ctrl_dt(void *fdt, vaddr_t *ctrl_base) in caam_hal_cfg_get_ctrl_dt() argument
60 *ctrl_base = 0; in caam_hal_cfg_get_ctrl_dt()
84 *ctrl_base = (vaddr_t)core_mmu_add_mapping(MEM_AREA_IO_SEC, pctrl_base, in caam_hal_cfg_get_ctrl_dt()
86 if (!*ctrl_base) { in caam_hal_cfg_get_ctrl_dt()
91 HAL_TRACE("Map Controller 0x%" PRIxVA, *ctrl_base); in caam_hal_cfg_get_ctrl_dt()
/optee_os/core/drivers/crypto/caam/hal/ls/
A Dhal_jr.c14 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base, paddr_t jr_offset, in caam_hal_jr_setowner() argument
22 val = io_caam_read32(ctrl_base + JRxMIDR_MS(jr_idx)); in caam_hal_jr_setowner()
26 io_caam_write32(ctrl_base + JRxMIDR_MS(jr_idx), val); in caam_hal_jr_setowner()
32 void caam_hal_jr_prepare_backup(vaddr_t ctrl_base __unused, in caam_hal_jr_prepare_backup()
/optee_os/core/drivers/crypto/caam/include/
A Dcaam_hal_cfg.h37 void caam_hal_cfg_get_ctrl_dt(void *fdt, vaddr_t *ctrl_base);
56 vaddr_t *ctrl_base) in caam_hal_cfg_get_ctrl_dt() argument
58 *ctrl_base = 0; in caam_hal_cfg_get_ctrl_dt()
A Dcaam_hal_jr.h20 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base, paddr_t jr_offset,
135 void caam_hal_jr_prepare_backup(vaddr_t ctrl_base, paddr_t jr_offset);
/optee_os/core/drivers/
A Dls_i2c.c126 vaddr_t ctrl_base = 0; in i2c_init() local
142 if (dt_map_dev(fdt, node, &ctrl_base, &size) < 0) { in i2c_init()
151 i2c_data->base = ctrl_base; in i2c_init()
153 regs = (struct i2c_regs *)ctrl_base; in i2c_init()
157 ibfd = i2c_get_ibfd(ctrl_base, clock_divisor); in i2c_init()
161 i2c_reset(ctrl_base); in i2c_init()
A Dls_gpio.c181 vaddr_t ctrl_base = 0; in get_info_from_device_tree() local
197 if (dt_map_dev(fdt, node, &ctrl_base, &size) < 0) { in get_info_from_device_tree()
206 gpio_data->gpio_base = ctrl_base; in get_info_from_device_tree()
A Dls_dspi.c536 vaddr_t ctrl_base = 0; in get_info_from_device_tree() local
559 if (dt_map_dev(fdt, node, &ctrl_base, &size) < 0) { in get_info_from_device_tree()
567 dspi_data->base = ctrl_base; in get_info_from_device_tree()
/optee_os/core/drivers/crypto/caam/hal/imx_8q/
A Dhal_jr.c11 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base __unused, in caam_hal_jr_setowner()
28 void caam_hal_jr_prepare_backup(vaddr_t ctrl_base __unused, in caam_hal_jr_prepare_backup()

Completed in 20 milliseconds