Home
last modified time | relevance | path

Searched refs:RK_BLK_SIZE (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/u-boot/tools/
H A Drkcommon.c309 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 Drkcommon.h12 RK_BLK_SIZE = 512, enumerator
16 RK_SPL_HDR_START = RK_INIT_OFFSET * RK_BLK_SIZE,
H A Drkspi.c17 RKSPI_SECT_LEN = RK_BLK_SIZE * 4,
H A Drknand.c16 RKNAND_SECT_LEN = RK_BLK_SIZE * 4,
/OK3568_Linux_fs/u-boot/cmd/
H A Dbootuimage.c44 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 Dbootrkp.c187 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 Dboot_rkimg.c582 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 Duimage.c58 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 Dfit.c240 ALIGN(size, RK_BLK_SIZE))) in fit_image_fixup_alloc()
/OK3568_Linux_fs/u-boot/tools/rockchip/
H A Dbmp2gray16.c103 #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 Dboot_rkimg.h49 #define RK_BLK_SIZE 512 macro
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_display.c49 #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 Drockchip_display_helper.c12 #define RK_BLK_SIZE 512 macro
H A Drk1000_tve.c171 char baseparameter_buf[8 * RK_BLK_SIZE] __aligned(ARCH_DMA_MINALIGN); in drm_rk1000_select_output()
H A Drockchip_dw_hdmi.c365 char baseparameter_buf[8 * RK_BLK_SIZE] __aligned(ARCH_DMA_MINALIGN); in drm_rk_selete_output()
H A Drockchip_tve.c656 char baseparameter_buf[8 * RK_BLK_SIZE] __aligned(ARCH_DMA_MINALIGN); in tve_select_output()
H A Drockchip_dw_hdmi_qp.c929 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 Drk_eink_display.c141 cnt = plat->lut_pbuf_size / RK_BLK_SIZE; in read_waveform()