Lines Matching defs:block
219 /* Pages per block */
236 /* Calculate block size and total device size */
241 VERBOSE("CNF params: page %d, spare %d, block %d, total %lld\n",
291 /* Determine the starting block offset i.e row address */
327 static int cdns_nand_read_page(uint32_t block, uint32_t page, uintptr_t buffer)
343 row_address |= ((page & 0x3F) | (block << 6));
369 uint32_t block = offset / dev_info.block_size;
378 VERBOSE("CNF: block %u-%u, page_start %u, len %zu, offset %u\n",
379 block, end_block, page_start, length, offset);
390 while (block <= end_block) {
394 result = cdns_nand_read_page(block, page,
408 result = cdns_nand_read_page(block, page,
431 block++;