| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | misc_decompress.c | 20 static void decomp_set_flags(u32 *flags, u8 comp) in decomp_set_flags() argument 22 if (comp == IH_COMP_GZIP) in decomp_set_flags() 24 else if (comp == IH_COMP_LZ4) in decomp_set_flags() 28 void misc_decompress_async(u8 comp) in misc_decompress_async() argument 30 decomp_set_flags(&misc_decomp_async, comp); in misc_decompress_async() 33 void misc_decompress_sync(u8 comp) in misc_decompress_sync() argument 35 decomp_set_flags(&misc_decomp_sync, comp); in misc_decompress_sync() 80 static u64 misc_get_data_size(unsigned long src, unsigned long len, u32 comp) in misc_get_data_size() argument 84 if (comp == DECOM_GZIP) { in misc_get_data_size() 86 } else if (comp == DECOM_LZ4) { in misc_get_data_size() [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | ximg.c | 53 uint8_t comp; in do_imgextract() local 98 comp = image_get_comp(hdr); in do_imgextract() 99 if ((comp != IH_COMP_NONE) && (argc < 4)) { in do_imgextract() 170 if (fit_image_get_comp(fit_hdr, noffset, &comp)) { in do_imgextract() 186 switch (comp) { in do_imgextract() 246 printf("Unimplemented compression type %d\n", comp); in do_imgextract()
|
| H A D | fpga.c | 212 uint8_t comp; in do_fpga() local 214 comp = image_get_comp(hdr); in do_fpga() 215 if (comp == IH_COMP_GZIP) { in do_fpga()
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | fit_misc.c | 70 u8 comp; in fit_decomp_image() local 75 if (fit_image_get_comp(fit, node, &comp)) in fit_decomp_image() 78 if (comp != IH_COMP_GZIP && comp != IH_COMP_LZMA) in fit_decomp_image() 107 if (comp == IH_COMP_LZMA) { in fit_decomp_image() 114 } else if (comp == IH_COMP_GZIP) { in fit_decomp_image() 132 misc_decompress_async(comp); in fit_decomp_image() 134 misc_decompress_sync(comp); in fit_decomp_image()
|
| H A D | kernel_dtb.c | 77 const char *comp; in phandles_fixup_cru() local 93 comp = fdt_getprop(fdt, offset, "compatible", NULL); in phandles_fixup_cru() 94 if (!comp) in phandles_fixup_cru() 98 off = strlen(comp) - strlen("-cru"); in phandles_fixup_cru() 99 if (off > 0 && !strncmp(comp + off, "-cru", 4)) { in phandles_fixup_cru() 183 const char *comp; in phandles_fixup_gpio() local 203 comp = fdt_getprop(fdt, offset, "compatible", NULL); in phandles_fixup_gpio() 204 if (!comp) in phandles_fixup_gpio() 207 if (!strcmp(comp, "rockchip,gpio-bank")) { in phandles_fixup_gpio()
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | qsort.c | 25 int (*comp)(const void *, const void *)) in qsort() 51 if ((*comp)(a, b) <= 0) { in qsort()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | image-android.c | 179 void android_image_set_comp(struct andr_img_hdr *hdr, u32 comp) in android_image_set_comp() argument 181 android_kernel_comp_type = comp; in android_image_set_comp() 809 static ulong android_image_get_comp_addr(struct andr_img_hdr *hdr, int comp) in android_image_get_comp_addr() argument 823 if (comp != IH_COMP_NONE) { in android_image_get_comp_addr() 846 if (comp == IH_COMP_NONE) { in android_image_get_comp_addr() 869 void android_image_set_decomp(struct andr_img_hdr *hdr, int comp) in android_image_set_decomp() argument 873 env_set_ulong("os_comp", comp); in android_image_set_decomp() 876 if (comp != IH_COMP_NONE && comp != IH_COMP_ZIMAGE) { in android_image_set_decomp() 879 android_image_set_comp(hdr, comp); in android_image_set_decomp() 898 int comp; in android_image_memcpy_separate() local [all …]
|
| H A D | bootm.c | 126 images.os.comp = image_get_comp(os_hdr); in bootm_find_os() 146 &images.os.comp)) { in bootm_find_os() 179 images.os.comp = android_image_get_comp(os_hdr); in bootm_find_os() 409 int bootm_decomp_image(int comp, ulong load, ulong image_start, int type, in bootm_decomp_image() argument 416 print_decomp_msg(comp, type, load == image_start, in bootm_decomp_image() 424 switch (comp) { in bootm_decomp_image() 484 printf("Unimplemented compression type %d\n", comp); in bootm_decomp_image() 489 return handle_decomp_error(comp, image_len, unc_len, ret); in bootm_decomp_image() 492 if (comp == IH_COMP_NONE || comp == IH_COMP_ZIMAGE) in bootm_decomp_image() 516 err = bootm_decomp_image(os.comp, load, os.image_start, os.type, in bootm_load_os() [all …]
|
| H A D | android_bootloader.c | 249 ulong uncomp_kaddr, u32 comp) in sysmem_alloc_uncomp_kernel() argument 254 if (comp != IH_COMP_NONE) { in sysmem_alloc_uncomp_kernel() 269 if (comp == IH_COMP_ZIMAGE) in sysmem_alloc_uncomp_kernel() 271 else if (comp == IH_COMP_LZ4) in sysmem_alloc_uncomp_kernel() 273 else if (comp == IH_COMP_LZO) in sysmem_alloc_uncomp_kernel() 275 else if (comp == IH_COMP_GZIP) in sysmem_alloc_uncomp_kernel() 277 else if (comp == IH_COMP_BZIP2) in sysmem_alloc_uncomp_kernel() 279 else if (comp == IH_COMP_LZMA) in sysmem_alloc_uncomp_kernel()
|
| H A D | image.c | 324 const char __maybe_unused *os, *arch, *type, *comp; in image_print_type() local 329 comp = genimg_get_comp_name(image_get_comp(hdr)); in image_print_type() 331 printf("%s %s %s (%s)\n", arch, os, type, comp); in image_print_type() 738 const char *genimg_get_comp_name(uint8_t comp) in genimg_get_comp_name() argument 741 comp)); in genimg_get_comp_name() 744 const char *genimg_get_comp_short_name(uint8_t comp) in genimg_get_comp_short_name() argument 746 return genimg_get_short_name(uimage_comp, comp); in genimg_get_comp_short_name()
|
| H A D | image-fit.c | 370 uint8_t type, arch, os, comp; in fit_image_print() local 400 fit_image_get_comp(fit, image_noffset, &comp); in fit_image_print() 401 printf("%s Compression: %s\n", p, genimg_get_comp_name(comp)); in fit_image_print() 699 int fit_image_get_comp(const void *fit, int noffset, uint8_t *comp) in fit_image_get_comp() argument 708 *comp = -1; in fit_image_get_comp() 713 *comp = genimg_get_comp_id(data); in fit_image_get_comp() 821 int fit_image_get_comp_addr(const void *fit, int noffset, ulong *comp) in fit_image_get_comp_addr() argument 823 return fit_image_get_address(fit, noffset, FIT_COMP_ADDR_PROP, comp); in fit_image_get_comp_addr() 1743 int fit_image_check_comp(const void *fit, int noffset, uint8_t comp) in fit_image_check_comp() argument 1749 return (comp == image_comp); in fit_image_check_comp()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | misc.h | 166 void misc_decompress_async(u8 comp); 167 void misc_decompress_sync(u8 comp);
|
| H A D | image.h | 330 uint8_t comp, type, os; /* compression, type of image, os type */ member 466 const char *genimg_get_os_short_name(uint8_t comp); 488 const char *genimg_get_comp_name(uint8_t comp); 496 const char *genimg_get_comp_short_name(uint8_t comp); 761 image_get_hdr_b(comp) /* image_get_comp */ 819 image_set_hdr_b(comp) /* image_set_comp */ 1022 int fit_image_get_comp(const void *fit, int noffset, uint8_t *comp); 1026 int fit_image_get_comp_addr(const void *fit, int noffset, ulong *comp); 1082 int fit_image_check_comp(const void *fit, int noffset, uint8_t comp); 1378 void android_image_set_decomp(struct andr_img_hdr *hdr, int comp);
|
| H A D | bootm.h | 74 int bootm_decomp_image(int comp, ulong load, ulong image_start, int type,
|
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | stb_truetype.h | 1386 stbtt_uint8 *comp = data + g + 10; in stbtt_GetGlyphShape() local 1395 flags = ttSHORT(comp); comp+=2; in stbtt_GetGlyphShape() 1396 gidx = ttSHORT(comp); comp+=2; in stbtt_GetGlyphShape() 1400 mtx[4] = ttSHORT(comp); comp+=2; in stbtt_GetGlyphShape() 1401 mtx[5] = ttSHORT(comp); comp+=2; in stbtt_GetGlyphShape() 1403 mtx[4] = ttCHAR(comp); comp+=1; in stbtt_GetGlyphShape() 1404 mtx[5] = ttCHAR(comp); comp+=1; in stbtt_GetGlyphShape() 1412 mtx[0] = mtx[3] = ttSHORT(comp)/16384.0f; comp+=2; in stbtt_GetGlyphShape() 1415 mtx[0] = ttSHORT(comp)/16384.0f; comp+=2; in stbtt_GetGlyphShape() 1417 mtx[3] = ttSHORT(comp)/16384.0f; comp+=2; in stbtt_GetGlyphShape() [all …]
|
| /rk3399_rockchip-uboot/include/linux/usb/ |
| H A D | ch9.h | 670 usb_ss_max_streams(const struct usb_ss_ep_comp_descriptor *comp) in usb_ss_max_streams() argument 674 if (!comp) in usb_ss_max_streams() 677 max_streams = comp->bmAttributes & 0x1f; in usb_ss_max_streams()
|
| /rk3399_rockchip-uboot/fs/zfs/ |
| H A D | zfs.c | 564 unsigned int comp; in zio_read() local 570 comp = (zfs_to_cpu64((bp)->blk_prop, endian)>>32) & 0xff; in zio_read() 579 if (comp >= ZIO_COMPRESS_FUNCTIONS) { in zio_read() 580 printf("compression algorithm %u not supported\n", (unsigned int) comp); in zio_read() 584 if (comp != ZIO_COMPRESS_OFF && decomp_table[comp].decomp_func == NULL) { in zio_read() 585 printf("compression algorithm %s not supported\n", decomp_table[comp].name); in zio_read() 589 if (comp != ZIO_COMPRESS_OFF) { in zio_read() 604 if (comp != ZIO_COMPRESS_OFF) { in zio_read() 611 err = decomp_table[comp].decomp_func(compbuf, *buf, psize, lsize); in zio_read()
|
| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | ubifs.c | 98 struct ubifs_compressor *comp; in crypto_alloc_comp() local 104 comp = ubifs_compressors[i]; in crypto_alloc_comp() 105 if (!comp) { in crypto_alloc_comp() 109 if (strncmp(alg_name, comp->capi_name, strlen(alg_name)) == 0) { in crypto_alloc_comp()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | imagetool.h | 56 int comp; member
|
| H A D | mkimage.c | 23 .comp = IH_COMP_GZIP, 178 params.comp = genimg_get_comp_id(optarg); in process_args() 179 if (params.comp < 0) { in process_args()
|
| H A D | default_image.c | 118 image_set_comp(hdr, params->comp); in image_set_header()
|
| H A D | fit_image.c | 271 genimg_get_comp_short_name(params->comp)); in fit_write_images()
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | checkpatch.pl | 4546 my $comp = $4; #Not $1 because of $LvalOrFunc 4547 $msg = " - maybe == should be = ?" if ($comp eq "=="); 4561 my $comp = $3; 4563 my $newcomp = $comp; 4569 if ($comp eq "<") { 4571 } elsif ($comp eq "<=") { 4573 } elsif ($comp eq ">") { 4575 } elsif ($comp eq ">=") {
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | rk3288-popmetal.dtsi | 447 comp_int: comp-int {
|
| /rk3399_rockchip-uboot/ |
| H A D | README | 57 http://dir.gmane.org/gmane.comp.boot-loaders.u-boot 2540 -110 common/cmd_bootm.c Can't get kernel subimage comp 4384 tools/mkimage -A arch -O os -T type -C comp -a addr -e ep \ 4389 -C ==> set compression type 'comp'
|