Searched refs:CONFIG_SYS_NAND_PAGE_SIZE (Results 1 – 25 of 65) sorted by relevance
123
9 page = (offs % CONFIG_SYS_NAND_BLOCK_SIZE) / CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image()10 page_offset = offs % CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image()25 CONFIG_SYS_NAND_PAGE_SIZE); in nand_spl_load_image()29 dst += CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image()51 static u8 scratch_buf[CONFIG_SYS_NAND_PAGE_SIZE];79 page = offset / CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_read_block()82 offset = offset % CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_read_block()89 if (offset || len < CONFIG_SYS_NAND_PAGE_SIZE) { in nand_spl_read_block()91 read = min(len, CONFIG_SYS_NAND_PAGE_SIZE - offset); in nand_spl_read_block()96 read = CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_read_block()
52 int ecc_per_page = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_init()60 if (CONFIG_SYS_NAND_PAGE_SIZE == 4096) in nfc_nand_init()62 else if (CONFIG_SYS_NAND_PAGE_SIZE == 2048) in nfc_nand_init()64 else if (CONFIG_SYS_NAND_PAGE_SIZE == 512) in nfc_nand_init()88 int ecc_per_page = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_init()140 if (CONFIG_SYS_NAND_PAGE_SIZE > 512) in nfc_nand_page_address()143 page_count = CONFIG_SYS_NAND_SIZE / CONFIG_SYS_NAND_PAGE_SIZE; in nfc_nand_page_address()177 for (i = 1; i < CONFIG_SYS_NAND_PAGE_SIZE / 512; i++) { in nfc_nand_data_output()192 int ecc_per_page = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_check_ecc()194 int subpages = CONFIG_SYS_NAND_PAGE_SIZE / 512; in nfc_nand_check_ecc()[all …]
16 #define ECCSTEPS (CONFIG_SYS_NAND_PAGE_SIZE / \21 #if (CONFIG_SYS_NAND_PAGE_SIZE <= 512)75 offs += CONFIG_SYS_NAND_PAGE_SIZE; in nand_command()
21 #define ECCSTEPS (CONFIG_SYS_NAND_PAGE_SIZE / \42 offs += CONFIG_SYS_NAND_PAGE_SIZE; in nand_command()
38 #if !defined(CONFIG_SYS_NAND_PAGE_SIZE)39 #define CONFIG_SYS_NAND_PAGE_SIZE NAND_LARGE_BLOCK_PAGE_SIZE macro42 #if (CONFIG_SYS_NAND_PAGE_SIZE == NAND_LARGE_BLOCK_PAGE_SIZE)48 #elif (CONFIG_SYS_NAND_PAGE_SIZE == NAND_SMALL_BLOCK_PAGE_SIZE)59 CONFIG_SYS_NAND_PAGE_SIZE)
17 #undef CONFIG_SYS_NAND_PAGE_SIZE29 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro31 #define CONFIG_SYS_NAND_BLOCK_SIZE (128 * CONFIG_SYS_NAND_PAGE_SIZE)
135 CONFIG_SYS_NAND_PAGE_SIZE)136 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
115 CONFIG_SYS_NAND_PAGE_SIZE)116 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro
226 CONFIG_SYS_NAND_PAGE_SIZE)227 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
29 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro37 CONFIG_SYS_NAND_PAGE_SIZE)
68 CONFIG_SYS_NAND_PAGE_SIZE)69 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
100 CONFIG_SYS_NAND_PAGE_SIZE)101 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
128 CONFIG_SYS_NAND_PAGE_SIZE)129 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
117 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro121 CONFIG_SYS_NAND_PAGE_SIZE)
123 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro126 CONFIG_SYS_NAND_PAGE_SIZE)
349 CONFIG_SYS_NAND_PAGE_SIZE)350 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
164 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro166 CONFIG_SYS_NAND_PAGE_SIZE)
156 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro159 CONFIG_SYS_NAND_PAGE_SIZE)
226 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro230 CONFIG_SYS_NAND_PAGE_SIZE)
107 CONFIG_SYS_NAND_PAGE_SIZE)108 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
200 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro203 CONFIG_SYS_NAND_PAGE_SIZE)
172 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro175 CONFIG_SYS_NAND_PAGE_SIZE
206 CONFIG_SYS_NAND_PAGE_SIZE)207 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
26 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
61 #define CONFIG_SYS_NAND_PAGE_SIZE 0x1000 macro