| /linux/drivers/mtd/nand/raw/ |
| H A D | au1550nd.c | 178 if ((this->options & NAND_BUSWIDTH_16) && in au1550nd_exec_instr() 188 if ((this->options & NAND_BUSWIDTH_16) && in au1550nd_exec_instr() 310 this->options |= NAND_BUSWIDTH_16; in au1550nd_probe()
|
| H A D | nand_ids.c | 11 #define LP_OPTIONS16 (LP_OPTIONS | NAND_BUSWIDTH_16) 14 #define SP_OPTIONS16 (SP_OPTIONS | NAND_BUSWIDTH_16)
|
| H A D | gpio.c | 103 if ((chip->options & NAND_BUSWIDTH_16) && in gpio_nand_exec_instr() 114 if ((chip->options & NAND_BUSWIDTH_16) && in gpio_nand_exec_instr() 195 plat->options |= NAND_BUSWIDTH_16; in gpio_nand_get_config_of()
|
| H A D | orion_nand.c | 46 if (nc->options & NAND_BUSWIDTH_16) in orion_nand_cmd_ctrl() 167 nc->options |= NAND_BUSWIDTH_16; in orion_nand_probe()
|
| H A D | nand_legacy.c | 282 if (chip->options & NAND_BUSWIDTH_16 && in nand_command() 411 if (chip->options & NAND_BUSWIDTH_16 && in nand_command_lp() 583 unsigned int busw = chip->options & NAND_BUSWIDTH_16; in nand_legacy_set_defaults()
|
| H A D | sh_flctl.c | 231 if (flctl->chip.options & NAND_BUSWIDTH_16) in set_addr() 564 if (flctl->chip.options & NAND_BUSWIDTH_16) in set_cmd_regs() 574 if (flctl->chip.options & NAND_BUSWIDTH_16) in set_cmd_regs() 769 if (flctl->chip.options & NAND_BUSWIDTH_16) in flctl_cmdfunc() 811 if (flctl->chip.options & NAND_BUSWIDTH_16) in flctl_cmdfunc() 996 if (chip->options & NAND_BUSWIDTH_16) in flctl_chip_attach_chip() 1176 nand->options |= NAND_BUSWIDTH_16; in flctl_probe()
|
| H A D | stm32_fmc2_nand.c | 338 if (chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_setup() 834 if (chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_rw_page_init() 1202 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_read_data() 1238 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_read_data() 1249 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_write_data() 1285 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_write_data() 1671 chip->ecc.bytes = chip->options & NAND_BUSWIDTH_16 ? 4 : 3; in stm32_fmc2_nfc_nand_callbacks_setup() 1673 chip->ecc.bytes = chip->options & NAND_BUSWIDTH_16 ? 14 : 13; in stm32_fmc2_nfc_nand_callbacks_setup() 1675 chip->ecc.bytes = chip->options & NAND_BUSWIDTH_16 ? 8 : 7; in stm32_fmc2_nfc_nand_callbacks_setup()
|
| H A D | nand_jedec.c | 120 chip->options |= NAND_BUSWIDTH_16; in nand_jedec_detect()
|
| H A D | fsl_ifc_nand.c | 107 !(chip->options & NAND_BUSWIDTH_16)) { in fsl_ifc_ooblayout_free() 478 if (chip->options & NAND_BUSWIDTH_16) in fsl_ifc_cmdfunc() 896 chip->options |= NAND_BUSWIDTH_16; in fsl_ifc_chip_init() 911 if (!(chip->options & NAND_BUSWIDTH_16)) { in fsl_ifc_chip_init()
|
| H A D | nand_base.c | 512 if (chip->options & NAND_BUSWIDTH_16) { in nand_default_block_markbad() 1116 if (chip->options & NAND_BUSWIDTH_16) { in nand_fill_column_cycles() 1163 !(chip->options & NAND_BUSWIDTH_16)) in nand_sp_exec_read_page_op() 1582 !(chip->options & NAND_BUSWIDTH_16)) in nand_exec_prog_page_op() 2998 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_read_subpage() 4909 chip->options |= NAND_BUSWIDTH_16; in nand_decode_ext_id() 4946 if (mtd->writesize > 512 || (chip->options & NAND_BUSWIDTH_16)) in nand_decode_bbm_options() 5194 busw = chip->options & NAND_BUSWIDTH_16; in nand_detect() 5200 chip->options &= ~NAND_BUSWIDTH_16; in nand_detect() 5252 WARN_ON(busw & NAND_BUSWIDTH_16); in nand_detect() [all …]
|
| H A D | mpc5121_nfc.c | 384 if (chip->options & NAND_BUSWIDTH_16) in mpc5121_nfc_command() 579 chip->options |= NAND_BUSWIDTH_16; in mpc5121_nfc_read_hw_config()
|
| H A D | hisi504_nand.c | 402 if (chip->options & NAND_BUSWIDTH_16 && in set_addr() 599 | ((chip->options & NAND_BUSWIDTH_16) ? in hisi_nfc_host_init()
|
| H A D | nand_onfi.c | 269 chip->options |= NAND_BUSWIDTH_16; in nand_onfi_detect()
|
| H A D | denali.c | 202 iowrite32(chip->options & NAND_BUSWIDTH_16 ? 1 : 0, in denali_select_target() 1129 chip->options & NAND_BUSWIDTH_16); in denali_exec_instr() 1136 chip->options & NAND_BUSWIDTH_16); in denali_exec_instr()
|
| H A D | txx9ndfmc.c | 355 chip->options |= NAND_BUSWIDTH_16; in txx9ndfmc_probe()
|
| H A D | mxc_nand.c | 1209 if (!(chip->options & NAND_BUSWIDTH_16)) in preset_v3() 1614 if (chip->options & NAND_BUSWIDTH_16) { in mxcnd_do_exec_op()
|
| H A D | nandsim.c | 653 ns->busw = chip->options & NAND_BUSWIDTH_16 ? 16 : 8; in ns_init() 2316 chip->options |= NAND_BUSWIDTH_16; in ns_init_module()
|
| H A D | pl35x-nand-controller.c | 300 if (!(chip->options & NAND_BUSWIDTH_16)) in pl35x_smc_force_byte_access()
|
| H A D | tegra_nand.c | 943 if (chip->options & NAND_BUSWIDTH_16) in tegra_nand_attach_chip()
|
| H A D | nuvoton-ma35d1-nand-controller.c | 742 if (chip->options & NAND_BUSWIDTH_16) { in ma35_nand_attach_chip()
|
| H A D | nand_bbt.c | 1383 bd->len = (this->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_create_badblock_pattern()
|
| H A D | cadence-nand-controller.c | 2085 if (!(chip->options & NAND_BUSWIDTH_16)) in cadence_nand_force_byte_access() 2903 if (chip->options & NAND_BUSWIDTH_16) { in cadence_nand_attach_chip()
|
| H A D | meson_nand.c | 1366 if (nand->options & NAND_BUSWIDTH_16) { in meson_nand_attach_chip()
|
| H A D | mtk_nand.c | 1305 if (chip->options & NAND_BUSWIDTH_16) { in mtk_nfc_attach_chip()
|
| /linux/include/linux/mtd/ |
| H A D | rawnand.h | 110 #define NAND_BUSWIDTH_16 BIT(1) macro
|