Searched refs:sctx (Results 1 – 5 of 5) sorted by relevance
| /openbmc/u-boot/tools/ |
| H A D | mxsimage.c | 323 struct sb_section_ctx *sctx = ictx->sect_head; in sb_encrypt_sb_sections_header() local 328 while (sctx) { in sb_encrypt_sb_sections_header() 329 shdr = &sctx->payload; in sb_encrypt_sb_sections_header() 336 sctx = sctx->sect; in sb_encrypt_sb_sections_header() 397 struct sb_section_ctx *sctx = ictx->sect_head; in sb_encrypt_image() local 399 while (sctx) { in sb_encrypt_image() 400 cctx = sctx->cmd_head; in sb_encrypt_image() 421 sctx = sctx->sect; in sb_encrypt_image() 712 struct sb_section_ctx *sctx; in sb_build_section() local 719 sctx = calloc(1, sizeof(*sctx)); in sb_build_section() [all …]
|
| /openbmc/u-boot/lib/ |
| H A D | sha512.c | 202 static void sha512_base_do_update(sha512_context *sctx, in sha512_base_do_update() argument 206 unsigned int partial = sctx->count[0] % SHA512_BLOCK_SIZE; in sha512_base_do_update() 208 sctx->count[0] += len; in sha512_base_do_update() 209 if (sctx->count[0] < len) in sha512_base_do_update() 210 sctx->count[1]++; in sha512_base_do_update() 218 memcpy(sctx->buf + partial, data, p); in sha512_base_do_update() 222 sha512_block_fn(sctx, sctx->buf, 1); in sha512_base_do_update() 229 sha512_block_fn(sctx, data, blocks); in sha512_base_do_update() 235 memcpy(sctx->buf + partial, data, len); in sha512_base_do_update() 238 static void sha512_base_do_finalize(sha512_context *sctx) in sha512_base_do_finalize() argument [all …]
|
| /openbmc/qemu/hw/usb/ |
| H A D | hcd-xhci.c | 1008 XHCIStreamContext *sctx; in xhci_find_stream() local 1018 sctx = epctx->pstreams + streamid; in xhci_find_stream() 1025 if (sctx->sct == -1) { in xhci_find_stream() 1026 xhci_dma_read_u32s(epctx->xhci, sctx->pctx, ctx, sizeof(ctx)); in xhci_find_stream() 1032 sctx->sct = sct; in xhci_find_stream() 1034 xhci_ring_init(epctx->xhci, &sctx->ring, base); in xhci_find_stream() 1036 return sctx; in xhci_find_stream() 1040 XHCIStreamContext *sctx, uint32_t state) in xhci_set_ep_state() argument 1052 if (sctx != NULL) { in xhci_set_ep_state() 1053 ring = &sctx->ring; in xhci_set_ep_state() [all …]
|
| /openbmc/qemu/linux-user/loongarch64/ |
| H A D | signal.c | 109 struct ctx_layout *sctx, unsigned size, in extframe_alloc() argument 117 sctx->gaddr = sp; in extframe_alloc() 120 sctx->size = size; in extframe_alloc()
|
| /openbmc/qemu/linux-user/ppc/ |
| H A D | signal.c | 171 struct target_sigcontext sctx; member 438 sc = &frame->sctx; in setup_frame() 464 env->gpr[4] = frame_addr + offsetof(struct target_sigframe, sctx); in setup_frame()
|