Home
last modified time | relevance | path

Searched refs:nanddev_ntargets (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_bbt.c268 for (i = 0; i < nanddev_ntargets(&this->base); i++) { in read_abs_bbt()
505 if (chip >= nanddev_ntargets(&this->base)) { in create_bbt()
507 chip + 1, nanddev_ntargets(&this->base)); in create_bbt()
574 chips = nanddev_ntargets(&this->base); in search_bbt()
671 numblocks *= nanddev_ntargets(&this->base); in get_bbt_block()
773 nrchips = nanddev_ntargets(&this->base); in write_bbt()
960 chips = nanddev_ntargets(&this->base); in check_create()
1139 chips = nanddev_ntargets(&this->base); in mark_bbt_region()
H A Dinternals.h140 if (WARN_ON(op->cs >= nanddev_ntargets(&chip->base))) in nand_exec_op()
H A Dhisi504_nand.c838 for (cs = 0; cs < nanddev_ntargets(&chip->base); cs++) in hisi_nfc_resume()
H A Dfsl_elbc_nand.c785 nanddev_ntargets(&chip->base)); in fsl_elbc_attach_chip()
H A Dfsl_ifc_nand.c736 nanddev_ntargets(&chip->base)); in fsl_ifc_attach_chip()
H A Ddiskonchip.c1172 if (nanddev_ntargets(&this->base) > doc->chips_per_floor) { in inftl_scan_bbt()
H A Dnand_base.c178 if (WARN_ON(cs > nanddev_ntargets(&chip->base))) in nand_select_target()
6556 for (i = 0; i < nanddev_ntargets(&chip->base); i++) { in nand_scan_tail()
/openbmc/u-boot/include/linux/mtd/
H A Dnand.h314 static inline unsigned int nanddev_ntargets(const struct nand_device *nand) in nanddev_ntargets() function
340 return nanddev_target_size(nand) * nanddev_ntargets(nand); in nanddev_size()
/openbmc/linux/include/linux/mtd/
H A Dnand.h581 static inline unsigned int nanddev_ntargets(const struct nand_device *nand) in nanddev_ntargets() function
606 return nanddev_target_size(nand) * nanddev_ntargets(nand); in nanddev_size()