| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | rkcommon.c | 309 memset(buf, '\0', RK_INIT_OFFSET * RK_BLK_SIZE); in rkcommon_set_header0() 313 hdr->init_size = spl_params.init_size / RK_BLK_SIZE; in rkcommon_set_header0() 325 hdr->init_size + spl_params.boot_size / RK_BLK_SIZE; in rkcommon_set_header0() 328 hdr->init_size + RK_MAX_BOOT_SIZE / RK_BLK_SIZE; in rkcommon_set_header0() 330 rc4_encode(buf, RK_BLK_SIZE, rc4_key); in rkcommon_set_header0() 342 memset(buf, '\0', RK_INIT_OFFSET * RK_BLK_SIZE); in rkcommon_set_header0_v2() 351 image_sector_count = image_size_array[i] / RK_BLK_SIZE; in rkcommon_set_header0_v2() 355 image_ptr = buf + sector_offset * RK_BLK_SIZE; in rkcommon_set_header0_v2() 423 hdr1_offset = header0->init_offset * RK_BLK_SIZE; in rkcommon_parse_header() 505 init_size = init_size * RK_BLK_SIZE; in rkcommon_print_header() [all …]
|
| H A D | rkcommon.h | 12 RK_BLK_SIZE = 512, enumerator 16 RK_SPL_HDR_START = RK_INIT_OFFSET * RK_BLK_SIZE,
|
| H A D | rkspi.c | 17 RKSPI_SECT_LEN = RK_BLK_SIZE * 4,
|
| H A D | rknand.c | 16 RKNAND_SECT_LEN = RK_BLK_SIZE * 4,
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | bootuimage.c | 44 blknum = DIV_ROUND_UP(image_get_image_size(hdr), RK_BLK_SIZE); in do_boot_uimage_ram() 46 blknum * RK_BLK_SIZE)) in do_boot_uimage_ram()
|
| H A D | bootrkp.c | 187 cnt = DIV_ROUND_UP(img->size + 8 + 4, RK_BLK_SIZE); in read_rockchip_image()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | boot_rkimg.c | 582 ALIGN(size, RK_BLK_SIZE) + CONFIG_SYS_FDT_PAD)) in rockchip_read_dtb_file() 625 ALIGN(fdt_totalsize(fdt), RK_BLK_SIZE) + CONFIG_SYS_FDT_PAD)) in rockchip_ram_read_dtb_file() 674 ALIGN(fdt_totalsize(fdt), RK_BLK_SIZE) + CONFIG_SYS_FDT_PAD)) in rockchip_ram_read_dtb_file()
|
| H A D | uimage.c | 58 hdr = memalign(ARCH_DMA_MINALIGN, RK_BLK_SIZE); in uimage_get_hdr() 131 int blksz = RK_BLK_SIZE; in uimage_sysmem_reserve_each()
|
| H A D | fit.c | 240 ALIGN(size, RK_BLK_SIZE))) in fit_image_fixup_alloc()
|
| /OK3568_Linux_fs/u-boot/tools/rockchip/ |
| H A D | bmp2gray16.c | 103 #define RK_BLK_SIZE 512 macro 144 return ALIGN(sizeof(struct logo_info), RK_BLK_SIZE); in size_of_header() 149 return ALIGN((screen_w * screen_h) >> 1, RK_BLK_SIZE); in size_of_one_image()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | boot_rkimg.h | 49 #define RK_BLK_SIZE 512 macro
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | rockchip_display.c | 49 #define RK_BLK_SIZE 512 macro 84 char baseparameter_buf[block_num * RK_BLK_SIZE] __aligned(ARCH_DMA_MINALIGN); in rockchip_get_baseparameter() 1120 header = malloc(RK_BLK_SIZE); in load_kernel_bmp_logo() 1124 len = rockchip_read_resource_file(header, bmp_name, 0, RK_BLK_SIZE); in load_kernel_bmp_logo() 1125 if (len != RK_BLK_SIZE) { in load_kernel_bmp_logo() 1166 header = malloc(RK_BLK_SIZE); in load_bmp_logo() 1170 len = rockchip_read_resource_file(header, bmp_name, 0, RK_BLK_SIZE); in load_bmp_logo() 1171 if (len != RK_BLK_SIZE) { in load_bmp_logo()
|
| H A D | rockchip_display_helper.c | 12 #define RK_BLK_SIZE 512 macro
|
| H A D | rk1000_tve.c | 171 char baseparameter_buf[8 * RK_BLK_SIZE] __aligned(ARCH_DMA_MINALIGN); in drm_rk1000_select_output()
|
| H A D | rockchip_dw_hdmi.c | 365 char baseparameter_buf[8 * RK_BLK_SIZE] __aligned(ARCH_DMA_MINALIGN); in drm_rk_selete_output()
|
| H A D | rockchip_tve.c | 656 char baseparameter_buf[8 * RK_BLK_SIZE] __aligned(ARCH_DMA_MINALIGN); in tve_select_output()
|
| H A D | rockchip_dw_hdmi_qp.c | 929 char baseparameter_buf[8 * RK_BLK_SIZE] __aligned(ARCH_DMA_MINALIGN); in dw_hdmi_qp_selete_output()
|
| /OK3568_Linux_fs/u-boot/drivers/video/rk_eink/ |
| H A D | rk_eink_display.c | 141 cnt = plat->lut_pbuf_size / RK_BLK_SIZE; in read_waveform()
|