Home
last modified time | relevance | path

Searched refs:NAND_BUSWIDTH_16 (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/mtd/nand/raw/
H A Dau1550nd.c178 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 Dnand_ids.c11 #define LP_OPTIONS16 (LP_OPTIONS | NAND_BUSWIDTH_16)
14 #define SP_OPTIONS16 (SP_OPTIONS | NAND_BUSWIDTH_16)
H A Dgpio.c103 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 Dorion_nand.c46 if (nc->options & NAND_BUSWIDTH_16) in orion_nand_cmd_ctrl()
167 nc->options |= NAND_BUSWIDTH_16; in orion_nand_probe()
H A Dnand_legacy.c282 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 Dsh_flctl.c231 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 Dstm32_fmc2_nand.c338 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 Dnand_jedec.c120 chip->options |= NAND_BUSWIDTH_16; in nand_jedec_detect()
H A Dfsl_ifc_nand.c107 !(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 Dnand_base.c512 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 Dmpc5121_nfc.c384 if (chip->options & NAND_BUSWIDTH_16) in mpc5121_nfc_command()
579 chip->options |= NAND_BUSWIDTH_16; in mpc5121_nfc_read_hw_config()
H A Dhisi504_nand.c402 if (chip->options & NAND_BUSWIDTH_16 && in set_addr()
599 | ((chip->options & NAND_BUSWIDTH_16) ? in hisi_nfc_host_init()
H A Dnand_onfi.c269 chip->options |= NAND_BUSWIDTH_16; in nand_onfi_detect()
H A Ddenali.c202 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 Dtxx9ndfmc.c355 chip->options |= NAND_BUSWIDTH_16; in txx9ndfmc_probe()
H A Dmxc_nand.c1209 if (!(chip->options & NAND_BUSWIDTH_16)) in preset_v3()
1614 if (chip->options & NAND_BUSWIDTH_16) { in mxcnd_do_exec_op()
H A Dnandsim.c653 ns->busw = chip->options & NAND_BUSWIDTH_16 ? 16 : 8; in ns_init()
2316 chip->options |= NAND_BUSWIDTH_16; in ns_init_module()
H A Dpl35x-nand-controller.c300 if (!(chip->options & NAND_BUSWIDTH_16)) in pl35x_smc_force_byte_access()
H A Dtegra_nand.c943 if (chip->options & NAND_BUSWIDTH_16) in tegra_nand_attach_chip()
H A Dnuvoton-ma35d1-nand-controller.c742 if (chip->options & NAND_BUSWIDTH_16) { in ma35_nand_attach_chip()
H A Dnand_bbt.c1383 bd->len = (this->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_create_badblock_pattern()
H A Dcadence-nand-controller.c2085 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 Dmeson_nand.c1366 if (nand->options & NAND_BUSWIDTH_16) { in meson_nand_attach_chip()
H A Dmtk_nand.c1305 if (chip->options & NAND_BUSWIDTH_16) { in mtk_nfc_attach_chip()
/linux/include/linux/mtd/
H A Drawnand.h110 #define NAND_BUSWIDTH_16 BIT(1) macro

12