Searched refs:nand_dev (Results 1 – 6 of 6) sorted by relevance
21 static struct nand_device nand_dev; variable30 (offset % nand_dev.block_size) / nand_dev.page_size; in nand_read()31 unsigned int nb_pages = nand_dev.block_size / nand_dev.page_size; in nand_read()57 nand_dev.size / nand_dev.block_size; in nand_read()71 ret = nand_dev.mtd_read_page( in nand_read()72 &nand_dev, in nand_read()89 ret = nand_dev.mtd_read_page(&nand_dev, in nand_read()96 bytes_read = nand_dev.page_size; in nand_read()123 block = base / nand_dev.block_size; in nand_seek_bb()131 max_block = nand_dev.size / nand_dev.block_size; in nand_seek_bb()[all …]
43 req.nand = rawnand_dev.nand_dev; in nand_send_cmd()55 req.nand = rawnand_dev.nand_dev; in nand_send_addr()68 req.nand = rawnand_dev.nand_dev; in nand_send_wait()82 req.nand = rawnand_dev.nand_dev; in nand_read_data()339 rawnand_dev.nand_dev->page_size, in nand_read_param_page()340 rawnand_dev.nand_dev->block_size, rawnand_dev.nand_dev->size, in nand_read_param_page()342 rawnand_dev.nand_dev->buswidth); in nand_read_param_page()374 rawnand_dev.nand_dev->page_size; in nand_mtd_block_is_bad()381 rawnand_dev.nand_dev->page_size, in nand_mtd_block_is_bad()413 if (rawnand_dev.nand_dev == NULL) { in nand_raw_init()[all …]
166 spinand_dev.nand_dev->page_size; in spi_nand_load_page()183 spinand_dev.nand_dev->page_size; in spi_nand_read_from_cache()236 spinand_dev.nand_dev->page_size; in spi_nand_mtd_block_is_bad()241 spinand_dev.nand_dev->page_size, in spi_nand_mtd_block_is_bad()268 spinand_dev.nand_dev = get_nand_device(); in spi_nand_init()269 if (spinand_dev.nand_dev == NULL) { in spi_nand_init()275 spinand_dev.nand_dev->nb_planes = 1; in spi_nand_init()312 spinand_dev.nand_dev->page_size, in spi_nand_init()313 spinand_dev.nand_dev->block_size, in spi_nand_init()314 spinand_dev.nand_dev->size); in spi_nand_init()[all …]
49 nand_dev->page_size = 0x800U; in get_data_from_otp()53 nand_dev->page_size = 0x1000U; in get_data_from_otp()57 nand_dev->page_size = 0x2000U; in get_data_from_otp()67 nand_dev->block_size = 64U * nand_dev->page_size; in get_data_from_otp()71 nand_dev->block_size = 128U * nand_dev->page_size; in get_data_from_otp()75 nand_dev->block_size = 256U * nand_dev->page_size; in get_data_from_otp()92 nand_dev->ecc.max_bit_corr = 1U; in get_data_from_otp()96 nand_dev->ecc.max_bit_corr = 4U; in get_data_from_otp()116 nand_dev->nb_planes = 2U; in get_data_from_otp()118 nand_dev->nb_planes = 1U; in get_data_from_otp()[all …]
33 struct nand_device *nand_dev; member
167 struct nand_device *nand_dev; member
Completed in 10 milliseconds