Lines Matching refs:page_size
721 unsigned int page_size, uint16_t column, int page_addr) in set_command_address() argument
724 if (page_size < PAGE_CHUNK_SIZE) { in set_command_address()
1242 if (f->page_size != 2048 && f->page_size != 512) { in pxa3xx_nand_config_flash()
1253 host->read_id_bytes = (f->page_size == 2048) ? 4 : 2; in pxa3xx_nand_config_flash()
1256 host->col_addr_cycles = (f->page_size == 2048) ? 2 : 1; in pxa3xx_nand_config_flash()
1266 ndcr |= (f->page_size == 2048) ? NDCR_PAGE_SZ : 0; in pxa3xx_nand_config_flash()
1394 int strength, int ecc_stepsize, int page_size) in pxa_ecc_init() argument
1396 if (strength == 1 && ecc_stepsize == 512 && page_size == 2048) { in pxa_ecc_init()
1404 } else if (strength == 1 && ecc_stepsize == 512 && page_size == 512) { in pxa_ecc_init()
1416 } else if (strength == 4 && ecc_stepsize == 512 && page_size == 2048) { in pxa_ecc_init()
1426 } else if (strength == 4 && ecc_stepsize == 512 && page_size == 4096) { in pxa_ecc_init()
1440 } else if (strength == 8 && ecc_stepsize == 512 && page_size == 4096) { in pxa_ecc_init()
1452 strength, page_size); in pxa_ecc_init()
1528 pxa3xx_flash_ids[0].pagesize = f->page_size; in pxa3xx_nand_scan()
1529 chipsize = (uint64_t)f->num_blocks * f->page_per_block * f->page_size; in pxa3xx_nand_scan()
1531 pxa3xx_flash_ids[0].erasesize = f->page_size * f->page_per_block; in pxa3xx_nand_scan()