Lines Matching refs:NAND_BUSWIDTH_16
341 if (chip->options & NAND_BUSWIDTH_16) { in nand_block_bad()
391 if (chip->options & NAND_BUSWIDTH_16) { in nand_default_block_markbad()
636 if (chip->options & NAND_BUSWIDTH_16 && in nand_command()
728 if (chip->options & NAND_BUSWIDTH_16 && in nand_command_lp()
1364 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_read_subpage()
3363 *busw = NAND_BUSWIDTH_16; in nand_flash_detect_onfi()
3459 *busw = NAND_BUSWIDTH_16; in nand_flash_detect_jedec()
3658 *busw = (extid & 0x01) ? NAND_BUSWIDTH_16 : 0; in nand_decode_ext_id()
3692 *busw = type->options & NAND_BUSWIDTH_16; in nand_decode_id()
3722 if (mtd->writesize > 512 || (chip->options & NAND_BUSWIDTH_16)) in nand_decode_bbm_options()
3769 *busw = type->options & NAND_BUSWIDTH_16; in find_full_id_nand()
3881 WARN_ON(chip->options & NAND_BUSWIDTH_16); in nand_get_flash_type()
3884 } else if (busw != (chip->options & NAND_BUSWIDTH_16)) { in nand_get_flash_type()
3893 (chip->options & NAND_BUSWIDTH_16) ? 16 : 8, in nand_get_flash_type()
3946 chip->options |= NAND_BUSWIDTH_16; in nand_dt_init()
4001 nand_set_defaults(chip, chip->options & NAND_BUSWIDTH_16); in nand_scan_ident()