Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 41) sorted by relevance

12

/rk3399_rockchip-uboot/lib/optee_clientApi/
H A DOpteeClientApiLib.c138 TEEC_Context *context) in TEEC_InitializeContext() argument
144 name, context->devname, context->fd); in TEEC_InitializeContext()
147 if (context == NULL) { in TEEC_InitializeContext()
157 memset(context, 0, sizeof(*context)); in TEEC_InitializeContext()
181 TEEC_Result TEEC_FinalizeContext(TEEC_Context *context) in TEEC_FinalizeContext() argument
196 (size_t)context); in TEEC_FinalizeContext()
207 TEEC_Result TEEC_AllocateSharedMemory(TEEC_Context *context, in TEEC_AllocateSharedMemory() argument
213 context->devname, context->fd, shared_memory->size); in TEEC_AllocateSharedMemory()
215 if ((context == NULL) || (shared_memory == NULL)) { in TEEC_AllocateSharedMemory()
279 TEEC_Result TEEC_RegisterSharedMemory(TEEC_Context *context, in TEEC_RegisterSharedMemory() argument
[all …]
H A DOpteeClientSMC.c44 TEEC_Result TEEC_SMC_OpenSession(TEEC_Context *context, in TEEC_SMC_OpenSession() argument
/rk3399_rockchip-uboot/include/optee_include/
H A Dtee_client_api.h383 TEEC_Result TEEC_InitializeContext(const char *name, TEEC_Context *context);
400 TEEC_Result TEEC_FinalizeContext(TEEC_Context *context);
428 TEEC_Result TEEC_OpenSession(TEEC_Context *context,
478 TEEC_Result TEEC_RegisterSharedMemory(TEEC_Context *context,
492 TEEC_Result TEEC_AllocateSharedMemory(TEEC_Context *context,
H A DOpteeClientSMC.h13 TEEC_Result TEEC_SMC_OpenSession(TEEC_Context * context,
/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_core.c2231 musb->context.frame = musb_readw(musb_base, MUSB_FRAME); in musb_save_context()
2232 musb->context.testmode = musb_readb(musb_base, MUSB_TESTMODE); in musb_save_context()
2233 musb->context.busctl = musb_read_ulpi_buscontrol(musb->mregs); in musb_save_context()
2235 musb->context.power = musb_readb(musb_base, MUSB_POWER); in musb_save_context()
2236 musb->context.intrtxe = musb_readw(musb_base, MUSB_INTRTXE); in musb_save_context()
2237 musb->context.intrrxe = musb_readw(musb_base, MUSB_INTRRXE); in musb_save_context()
2238 musb->context.intrusbe = musb_readb(musb_base, MUSB_INTRUSBE); in musb_save_context()
2239 musb->context.index = musb_readb(musb_base, MUSB_INDEX); in musb_save_context()
2240 musb->context.devctl = musb_readb(musb_base, MUSB_DEVCTL); in musb_save_context()
2254 musb->context.index_regs[i].txmaxp = in musb_save_context()
[all …]
H A Dmusb_core.h319 struct musb_context_registers context; member
/rk3399_rockchip-uboot/lib/avb/libavb_atx/
H A Davb_atx_validate.c47 AvbSHA256Ctx context; in sha256() local
49 context.tot_len = length; in sha256()
50 avb_sha256_init(&context); in sha256()
51 avb_sha256_update(&context, data, length); in sha256()
52 uint8_t* tmp = avb_sha256_final(&context); in sha256()
60 AvbSHA512Ctx context; in sha512() local
62 context.tot_len = length; in sha512()
63 avb_sha512_init(&context); in sha512()
64 avb_sha512_update(&context, data, length); in sha512()
65 uint8_t* tmp = avb_sha512_final(&context); in sha512()
/rk3399_rockchip-uboot/examples/standalone/
H A Dsched.c54 uchar context[CTX_SIZE]; member
179 (unsigned)lthreads[current_tid].context); in sched_init()
193 (unsigned)lthreads[current_tid].context); \ in thread_yield()
194 if(setjmp(lthreads[current_tid].context) == 0) { \ in thread_yield()
198 longjmp(lthreads[new].context, 1); \ in thread_yield()
277 if (setjmp (lthreads[current_tid].context) == 0) { in thread_start()
/rk3399_rockchip-uboot/lib/
H A Dmd5.c273 struct MD5Context context; in md5() local
275 MD5Init(&context); in md5()
276 MD5Update(&context, input, len); in md5()
277 MD5Final(output, &context); in md5()
290 struct MD5Context context; in md5_wd() local
296 MD5Init(&context); in md5_wd()
305 MD5Update(&context, curr, chunk); in md5_wd()
310 MD5Update(&context, input, len); in md5_wd()
313 MD5Final(output, &context); in md5_wd()
/rk3399_rockchip-uboot/arch/x86/cpu/i386/
H A Dinterrupt.c88 cs = regs->context.ctx2.xcs; in dump_regs()
89 eip = regs->context.ctx2.eip; in dump_regs()
90 eflags = regs->context.ctx2.eflags; in dump_regs()
95 cs = regs->context.ctx1.xcs; in dump_regs()
96 eip = regs->context.ctx1.eip; in dump_regs()
97 eflags = regs->context.ctx1.eflags; in dump_regs()
/rk3399_rockchip-uboot/lib/rsa/
H A Drsa-sign.c420 EVP_MD_CTX *context; in rsa_sign_with_key() local
444 context = EVP_MD_CTX_create(); in rsa_sign_with_key()
445 if (!context) { in rsa_sign_with_key()
449 EVP_MD_CTX_init(context); in rsa_sign_with_key()
457 if (EVP_DigestSignInit(context, &ckey, in rsa_sign_with_key()
475 if (!EVP_DigestSignUpdate(context, region[i].data, in rsa_sign_with_key()
482 if (!EVP_DigestSignFinal(context, sig, &size)) { in rsa_sign_with_key()
489 EVP_MD_CTX_cleanup(context); in rsa_sign_with_key()
491 EVP_MD_CTX_reset(context); in rsa_sign_with_key()
493 EVP_MD_CTX_destroy(context); in rsa_sign_with_key()
[all …]
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Df_dfu.c158 struct f_dfu *f_dfu = req->context; in dnload_request_complete()
171 struct f_dfu *f_dfu = req->context; in dnload_request_flush()
184 struct f_dfu *f_dfu = req->context; in handle_getstatus()
219 struct f_dfu *f_dfu = req->context; in handle_getstate()
242 struct f_dfu *f_dfu = req->context; in handle_upload()
252 struct f_dfu *f_dfu = req->context; in handle_dnload()
589 struct f_dfu *f_dfu = f->config->cdev->req->context; in dfu_handle()
726 cdev->req->context = f_dfu; in dfu_bind()
H A Df_sdp.c241 struct f_sdp *sdp = req->context; in sdp_rx_command_complete()
326 struct f_sdp *sdp = req->context; in sdp_rx_data_complete()
380 struct f_sdp *sdp = req->context; in sdp_tx_complete()
419 struct f_sdp *sdp = f->config->cdev->req->context; in sdp_setup()
493 cdev->req->context = sdp; in sdp_bind()
551 sdp->in_req->context = sdp; in sdp_set_alt()
H A Dether.c1161 req->context = NULL; in eth_status_complete()
1196 req->context = dev; in issue_start_status()
1725 req->context = skb;
1853 req->context = NULL; in rndis_control_ack_complete()
1879 if (resp->context) { in rndis_control_ack()
1892 resp->context = dev; in rndis_control_ack()
2273 dev->stat_req->context = NULL; in eth_bind()
2446 req->context = NULL; in _usb_eth_send()
/rk3399_rockchip-uboot/doc/
H A DREADME.sched19 - Only the GPRs and FPRs context is saved during a thread context
H A DREADME.unaligned-memory-access.txt23 ways. The context here is at the machine code level: certain instructions read
174 which is true almost all of the time in ethernet networking context.
/rk3399_rockchip-uboot/arch/x86/include/asm/
H A Dptrace.h78 } context; member
/rk3399_rockchip-uboot/lib/efi_loader/
H A Defi_console.c421 static void EFIAPI efi_key_notify(struct efi_event *event, void *context) in efi_key_notify() argument
426 void *context) in efi_console_timer_notify() argument
428 EFI_ENTRY("%p, %p", event, context); in efi_console_timer_notify()
/rk3399_rockchip-uboot/include/linux/
H A Dcompiler.h13 # define __must_hold(x) __attribute__((context(x,1,1)))
14 # define __acquires(x) __attribute__((context(x,0,1)))
15 # define __releases(x) __attribute__((context(x,1,0)))
/rk3399_rockchip-uboot/include/
H A Defi_loader.h118 void (EFIAPI *notify_function)(struct efi_event *event, void *context);
161 void *context),
/rk3399_rockchip-uboot/api/
H A DREADME12 - the consumer app is responsible for producing appropriate context (call
/rk3399_rockchip-uboot/arch/mips/cpu/
H A Dstart.S51 li a0, 0 # Use hard register context
/rk3399_rockchip-uboot/arch/arm/mach-tegra/
H A DKconfig19 (Inter Processor Communication) framework. Within the context of
/rk3399_rockchip-uboot/include/linux/usb/
H A Dgadget.h97 void *context; member
/rk3399_rockchip-uboot/drivers/misc/
H A DKconfig155 updating its flash, accessing a small saved context area
190 keyboard (use the -l flag to enable the LCD), verified boot context,

12