| /OK3568_Linux_fs/u-boot/board/gdsys/a38x/ |
| H A D | keyprogram.c | 75 u32 magic, code_crc, code_size; in extract_subprogram() local 79 code_size = get_unaligned_be32(*progdata + 8); in extract_subprogram() 86 *result = malloc(sizeof(struct key_program) + code_size); in extract_subprogram() 93 prog->code_size = code_size; in extract_subprogram() 94 memcpy(prog->code, *progdata, code_size); in extract_subprogram() 96 *progdata += code_size; in extract_subprogram() 148 if (hre_run_program(prog->code, prog->code_size)) { in load_and_run_keyprog()
|
| H A D | hre.c | 367 static const uint8_t *hre_execute_op(const uint8_t **ip, size_t *code_size) in hre_execute_op() argument 382 if (*code_size < 4) in hre_execute_op() 395 if ((opcode & 0x80) && (data_size + 4) > *code_size) in hre_execute_op() 474 *code_size -= 4; in hre_execute_op() 477 *code_size -= data_size; in hre_execute_op() 489 int hre_run_program(const uint8_t *code, size_t code_size) in hre_run_program() argument 494 code_left = code_size; in hre_run_program() 508 crc = crc32(0, prg->code, prg->code_size); in hre_verify_program()
|
| H A D | hre.h | 14 uint32_t code_size; member 36 int hre_run_program(const uint8_t *code, size_t code_size);
|
| /OK3568_Linux_fs/u-boot/board/gdsys/p1022/ |
| H A D | controlcenterd-id.c | 75 uint32_t code_size; member 597 static const uint8_t *hre_execute_op(const uint8_t **ip, size_t *code_size) in hre_execute_op() argument 612 if (*code_size < 4) in hre_execute_op() 625 if ((opcode & 0x80) && (data_size + 4) > *code_size) in hre_execute_op() 704 *code_size -= 4; in hre_execute_op() 707 *code_size -= data_size; in hre_execute_op() 719 static int hre_run_program(const uint8_t *code, size_t code_size) in hre_run_program() argument 724 code_left = code_size; in hre_run_program() 757 crc = crc32(0, prg->code, prg->code_size); in verify_program() 796 header.code_size = get_unaligned_be32(buf + 8); in load_sd_key_program() [all …]
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | slre.c | 123 for (pc = 0; pc < r->code_size; pc++) { in slre_dump() 168 assert(offset < r->code_size); in set_jump_offset() 170 if (r->code_size - offset > 0xff) in set_jump_offset() 173 r->code[pc] = (unsigned char) (r->code_size - offset); in set_jump_offset() 179 if (r->code_size >= (int) (sizeof(r->code) / sizeof(r->code[0]))) in emit() 182 r->code[r->code_size++] = (unsigned char) code; in emit() 283 memmove(r->code + begin + shift, r->code + begin, r->code_size - begin); in relocate() 284 r->code_size += shift; in relocate() 295 prev = r->code_size - 3; in quantifier() 327 branch_start = last_op = r->code_size; in compile() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_main.c | 72 __be32 code_size; member 83 u32 code_size; in write_to_ucd_unit() local 106 code_size = roundup(ucode_size, 16); in write_to_ucd_unit() 107 while (code_size) { in write_to_ucd_unit() 112 code_size -= 8; in write_to_ucd_unit() 143 ucode_size = be32_to_cpu(ucode->code_size) * 2; in nitrox_load_fw() 194 ucode_size = be32_to_cpu(ucode->code_size) * 2; in nitrox_load_fw()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | dw_hdcp2.c | 51 uint32_t code_size; member 178 info.code_size = hl_dev->code_size; in dw_hdcp_get_meminfo() 199 if (head.len > hl_dev->code_size) in dw_hdcp_load_code() 336 dma_free_coherent(hdcp->dev, hl_dev->code_size, hl_dev->code, hl_dev->code_base); in dw_hdcp_free_dma_areas() 350 hl_dev->code_size = info->code_size; in dw_hdcp_alloc_dma_areas() 361 hl_dev->code = dma_alloc_coherent(hdcp->dev, hl_dev->code_size, in dw_hdcp_alloc_dma_areas()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/cavium/cpt/ |
| H A D | cptpf_main.c | 134 if (mcode->code_size == 0) { in cpt_load_microcode() 273 mcode->code_size = code_length * 2; in cpt_ucode_load_fw() 280 mcode->code = dma_alloc_coherent(&cpt->pdev->dev, mcode->code_size, in cpt_ucode_load_fw() 289 mcode->code_size); in cpt_ucode_load_fw() 292 for (j = 0; j < (mcode->code_size / 8); j++) in cpt_ucode_load_fw() 295 for (j = 0; j < (mcode->code_size / 2); j++) in cpt_ucode_load_fw() 298 dev_dbg(dev, "mcode->code_size = %u\n", mcode->code_size); in cpt_ucode_load_fw() 421 dma_free_coherent(&cpt->pdev->dev, mcode->code_size, in cpt_unload_microcode()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/runtime/spctrl/src/ |
| H A D | spctrl.c | 32 u32 code_size; member 68 code_addr = hmm_alloc(spctrl_cfg->code_size, HMM_BO_PRIVATE, 0, NULL, 0); in ia_css_spctrl_load_fw() 71 hmm_store(code_addr, spctrl_cfg->code, spctrl_cfg->code_size); in ia_css_spctrl_load_fw()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | jitdump.h | 72 uint64_t code_size; member 88 uint64_t code_size; member
|
| H A D | jitdump.c | 333 jr->load.code_size = bswap_64(jr->load.code_size); in jit_get_next_entry() 345 jr->move.code_size = bswap_64(jr->move.code_size); in jit_get_next_entry() 423 csize = jr->load.code_size; in jit_repipe_code_load() 565 event->mmap2.len = usize ? ALIGN_8(jr->move.code_size) + usize in jit_repipe_code_move() 566 : jr->move.code_size; in jit_repipe_code_move()
|
| /OK3568_Linux_fs/kernel/tools/perf/jvmti/ |
| H A D | libjvmti.c | 232 jint code_size, in compiled_method_load_cb() argument 306 if (jvmti_write_code(jvmti_agent, str, addr, code_addr, code_size)) in compiled_method_load_cb() 327 jint code_size) in code_generated_cb() argument 332 ret = jvmti_write_code(jvmti_agent, name, addr, code_addr, code_size); in code_generated_cb()
|
| H A D | jvmti_agent.h | 24 const unsigned int code_size);
|
| /OK3568_Linux_fs/buildroot/boot/grub2/ |
| H A D | 0134-util-mkimage-Remove-unused-code-to-add-BSS-section.patch | 22 o->code_size = grub_host_to_target32 (layout.exec_size); 30 o->code_size = grub_host_to_target32 (layout.exec_size);
|
| H A D | 0137-util-mkimage-Unify-more-of-the-PE32-and-PE32-header-.patch | 68 - o->code_size = grub_host_to_target32 (layout.exec_size); 111 - o->code_size = grub_host_to_target32 (layout.exec_size); 142 + PE_OHDR (o32, o64, code_size) = grub_host_to_target32 (layout.exec_size);
|
| H A D | 0138-util-mkimage-Reorder-PE-optional-header-fields-set-u.patch | 25 - PE_OHDR (o32, o64, code_size) = grub_host_to_target32 (layout.exec_size); 49 + PE_OHDR (o32, o64, code_size) = grub_host_to_target32 (layout.exec_size);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
| H A D | hsfw.c | 143 hsfw->imem_size = desc->code_size; in nvkm_acr_hsfw_load_bl() 145 hsfw->imem = kmemdup(data + desc->code_off, desc->code_size, GFP_KERNEL); in nvkm_acr_hsfw_load_bl()
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | proftool.c | 33 unsigned long code_size; member 151 func[-1].code_size = func->offset - func[-1].offset; in read_system_map() 368 removed_code_size += func->code_size; in check_functions()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | slre.h | 63 int code_size; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvfw/ |
| H A D | fw.h | 22 u32 code_size; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | cycx_cfm.h | 100 unsigned long code_size; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | cycx_cfm.h | 100 unsigned long code_size; member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | cycx_cfm.h | 100 unsigned long code_size; member
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/runtime/spctrl/interface/ |
| H A D | ia_css_spctrl.h | 33 u32 code_size; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
| H A D | pmu.h | 24 u32 code_size; member
|