Searched refs:spinand_dev (Results 1 – 1 of 1) sorted by relevance
22 static struct spinand_device spinand_dev; variable67 uint8_t cfg = spinand_dev.cfg_cache; in spi_nand_update_cfg()72 if (cfg == spinand_dev.cfg_cache) { in spi_nand_update_cfg()78 spinand_dev.cfg_cache = cfg; in spi_nand_update_cfg()98 if (spinand_dev.spi_read_cache_op.data.buswidth == in spi_nand_quad_enable()163 uint32_t block_nb = page / spinand_dev.nand_dev->block_size; in spi_nand_load_page()164 uint32_t page_nb = page - (block_nb * spinand_dev.nand_dev->page_size); in spi_nand_load_page()165 uint32_t nbpages_per_block = spinand_dev.nand_dev->block_size / in spi_nand_load_page()166 spinand_dev.nand_dev->page_size; in spi_nand_load_page()182 uint32_t nbpages_per_block = spinand_dev.nand_dev->block_size / in spi_nand_read_from_cache()[all …]