Home
last modified time | relevance | path

Searched refs:priv (Results 1 – 25 of 34) sorted by relevance

12

/optee_os-3.20.0/core/drivers/crypto/caam/utils/
A Dutils_dmaobj.c158 obj->priv = priv; in allocate_private()
808 priv = obj->priv; in caam_dmaobj_output_sgtbuf()
839 priv = obj->priv; in caam_dmaobj_cache_push()
859 priv = obj->priv; in caam_dmaobj_copy_to_orig()
905 priv = obj->priv; in caam_dmaobj_copy_ltrim_to_orig()
980 priv = obj->priv; in caam_dmaobj_free()
1040 priv = obj->priv; in caam_dmaobj_add_first_block()
1085 priv = from->priv; in caam_dmaobj_derive_sgtbuf()
1116 priv = obj->priv; in get_dma_max_alloc_size()
1155 priv = obj->priv; in try_allocate_dmabuf_max_size()
[all …]
/optee_os-3.20.0/core/drivers/clk/
A Dclk-stm32-core.c36 return priv->base; in clk_stm32_get_rcc_base()
271 if (div_id >= priv->nb_div) in stm32_div_set_value()
274 divider = &priv->div[div_id]; in stm32_div_set_value()
501 stm32_clock_data = priv; in clk_stm32_init()
503 priv->base = base; in clk_stm32_init()
541 if (clock_id > priv->nb_clk_refs) in stm32mp_rcc_clock_id_to_clk()
544 return priv->clk_refs[clock_id]; in stm32mp_rcc_clock_id_to_clk()
571 struct clk *clk = priv->clk_refs[i]; in clk_stm32_register_clocks()
589 if (priv->is_critical && priv->is_critical(clk)) in clk_stm32_register_clocks()
599 clk_stm32_register_clocks(priv); in stm32mp_clk_provider_probe_final()
[all …]
A Dclk-stm32mp13.c712 address = priv->base + css_data->offset; in clk_oscillator_set_css()
852 stm32_enable_oscillator_hse(priv, pdata); in stm32_clk_oscillators_enable()
853 stm32_enable_oscillator_lse(priv, pdata); in stm32_clk_oscillators_enable()
1065 ret = stm32_clk_configure_mux(priv, in stm32_clk_source_configure()
1391 ret = stm32_clk_hsidiv_configure(priv); in stm32mp1_init_clock_tree()
1399 ret = stm32_clk_pll_configure(priv); in stm32mp1_init_clock_tree()
1409 ret = stm32_clk_source_configure(priv); in stm32mp1_init_clock_tree()
1899 uintptr_t rcc_base = priv->base; in ck_timer_get_rate_ops()
1946 .priv = &(struct clk_stm32_pll_cfg) {\
1988 .priv = &(struct clk_stm32_pll_cfg) {
[all …]
A Dclk-stm32-core.h165 .priv = &(struct clk_fixed_rate_cfg) {\
176 .priv = &(struct fixed_factor_cfg) {\
189 .priv = &(struct clk_stm32_gate_cfg) {\
201 .priv = &(struct clk_stm32_div_cfg) {\
213 .priv = &(struct clk_stm32_mux_cfg) {\
225 .priv = &(struct clk_stm32_gate_cfg) {\
238 .priv = &(struct clk_stm32_composite_cfg) {\
252 TEE_Result clk_stm32_init(struct clk_stm32_priv *priv, uintptr_t base);
255 struct clk_stm32_priv *priv);
A Dfixed_clk.c19 struct fixed_clock_data *d = clk->priv; in fixed_clk_get_rate()
58 clk->priv = fcd; in fixed_clock_probe()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dx25519.c32 key->priv = calloc(1, key_size_bytes); in crypto_acipher_alloc_x25519_keypair()
35 if (!key->priv || !key->pub) { in crypto_acipher_alloc_x25519_keypair()
36 free(key->priv); in crypto_acipher_alloc_x25519_keypair()
58 key_size_bytes < sizeof(ltc_tmp_key.priv)) in crypto_acipher_gen_x25519_key()
62 memcpy(key->priv, ltc_tmp_key.priv, sizeof(ltc_tmp_key.priv)); in crypto_acipher_gen_x25519_key()
87 sizeof(ltc_public_key.priv) == X25519_KEY_SIZE_BYTES); in crypto_acipher_x25519_shared_secret()
90 memcpy(ltc_private_key.priv, private_key->priv, X25519_KEY_SIZE_BYTES); in crypto_acipher_x25519_shared_secret()
A Ded25519.c27 key->priv = calloc(1, key_size >> 3); in crypto_acipher_alloc_ed25519_keypair()
30 if (!key->priv || !key->pub) { in crypto_acipher_alloc_ed25519_keypair()
31 free(key->priv); in crypto_acipher_alloc_ed25519_keypair()
52 key_size >= sizeof(ltc_tmp_key.priv)); in crypto_acipher_gen_ed25519_key()
55 memcpy(key->priv, ltc_tmp_key.priv, sizeof(ltc_tmp_key.priv)); in crypto_acipher_gen_ed25519_key()
77 memcpy(private_key.priv, key->priv, sizeof(private_key.priv)); in crypto_acipher_ed25519_sign()
108 memcpy(private_key.priv, key->priv, sizeof(private_key.priv)); in crypto_acipher_ed25519ctx_sign()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/x25519/
A Dx25519_make_key.c29 if (prng_descriptor[wprng]->read(key->priv, sizeof(key->priv), prng) != sizeof(key->priv)) { in x25519_make_key()
33 tweetnacl_crypto_scalarmult_base(key->pub, key->priv); in x25519_make_key()
A Dx25519_import_raw.c28 XMEMCPY(key->priv, in, sizeof(key->priv)); in x25519_import_raw()
29 tweetnacl_crypto_scalarmult_base(key->pub, key->priv); in x25519_import_raw()
/optee_os-3.20.0/core/drivers/clk/sam/
A Dat91_audio_pll.c77 struct clk_audio_frac *frac = clk->priv; in clk_audio_pll_frac_enable()
101 struct clk_audio_pad *apad_ck = clk->priv; in clk_audio_pll_pad_enable()
114 struct clk_audio_pmc *apmc_ck = clk->priv; in clk_audio_pll_pmc_enable()
126 struct clk_audio_frac *frac = clk->priv; in clk_audio_pll_frac_disable()
137 struct clk_audio_pad *apad_ck = clk->priv; in clk_audio_pll_pad_disable()
145 struct clk_audio_pmc *apmc_ck = clk->priv; in clk_audio_pll_pmc_disable()
164 struct clk_audio_frac *frac = clk->priv; in clk_audio_pll_frac_get_rate()
223 struct clk_audio_frac *frac = clk->priv; in clk_audio_pll_frac_set_rate()
319 clk->priv = frac_ck; in at91_clk_register_audio_pll_frac()
350 clk->priv = apad_ck; in at91_clk_register_audio_pll_pad()
[all …]
A Dat91_main.c46 struct main_rc_osc *osc = clk->priv; in pmc_main_rc_osc_enable()
64 struct main_rc_osc *osc = clk->priv; in pmc_main_rc_osc_disable()
107 clk->priv = osc; in pmc_register_main_rc_osc()
130 struct pmc_data *pmc = clk->priv; in pmc_main_osc_enable()
151 struct pmc_data *pmc = clk->priv; in pmc_main_osc_disable()
178 clk->priv = pmc; in pmc_register_main_osc()
229 struct pmc_data *pmc = clk->priv; in clk_sam9x5_main_enable()
240 struct pmc_data *pmc = clk->priv; in clk_sam9x5_main_get_rate()
247 struct pmc_data *pmc = clk->priv; in clk_sam9x5_main_set_parent()
274 struct pmc_data *pmc = clk->priv; in clk_sam9x5_main_get_parent()
[all …]
A Dat91_usb.c29 struct at91sam9x5_clk_usb *usb = clk->priv; in at91sam9x5_clk_usb_get_rate()
40 struct at91sam9x5_clk_usb *usb = clk->priv; in at91sam9x5_clk_usb_set_parent()
52 struct at91sam9x5_clk_usb *usb = clk->priv; in at91sam9x5_clk_usb_get_parent()
62 struct at91sam9x5_clk_usb *usb = clk->priv; in at91sam9x5_clk_usb_set_rate()
104 clk->priv = usb; in _at91sam9x5_clk_register_usb()
A Dat91_generated.c33 struct clk_generated *gck = clk->priv; in clk_generated_enable()
51 struct clk_generated *gck = clk->priv; in clk_generated_disable()
62 struct clk_generated *gck = clk->priv; in clk_generated_get_rate()
70 struct clk_generated *gck = clk->priv; in clk_generated_set_parent()
82 struct clk_generated *gck = clk->priv; in clk_generated_get_parent()
91 struct clk_generated *gck = clk->priv; in clk_generated_set_rate()
168 clk->priv = gck; in at91_clk_register_generated()
A Dat91_plldiv.c18 struct pmc_data *pmc = clk->priv; in clk_plldiv_get_rate()
30 struct pmc_data *pmc = clk->priv; in clk_plldiv_set_rate()
56 clk->priv = pmc; in at91_clk_register_plldiv()
A Dat91_h32mx.c20 struct pmc_data *pmc = clk->priv; in clk_sama5d4_h32mx_get_rate()
36 struct pmc_data *pmc = clk->priv; in clk_sama5d4_h32mx_set_rate()
66 clk->priv = pmc; in at91_clk_register_h32mx()
A Dat91_peripheral.c33 struct clk_sam9x5_peripheral *periph = clk->priv; in clk_sam9x5_peripheral_autodiv()
58 struct clk_sam9x5_peripheral *periph = clk->priv; in clk_sam9x5_peripheral_enable()
77 struct clk_sam9x5_peripheral *periph = clk->priv; in clk_sam9x5_peripheral_disable()
93 struct clk_sam9x5_peripheral *periph = clk->priv; in clk_sam9x5_peripheral_get_rate()
118 struct clk_sam9x5_peripheral *periph = clk->priv; in clk_sam9x5_peripheral_set_rate()
178 clk->priv = periph; in at91_clk_register_sam9x5_periph()
A Dat91_i2s_mux.c23 struct clk_i2s_mux *mux = clk->priv; in clk_i2s_mux_get_parent()
31 struct clk_i2s_mux *mux = clk->priv; in clk_i2s_mux_set_parent()
64 clk->priv = i2s_ck; in at91_clk_i2s_mux_register()
A Dat91_programmable.c35 struct clk_programmable *prog = clk->priv; in clk_programmable_get_rate()
50 struct clk_programmable *prog = clk->priv; in clk_programmable_set_parent()
72 struct clk_programmable *prog = clk->priv; in clk_programmable_get_parent()
96 struct clk_programmable *prog = clk->priv; in clk_programmable_set_rate()
153 clk->priv = prog; in at91_clk_register_programmable()
A Dat91_system.c38 struct clk_system *sys = clk->priv; in clk_system_enable()
53 struct clk_system *sys = clk->priv; in clk_system_disable()
86 clk->priv = sys; in at91_clk_register_system()
A Dat91_master.c38 struct clk_master *master = clk->priv; in clk_master_enable()
52 struct clk_master *master = clk->priv; in clk_master_div_get_rate()
80 struct clk_master *master = clk->priv; in clk_master_pres_get_rate()
96 struct clk_master *master = clk->priv; in clk_master_pres_get_parent()
139 clk->priv = master; in at91_clk_register_master_internal()
A Dat91_utmi.c36 struct clk_utmi *utmi = clk->priv; in clk_utmi_enable()
90 struct clk_utmi *utmi = clk->priv; in clk_utmi_disable()
129 clk->priv = utmi; in at91_clk_register_utmi()
A Dat91_pll.c56 struct clk_pll *pll = clk->priv; in clk_pll_enable()
98 struct clk_pll *pll = clk->priv; in clk_pll_disable()
107 struct clk_pll *pll = clk->priv; in clk_pll_get_rate()
230 struct clk_pll *pll = clk->priv; in clk_pll_set_rate()
291 clk->priv = pll; in at91_clk_register_pll()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/
A Dec25519_export.c53 … if ((err = der_encode_octet_string(key->priv, 32uL, private_key, &private_key_len)) != CRYPT_OK) { in ec25519_export()
64 if (*outlen < sizeof(key->priv)) { in ec25519_export()
67 XMEMCPY(out, key->priv, sizeof(key->priv)); in ec25519_export()
70 *outlen = sizeof(key->priv); in ec25519_export()
A Dec25519_import_pkcs8.c68 key_len = sizeof(key->priv); in ec25519_import_pkcs8()
69 …if ((err = der_decode_octet_string(private_key, sizeof(private_key), key->priv, &key_len)) == CRYP… in ec25519_import_pkcs8()
70 fp(key->pub, key->priv); in ec25519_import_pkcs8()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ed25519/
A Ded25519_import_raw.c28 XMEMCPY(key->priv, in, sizeof(key->priv)); in ed25519_import_raw()
29 tweetnacl_crypto_sk_to_pk(key->pub, key->priv); in ed25519_import_raw()

Completed in 28 milliseconds

12