Searched refs:EMMC_BOOT_PART_SIZE (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | sdmmc_vendor_storage.c | 31 #define EMMC_BOOT_PART_SIZE 1024 macro 229 u32 *p_check_buf = kmalloc(EMMC_BOOT_PART_SIZE * 512, GFP_KERNEL); in emmc_write_idblock() 240 id_blk_write_data(EMMC_BOOT_PART_SIZE * i, 1, in emmc_write_idblock() 242 id_blk_write_data(EMMC_BOOT_PART_SIZE * i + 1, in emmc_write_idblock() 244 id_blk_write_data(EMMC_BOOT_PART_SIZE * i, 1, buf); in emmc_write_idblock() 245 id_blk_read_data(EMMC_BOOT_PART_SIZE * i, totle_sec, in emmc_write_idblock() 250 id_blk_write_data(EMMC_BOOT_PART_SIZE * i, 1, in emmc_write_idblock() 438 g_idb_buffer = kmalloc(4096 + EMMC_BOOT_PART_SIZE * 512, in vendor_storage_ioctl() 446 (EMMC_BOOT_PART_SIZE * 512 - 4096)) { in vendor_storage_ioctl() 462 if (page_buf[0] <= (EMMC_BOOT_PART_SIZE * 512)) { in vendor_storage_ioctl()
|