Home
last modified time | relevance | path

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

123

/u-boot/lib/efi_selftest/
A Defi_selftest_register_notify.c22 struct context { struct
36 static struct context context; variable
48 struct context *cp = context; in notify()
134 if (!context.notify_count) { in execute()
138 if (context.notify_count > 1) { in execute()
151 context.notify_count = 0; in execute()
159 if (context.notify_count) { in execute()
163 context.notify_count = 0; in execute()
170 if (!context.notify_count) { in execute()
187 context.notify_count = 0; in execute()
[all …]
A Defi_selftest_exitbootservices.c23 static void EFIAPI notify(struct efi_event *event, void *context) in notify() argument
25 unsigned int *count = context; in notify()
A Defi_selftest_event_groups.c28 static void EFIAPI notify(struct efi_event *event, void *context) in notify() argument
30 unsigned int *count = context; in notify()
A Defi_selftest_watchdog.c44 static void EFIAPI notify(struct efi_event *event, void *context) in notify() argument
46 struct notify_context *notify_context = context; in notify()
A Defi_selftest_events.c26 static void EFIAPI notify(struct efi_event *event, void *context) in notify() argument
28 unsigned int *count = context; in notify()
/u-boot/drivers/tpm/
A Dtpm2_ftpm_tee.c55 shm = context->shm; in ftpm_tee_transceive()
62 .session = context->session, in ftpm_tee_transceive()
129 if (context->is_open) in ftpm_tee_open()
132 context->is_open = 1; in ftpm_tee_open()
141 if (context->is_open) in ftpm_tee_close()
142 context->is_open = 0; in ftpm_tee_close()
173 memset(context, 0, sizeof(*context)); in ftpm_tee_probe()
182 if (!context->tee_dev) { in ftpm_tee_probe()
202 0, &context->shm); in ftpm_tee_probe()
211 tee_close_session(context->tee_dev, context->session); in ftpm_tee_probe()
[all …]
/u-boot/lib/crypto/
A Drsa_helper.c23 int rsa_get_n(void *context, size_t hdrlen, unsigned char tag, in rsa_get_n() argument
26 struct rsa_key *key = context; in rsa_get_n()
57 int rsa_get_e(void *context, size_t hdrlen, unsigned char tag, in rsa_get_e() argument
60 struct rsa_key *key = context; in rsa_get_e()
72 int rsa_get_d(void *context, size_t hdrlen, unsigned char tag, in rsa_get_d() argument
75 struct rsa_key *key = context; in rsa_get_d()
90 struct rsa_key *key = context; in rsa_get_p()
105 struct rsa_key *key = context; in rsa_get_q()
120 struct rsa_key *key = context; in rsa_get_dp()
135 struct rsa_key *key = context; in rsa_get_dq()
[all …]
A Dpkcs7_parser.c220 struct pkcs7_parse_context *ctx = context; in pkcs7_note_OID()
239 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_digest_algo()
277 struct pkcs7_parse_context *ctx = context; in pkcs7_sig_note_pkey_algo()
298 struct pkcs7_parse_context *ctx = context; in pkcs7_check_content_type()
315 struct pkcs7_parse_context *ctx = context; in pkcs7_note_signeddata_version()
349 struct pkcs7_parse_context *ctx = context; in pkcs7_note_signerinfo_version()
392 struct pkcs7_parse_context *ctx = context; in pkcs7_extract_cert()
432 struct pkcs7_parse_context *ctx = context; in pkcs7_note_certificate_list()
450 struct pkcs7_parse_context *ctx = context; in pkcs7_note_content()
470 struct pkcs7_parse_context *ctx = context; in pkcs7_note_data()
[all …]
A Dx509_cert_parser.c170 struct x509_parse_context *ctx = context; in x509_note_OID()
190 struct x509_parse_context *ctx = context; in x509_note_tbs_certificate()
207 struct x509_parse_context *ctx = context; in x509_note_pkey_algo()
269 struct x509_parse_context *ctx = context; in x509_note_signature()
301 struct x509_parse_context *ctx = context; in x509_note_serial()
314 struct x509_parse_context *ctx = context; in x509_extract_name_segment()
418 struct x509_parse_context *ctx = context; in x509_note_issuer()
428 struct x509_parse_context *ctx = context; in x509_note_subject()
441 struct x509_parse_context *ctx = context; in x509_note_params()
462 struct x509_parse_context *ctx = context; in x509_extract_key_data()
[all …]
/u-boot/drivers/usb/musb-new/
A Dmusb_core.c2265 musb->context.index_regs[i].txmaxp = in musb_save_context()
2267 musb->context.index_regs[i].txcsr = in musb_save_context()
2269 musb->context.index_regs[i].rxmaxp = in musb_save_context()
2271 musb->context.index_regs[i].rxcsr = in musb_save_context()
2285 musb->context.index_regs[i].txtype = in musb_save_context()
2289 musb->context.index_regs[i].rxtype = in musb_save_context()
2342 musb->context.index_regs[i].txmaxp); in musb_restore_context()
2344 musb->context.index_regs[i].txcsr); in musb_restore_context()
2346 musb->context.index_regs[i].rxmaxp); in musb_restore_context()
2348 musb->context.index_regs[i].rxcsr); in musb_restore_context()
[all …]
/u-boot/scripts/coccinelle/api/alloc/
A Dalloc_cast.cocci17 virtual context
28 @r1 depends on context || patch@
36 // For context mode
39 @script:python depends on context@
46 @depends on context && r1@
/u-boot/lib/efi_loader/
A Defi_watchdog.c25 void *context) in efi_watchdog_timer_notify() argument
27 EFI_ENTRY("%p, %p", event, context); in efi_watchdog_timer_notify()
/u-boot/examples/standalone/
A Dsched.c52 uchar context[CTX_SIZE]; member
177 (unsigned)lthreads[current_tid].context); in sched_init()
191 (unsigned)lthreads[current_tid].context); \ in thread_yield()
192 if(setjmp(lthreads[current_tid].context) == 0) { \ in thread_yield()
196 longjmp(lthreads[new].context, 1); \ in thread_yield()
275 if (setjmp (lthreads[current_tid].context) == 0) { in thread_start()
/u-boot/lib/
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()
/u-boot/scripts/coccinelle/misc/
A Dbadty.cocci16 virtual context
21 // For context mode
24 @depends on context disable sizeof_type_expr@
/u-boot/scripts/coccinelle/iterators/
A Dlist_entry_update.cocci14 virtual context
26 @depends on context && !org && !report@
38 @back depends on (org || report) && !context exists@
/u-boot/doc/
A DREADME.asn129 int asn1_ber_decoder(const struct asn1_decoder *decoder, void *context,
33 @context: context for decoder
/u-boot/lib/rsa/
A Drsa-sign.c426 EVP_MD_CTX *context; in rsa_sign_with_key() local
450 context = EVP_MD_CTX_create(); in rsa_sign_with_key()
451 if (!context) { in rsa_sign_with_key()
455 EVP_MD_CTX_init(context); in rsa_sign_with_key()
463 if (EVP_DigestSignInit(context, &ckey, in rsa_sign_with_key()
481 if (!EVP_DigestSignUpdate(context, region[i].data, in rsa_sign_with_key()
488 if (!EVP_DigestSignFinal(context, sig, &size)) { in rsa_sign_with_key()
495 EVP_MD_CTX_cleanup(context); in rsa_sign_with_key()
497 EVP_MD_CTX_reset(context); in rsa_sign_with_key()
499 EVP_MD_CTX_destroy(context); in rsa_sign_with_key()
[all …]
/u-boot/scripts/coccinelle/null/
A Dkmerr.cocci18 virtual context
32 @fixed depends on context && !org && !report@
47 @rfixed depends on (org || report) && !context exists@
/u-boot/arch/x86/cpu/i386/
A Dinterrupt.c106 cs = regs->context.ctx2.xcs; in dump_regs()
107 eip = regs->context.ctx2.eip; in dump_regs()
108 eflags = regs->context.ctx2.eflags; in dump_regs()
113 cs = regs->context.ctx1.xcs; in dump_regs()
114 eip = regs->context.ctx1.eip; in dump_regs()
115 eflags = regs->context.ctx1.eflags; in dump_regs()
/u-boot/include/linux/
A Dasn1_decoder.h16 void *context,
A Dcompiler_types.h14 # define __must_hold(x) __attribute__((context(x,1,1)))
15 # define __acquires(x) __attribute__((context(x,0,1)))
16 # define __releases(x) __attribute__((context(x,1,0)))
/u-boot/scripts/coccinelle/free/
A Difnullfree.cocci15 virtual context
37 @r depends on context || report || org @
/u-boot/doc/develop/
A Dcoccinelle.rst78 Four basic modes are defined: ``patch``, ``report``, ``context``, and
87 - ``context`` highlights lines of interest and their context in a
99 - ``rep+ctxt`` runs successively the report mode and the context mode.
360 @r depends on !context && !patch && (org || report)@
400 @ depends on !context && patch && !org && !report @
424 Detailed description of the ``context`` mode
427 ``context`` highlights lines of interest and their context
431 intent of the ``context`` mode is to highlight the important lines
432 (annotated with minus, ``-``) and gives some surrounding context
446 @ depends on context && !patch && !org && !report@
[all …]
/u-boot/drivers/usb/gadget/
A Df_dfu.c159 struct f_dfu *f_dfu = req->context; in dnload_request_complete()
172 struct f_dfu *f_dfu = req->context; in dnload_request_flush()
185 struct f_dfu *f_dfu = req->context; in handle_getstatus()
220 struct f_dfu *f_dfu = req->context; in handle_getstate()
243 struct f_dfu *f_dfu = req->context; in handle_upload()
253 struct f_dfu *f_dfu = req->context; in handle_dnload()
590 struct f_dfu *f_dfu = f->config->cdev->req->context; in dfu_handle()
732 cdev->req->context = f_dfu; in dfu_bind()

Completed in 39 milliseconds

123