Home
last modified time | relevance | path

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

12

/optee_os/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/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_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_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_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_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_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_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_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_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_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_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/core/lib/libtomcrypt/src/pk/x25519/
A Dx25519_make_key.c37 if (prng_descriptor[wprng]->read(key->priv, sizeof(key->priv), prng) != sizeof(key->priv)) { in x25519_make_key()
41 tweetnacl_crypto_scalarmult_base(key->pub, key->priv); in x25519_make_key()
A Dx25519_set_key.c40 XMEMCPY(key->priv, k, sizeof(key->priv)); in x25519_set_key()
41 tweetnacl_crypto_scalarmult_base(key->pub, key->priv); in x25519_set_key()
A Dx25519_shared_secret.c43 tweetnacl_crypto_scalarmult(out, private_key->priv, public_key->pub); in x25519_shared_secret()
/optee_os/core/lib/libtomcrypt/src/pk/ec25519/
A Dec25519_export.c60 … if ((err = der_encode_octet_string(key->priv, 32uL, private_key, &private_key_len)) != CRYPT_OK) { in ec25519_export()
71 if (*outlen < sizeof(key->priv)) { in ec25519_export()
74 XMEMCPY(out, key->priv, sizeof(key->priv)); in ec25519_export()
77 *outlen = sizeof(key->priv); in ec25519_export()
A Dec25519_import_pkcs8.c75 key_len = sizeof(key->priv); in ec25519_import_pkcs8()
76 …if ((err = der_decode_octet_string(private_key, sizeof(private_key), key->priv, &key_len)) == CRYP… in ec25519_import_pkcs8()
77 fp(key->pub, key->priv); in ec25519_import_pkcs8()
/optee_os/core/lib/libtomcrypt/src/pk/ed25519/
A Ded25519_set_key.c40 XMEMCPY(key->priv, sk, sizeof(key->priv)); in ed25519_set_key()
41 tweetnacl_crypto_sk_to_pk(key->pub, key->priv); in ed25519_set_key()
A Ded25519_make_key.c33 if ((err = tweetnacl_crypto_sign_keypair(prng, wprng, key->pub, key->priv)) != CRYPT_OK) { in ed25519_make_key()
A Ded25519_sign.c54 private_key->priv, private_key->pub); in ed25519_sign()
/optee_os/core/drivers/clk/
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/core/drivers/crypto/caam/include/
A Dcaam_utils_dmaobj.h21 void *priv; member
/optee_os/core/include/drivers/
A Dclk.h32 void *priv; member

Completed in 29 milliseconds

12