Home
last modified time | relevance | path

Searched refs:init (Results 1 – 25 of 88) sorted by relevance

1234

/optee_os-3.20.0/core/include/
A Dinitcall.h94 #define early_init(fn) __define_initcall(init, 1, fn)
95 #define early_init_late(fn) __define_initcall(init, 2, fn)
96 #define service_init(fn) __define_initcall(init, 3, fn)
97 #define service_init_late(fn) __define_initcall(init, 4, fn)
98 #define driver_init(fn) __define_initcall(init, 5, fn)
99 #define driver_init_late(fn) __define_initcall(init, 6, fn)
100 #define release_init_resource(fn) __define_initcall(init, 7, fn)
/optee_os-3.20.0/core/drivers/
A Dstm32_i2c.c431 if (init->analog_filter) { in i2c_compute_timing()
514 init->rise_time + in i2c_compute_timing()
515 init->fall_time; in i2c_compute_timing()
624 init->bus_rate = get_lower_rate(init->bus_rate); in i2c_setup_timing()
626 init->bus_rate); in i2c_setup_timing()
641 init->rise_time, init->fall_time); in i2c_setup_timing()
643 init->analog_filter ? "On" : "Off", init->digital_filter_coef); in i2c_setup_timing()
696 memset(init, 0, sizeof(*init)); in stm32_i2c_get_setup_from_fdt()
702 init->dt_status = info.status; in stm32_i2c_get_setup_from_fdt()
703 init->pbase = info.reg; in stm32_i2c_get_setup_from_fdt()
[all …]
A Dversal_huk.c168 struct versal_aes_init *init = NULL; in aes_gcm_encrypt() local
218 versal_mbox_alloc(sizeof(*init), NULL, &init_buf); in aes_gcm_encrypt()
220 init = init_buf.buf; in aes_gcm_encrypt()
221 init->operation = VERSAL_AES_GCM_ENCRYPT; in aes_gcm_encrypt()
222 init->key_len = VERSAL_AES_KEY_SIZE_256; in aes_gcm_encrypt()
223 init->iv_addr = virt_to_phys(p.buf); in aes_gcm_encrypt()
224 init->key_src = key_id; in aes_gcm_encrypt()
226 reg_pair_from_64(virt_to_phys(init), &cmd.data[2], &cmd.data[1]); in aes_gcm_encrypt()
233 free(init); in aes_gcm_encrypt()
A Dversal_mbox.c275 TEE_Result versal_mbox_alloc(size_t len, const void *init, in versal_mbox_alloc() argument
284 if (init) in versal_mbox_alloc()
285 memcpy(mem->buf, init, len); in versal_mbox_alloc()
/optee_os-3.20.0/core/drivers/crypto/versal/
A Dauthenc.c179 struct versal_init init; member
364 init = init_buf.buf; in do_init()
367 init->key_src = engine.key_src; in do_init()
368 init->key_len = key_len; in do_init()
389 engine.init.key_len = key_len; in do_init()
391 engine.init.nonce = nonce; in do_init()
392 engine.init.key = key; in do_init()
691 free(engine.init.nonce.buf); in do_free()
692 free(engine.init.key.buf); in do_free()
693 memset(&engine.init, 0, sizeof(engine.init)); in do_free()
[all …]
/optee_os-3.20.0/core/drivers/imx/dcp/
A Ddcp.c202 ret = dcp_cipher_do_init(&data, init); in dcp_cmac_subkey_generation()
284 if (!output || !init) in dcp_cmac()
290 ret = dcp_cipher_do_init(&data, init); in dcp_cmac()
343 struct dcp_cipher_init *init) in dcp_cipher_do_init() argument
348 if (!init || !data) in dcp_cipher_do_init()
361 if (init->op == DCP_ENCRYPT) in dcp_cipher_do_init()
364 if (init->key_mode == DCP_OTP) { in dcp_cipher_do_init()
367 } else if (init->key_mode == DCP_PAYLOAD) { in dcp_cipher_do_init()
369 if (!init->key) in dcp_cipher_do_init()
376 if (init->mode == DCP_CBC) { in dcp_cipher_do_init()
[all …]
A Ddcp_huk.c38 struct dcp_cipher_init init = { in dcp_generate_huk() local
60 res = dcp_cmac(&init, content, DCP_AES128_BLOCK_SIZE, hwkey->data); in dcp_generate_huk()
/optee_os-3.20.0/core/include/drivers/
A Dwdt.h34 TEE_Result (*init)(struct wdt_chip *chip, unsigned long *min_timeout, member
54 if (!wdt_chip->ops->init) in watchdog_init()
57 return wdt_chip->ops->init(wdt_chip, min_timeout, max_timeout); in watchdog_init()
A Dversal_mbox.h32 TEE_Result versal_mbox_alloc(size_t len, const void *init,
/optee_os-3.20.0/ldelf/
A Dldelf.ld.S70 .rel.init : { *(.rel.init) }
71 .rela.init : { *(.rela.init) }
/optee_os-3.20.0/ta/arch/arm/
A Dta.ld.S77 .rel.init : { *(.rel.init) }
78 .rela.init : { *(.rela.init) }
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Dcipher.c24 return ctx->ops->init(dinit->ctx, mode, in do_init()
73 .init = do_init,
A Dctr.c43 goto init; in se050_aes_ctr_init()
73 init: in se050_aes_ctr_init()
149 .init = se050_aes_ctr_init,
/optee_os-3.20.0/core/drivers/crypto/se050/glue/
A Di2c_stm32.c35 static int dt_i2c_bus_config(struct stm32_i2c_init_s *init, in dt_i2c_bus_config() argument
64 return stm32_i2c_get_setup_from_fdt(fdt, node, init, pctrl, pcnt); in dt_i2c_bus_config()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dlink.mk50 link-objs-init := $(filter-out \
106 init-ldargs := -T $(link-script-dummy) --no-check-sections --gc-sections \
108 init-ldadd := $(link-objs-init) $(link-out-dir)/version.o $(link-ldadd) \
110 cleanfiles += $(link-out-dir)/init.o
111 $(link-out-dir)/init.o: $(link-out-dir)/init_entries.txt
114 $(q)$(LDcore) $(init-ldargs) \
116 $(init-ldadd) -o $@
119 $(link-out-dir)/text_init.ld.S: $(link-out-dir)/init.o
125 $(link-out-dir)/rodata_init.ld.S: $(link-out-dir)/init.o
/optee_os-3.20.0/core/include/drivers/imx/
A Ddcp.h115 TEE_Result dcp_cmac(struct dcp_cipher_init *init, uint8_t *input,
133 struct dcp_cipher_init *init);
/optee_os-3.20.0/core/drivers/crypto/crypto_api/cipher/
A Dcipher.c89 if (cipher->op && cipher->op->init) { in cipher_init()
101 ret = cipher->op->init(&dinit); in cipher_init()
164 .init = cipher_init,
/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/
A Ddrvcrypt_cipher.h53 TEE_Result (*init)(struct drvcrypt_cipher_init *dinit); member
A Ddrvcrypt_authenc.h74 TEE_Result (*init)(struct drvcrypt_authenc_init *dinit); member
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/helper/
A Dhash_memory.c43 if ((err = hash_descriptor[hash]->init(md)) != CRYPT_OK) { in hash_memory()
A Dhash_filehandle.c43 if ((err = hash_descriptor[hash]->init(&md)) != CRYPT_OK) { in hash_filehandle()
A Dhash_memory_multi.c49 if ((err = hash_descriptor[hash]->init(md)) != CRYPT_OK) { in hash_memory_multi()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dhash.c40 if (hc->descr->init(&hc->state) == CRYPT_OK) in ltc_hash_init()
102 .init = ltc_hash_init,
/optee_os-3.20.0/scripts/
A Dmem_usage.py162 if args.all or args.init:
171 if (args.raw and (args.all or args.init or args.paged or
/optee_os-3.20.0/core/drivers/crypto/crypto_api/authenc/
A Dauthenc.c91 if (authenc->op && authenc->op->init) { in authenc_init()
104 ret = authenc->op->init(&dinit); in authenc_init()
295 .init = authenc_init,

Completed in 27 milliseconds

1234