Searched refs:nanddev_ntargets (Results 1 – 9 of 9) sorted by relevance
268 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()
140 if (WARN_ON(op->cs >= nanddev_ntargets(&chip->base))) in nand_exec_op()
838 for (cs = 0; cs < nanddev_ntargets(&chip->base); cs++) in hisi_nfc_resume()
785 nanddev_ntargets(&chip->base)); in fsl_elbc_attach_chip()
736 nanddev_ntargets(&chip->base)); in fsl_ifc_attach_chip()
1172 if (nanddev_ntargets(&this->base) > doc->chips_per_floor) { in inftl_scan_bbt()
178 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()
314 static inline unsigned int nanddev_ntargets(const struct nand_device *nand) in nanddev_ntargets() function340 return nanddev_target_size(nand) * nanddev_ntargets(nand); in nanddev_size()
581 static inline unsigned int nanddev_ntargets(const struct nand_device *nand) in nanddev_ntargets() function606 return nanddev_target_size(nand) * nanddev_ntargets(nand); in nanddev_size()