Searched refs:nbpages_per_block (Results 1 – 2 of 2) sorted by relevance
165 uint32_t nbpages_per_block = spinand_dev.nand_dev->block_size / in spi_nand_load_page() local167 uint32_t block_sh = __builtin_ctz(nbpages_per_block) + 1U; in spi_nand_load_page()182 uint32_t nbpages_per_block = spinand_dev.nand_dev->block_size / in spi_nand_read_from_cache() local184 uint32_t block_nb = page / nbpages_per_block; in spi_nand_read_from_cache()235 unsigned int nbpages_per_block = spinand_dev.nand_dev->block_size / in spi_nand_mtd_block_is_bad() local240 ret = spi_nand_read_page(block * nbpages_per_block, in spi_nand_mtd_block_is_bad()
373 unsigned int nbpages_per_block = rawnand_dev.nand_dev->block_size / in nand_mtd_block_is_bad() local380 ret = nand_read_page_cmd(block * nbpages_per_block, in nand_mtd_block_is_bad()