Lines Matching refs:page_size
133 unsigned int page_size; member
179 unsigned int page_size; /* page size of attached chip */ member
278 info->data_size = host->page_size; in pxa3xx_set_datasize()
284 switch (host->page_size) { in pxa3xx_set_datasize()
544 if (unlikely(host->page_size < PAGE_CHUNK_SIZE)) in prepare_command_pool()
556 if (unlikely(host->page_size < PAGE_CHUNK_SIZE)) { in prepare_command_pool()
810 if (f->page_size != 2048 && f->page_size != 512) { in pxa3xx_nand_config_flash()
822 host->page_size = f->page_size; in pxa3xx_nand_config_flash()
823 host->read_id_bytes = (f->page_size == 2048) ? 4 : 2; in pxa3xx_nand_config_flash()
826 host->col_addr_cycles = (f->page_size == 2048) ? 2 : 1; in pxa3xx_nand_config_flash()
836 ndcr |= (f->page_size == 2048) ? NDCR_PAGE_SZ : 0; in pxa3xx_nand_config_flash()
859 host->page_size = 2048; in pxa3xx_nand_detect_config()
862 host->page_size = 512; in pxa3xx_nand_detect_config()
993 pxa3xx_flash_ids[0].pagesize = f->page_size; in pxa3xx_nand_scan()
994 chipsize = (uint64_t)f->num_blocks * f->page_per_block * f->page_size; in pxa3xx_nand_scan()
996 pxa3xx_flash_ids[0].erasesize = f->page_size * f->page_per_block; in pxa3xx_nand_scan()
1003 chip->ecc.size = host->page_size; in pxa3xx_nand_scan()