Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/mtd/nand/raw/
Dnand_ids.c11 #define LP_OPTIONS16 (LP_OPTIONS | NAND_BUSWIDTH_16)
14 #define SP_OPTIONS16 (SP_OPTIONS | NAND_BUSWIDTH_16)
Dorion_nand.c45 if (nc->options & NAND_BUSWIDTH_16) in orion_nand_cmd_ctrl()
153 nc->options |= NAND_BUSWIDTH_16; in orion_nand_probe()
Dnand_legacy.c280 if (chip->options & NAND_BUSWIDTH_16 && in nand_command()
407 if (chip->options & NAND_BUSWIDTH_16 && in nand_command_lp()
579 unsigned int busw = chip->options & NAND_BUSWIDTH_16; in nand_legacy_set_defaults()
Domap2.c351 if (info->nand.options & NAND_BUSWIDTH_16) in omap_read_buf_pref()
364 if (info->nand.options & NAND_BUSWIDTH_16) in omap_read_buf_pref()
411 if (info->nand.options & NAND_BUSWIDTH_16) in omap_write_buf_pref()
519 if (info->nand.options & NAND_BUSWIDTH_16) in omap_nand_dma_transfer()
652 if (info->nand.options & NAND_BUSWIDTH_16) in omap_read_buf_irq_pref()
711 if (info->nand.options & NAND_BUSWIDTH_16) in omap_write_buf_irq_pref()
948 unsigned int dev_width = (chip->options & NAND_BUSWIDTH_16) ? 1 : 0; in omap_enable_hwecc()
1109 dev_width = (chip->options & NAND_BUSWIDTH_16) ? 1 : 0; in omap_enable_hwecc_bch()
1824 !(chip->options & NAND_BUSWIDTH_16)) in omap_ooblayout_ecc()
1844 !(chip->options & NAND_BUSWIDTH_16)) in omap_ooblayout_free()
[all …]
Dsh_flctl.c232 if (flctl->chip.options & NAND_BUSWIDTH_16) in set_addr()
563 if (flctl->chip.options & NAND_BUSWIDTH_16) in set_cmd_regs()
573 if (flctl->chip.options & NAND_BUSWIDTH_16) in set_cmd_regs()
768 if (flctl->chip.options & NAND_BUSWIDTH_16) in flctl_cmdfunc()
810 if (flctl->chip.options & NAND_BUSWIDTH_16) in flctl_cmdfunc()
995 if (chip->options & NAND_BUSWIDTH_16) in flctl_chip_attach_chip()
1178 nand->options |= NAND_BUSWIDTH_16; in flctl_probe()
Dstm32_fmc2_nand.c325 if (chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_setup()
860 if (chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_rw_page_init()
1237 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_read_data()
1273 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_read_data()
1284 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_write_data()
1320 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_write_data()
1640 chip->ecc.bytes = chip->options & NAND_BUSWIDTH_16 ? 4 : 3; in stm32_fmc2_nand_callbacks_setup()
1642 chip->ecc.bytes = chip->options & NAND_BUSWIDTH_16 ? 14 : 13; in stm32_fmc2_nand_callbacks_setup()
1644 chip->ecc.bytes = chip->options & NAND_BUSWIDTH_16 ? 8 : 7; in stm32_fmc2_nand_callbacks_setup()
1743 if (chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_attach_chip()
Dau1550nd.c280 if (this->options & NAND_BUSWIDTH_16 && in au1550_command()
437 this->options |= NAND_BUSWIDTH_16; in au1550nd_probe()
Dnand_jedec.c107 chip->options |= NAND_BUSWIDTH_16; in nand_jedec_detect()
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()
872 chip->options |= NAND_BUSWIDTH_16; in fsl_ifc_chip_init()
887 if (!(chip->options & NAND_BUSWIDTH_16)) { in fsl_ifc_chip_init()
Dvf610_nfc.c443 if (force8bit && (chip->options & NAND_BUSWIDTH_16)) in vf610_nfc_cmd()
460 if (force8bit && (chip->options & NAND_BUSWIDTH_16)) in vf610_nfc_cmd()
728 if (nfc->chip.options & NAND_BUSWIDTH_16) in vf610_nfc_init_controller()
Dnand_base.c521 if (chip->options & NAND_BUSWIDTH_16) { in nand_default_block_markbad()
987 if (chip->options & NAND_BUSWIDTH_16) { in nand_fill_column_cycles()
1033 !(chip->options & NAND_BUSWIDTH_16)) in nand_sp_exec_read_page_op()
1331 !(chip->options & NAND_BUSWIDTH_16)) in nand_exec_prog_page_op()
2749 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_read_subpage()
4495 chip->options |= NAND_BUSWIDTH_16; in nand_decode_ext_id()
4532 if (mtd->writesize > 512 || (chip->options & NAND_BUSWIDTH_16)) in nand_decode_bbm_options()
4716 busw = chip->options & NAND_BUSWIDTH_16; in nand_detect()
4722 chip->options &= ~NAND_BUSWIDTH_16; in nand_detect()
4774 WARN_ON(busw & NAND_BUSWIDTH_16); in nand_detect()
[all …]
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()
Dfsmc_nand.c266 if (host->nand.options & NAND_BUSWIDTH_16) in fsmc_nand_setup()
713 if (chip->options & NAND_BUSWIDTH_16) in fsmc_read_page_hwecc()
841 nand->options |= NAND_BUSWIDTH_16; in fsmc_nand_probe_config_dt()
Dgpio.c117 plat->options |= NAND_BUSWIDTH_16; in gpio_nand_get_config_of()
Dnand_onfi.c252 chip->options |= NAND_BUSWIDTH_16; in nand_onfi_detect()
Dhisi504_nand.c402 if (chip->options & NAND_BUSWIDTH_16 && in set_addr()
599 | ((chip->options & NAND_BUSWIDTH_16) ? in hisi_nfc_host_init()
Ddenali.c203 iowrite32(chip->options & NAND_BUSWIDTH_16 ? 1 : 0, in denali_select_target()
1107 chip->options & NAND_BUSWIDTH_16); in denali_exec_instr()
1114 chip->options & NAND_BUSWIDTH_16); in denali_exec_instr()
Dtxx9ndfmc.c355 chip->options |= NAND_BUSWIDTH_16; in txx9ndfmc_probe()
Dmxc_nand.c907 if (nand_chip->options & NAND_BUSWIDTH_16) { in mxc_nand_read_byte()
1325 if (!(chip->options & NAND_BUSWIDTH_16)) in preset_v3()
1854 this->options |= NAND_BUSWIDTH_16; in mxcnd_probe()
Ddavinci_nand.c557 pdata->options |= NAND_BUSWIDTH_16; in nand_davinci_get_pdata()
Dqcom_nandc.c665 if (chip->options & NAND_BUSWIDTH_16) in set_address()
2221 if (chip->options & NAND_BUSWIDTH_16) in qcom_nandc_block_bad()
2474 wide_bus = chip->options & NAND_BUSWIDTH_16 ? true : false; in qcom_nand_attach_chip()
/Linux-v5.4/arch/arm/mach-davinci/
Dboard-omapl138-hawk.c212 .options = NAND_BUSWIDTH_16,
Dboard-mityomapl138.c437 .options = NAND_BUSWIDTH_16,
/Linux-v5.4/drivers/mtd/nand/raw/atmel/
Dnand-controller.c428 if (chip->options & NAND_BUSWIDTH_16) in atmel_nand_write_byte()
452 if (chip->options & NAND_BUSWIDTH_16) in atmel_nand_read_buf()
476 if (chip->options & NAND_BUSWIDTH_16) in atmel_nand_write_buf()
1390 if (nand->base.options & NAND_BUSWIDTH_16) in atmel_smc_nand_prepare_smcconf()
/Linux-v5.4/include/linux/mtd/
Drawnand.h132 #define NAND_BUSWIDTH_16 0x00000002 macro

12