Searched refs:CONFIG_SYS_NAND_PAGE_SIZE (Results 1 – 25 of 64) 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()
40 #if !defined(CONFIG_SYS_NAND_PAGE_SIZE)41 #define CONFIG_SYS_NAND_PAGE_SIZE NAND_LARGE_BLOCK_PAGE_SIZE macro44 #if (CONFIG_SYS_NAND_PAGE_SIZE == NAND_LARGE_BLOCK_PAGE_SIZE)50 #elif (CONFIG_SYS_NAND_PAGE_SIZE == NAND_SMALL_BLOCK_PAGE_SIZE)61 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)
138 CONFIG_SYS_NAND_PAGE_SIZE)139 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
116 CONFIG_SYS_NAND_PAGE_SIZE)117 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro
128 CONFIG_SYS_NAND_PAGE_SIZE)129 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
101 CONFIG_SYS_NAND_PAGE_SIZE)102 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
71 CONFIG_SYS_NAND_PAGE_SIZE)72 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
29 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro37 CONFIG_SYS_NAND_PAGE_SIZE)
235 CONFIG_SYS_NAND_PAGE_SIZE)236 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
128 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro131 CONFIG_SYS_NAND_PAGE_SIZE)
184 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro186 CONFIG_SYS_NAND_PAGE_SIZE)
126 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro130 CONFIG_SYS_NAND_PAGE_SIZE)
349 CONFIG_SYS_NAND_PAGE_SIZE)350 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
228 #define CONFIG_SYS_NAND_PAGE_SIZE 4096 macro232 CONFIG_SYS_NAND_PAGE_SIZE)
171 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro174 CONFIG_SYS_NAND_PAGE_SIZE)
112 CONFIG_SYS_NAND_PAGE_SIZE)113 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
213 #define CONFIG_SYS_NAND_PAGE_SIZE SZ_2K macro216 CONFIG_SYS_NAND_PAGE_SIZE)
173 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro176 CONFIG_SYS_NAND_PAGE_SIZE
204 CONFIG_SYS_NAND_PAGE_SIZE)205 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
50 #define CONFIG_SYS_NAND_PAGE_SIZE 2048 macro
37 sector_per_page = CONFIG_SYS_NAND_PAGE_SIZE / CONFIG_PMECC_SECTOR_SIZE; in main()