Searched refs:nand_dev (Results 1 – 6 of 6) sorted by relevance
21 static struct nand_device nand_dev; variable41 (offset % nand_dev.block_size) / nand_dev.page_size; in nand_read()42 unsigned int nb_pages = nand_dev.block_size / nand_dev.page_size; in nand_read()74 nand_dev.size / nand_dev.block_size; in nand_read()88 ret = nand_dev.mtd_read_page( in nand_read()89 &nand_dev, in nand_read()106 ret = nand_dev.mtd_read_page(&nand_dev, in nand_read()113 bytes_read = nand_dev.page_size; in nand_read()140 block = base / nand_dev.block_size; in nand_seek_bb()148 max_block = nand_dev.size / nand_dev.block_size; in nand_seek_bb()[all …]
40 req.nand = rawnand_dev.nand_dev; in nand_send_cmd()52 req.nand = rawnand_dev.nand_dev; in nand_send_addr()65 req.nand = rawnand_dev.nand_dev; in nand_send_wait()79 req.nand = rawnand_dev.nand_dev; in nand_read_data()336 rawnand_dev.nand_dev->page_size, in nand_read_param_page()337 rawnand_dev.nand_dev->block_size, rawnand_dev.nand_dev->size, in nand_read_param_page()339 rawnand_dev.nand_dev->buswidth); in nand_read_param_page()371 rawnand_dev.nand_dev->page_size; in nand_mtd_block_is_bad()378 rawnand_dev.nand_dev->page_size, in nand_mtd_block_is_bad()410 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()316 spinand_dev.nand_dev->page_size, in spi_nand_init()317 spinand_dev.nand_dev->block_size, in spi_nand_init()318 spinand_dev.nand_dev->size); in spi_nand_init()[all …]
85 nand_dev->page_size = 0x800U; in get_data_from_otp()89 nand_dev->page_size = 0x1000U; in get_data_from_otp()93 nand_dev->page_size = 0x2000U; in get_data_from_otp()103 nand_dev->block_size = 64U * nand_dev->page_size; in get_data_from_otp()107 nand_dev->block_size = 128U * nand_dev->page_size; in get_data_from_otp()111 nand_dev->block_size = 256U * nand_dev->page_size; in get_data_from_otp()128 nand_dev->ecc.max_bit_corr = 1U; in get_data_from_otp()132 nand_dev->ecc.max_bit_corr = 4U; in get_data_from_otp()152 nand_dev->nb_planes = 2U; in get_data_from_otp()154 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 8 milliseconds