Home
last modified time | relevance | path

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

123

/openbmc/qemu/hw/block/
H A Dnand.c110 # define NAND_BUSWIDTH_16 0x00000002 macro
163 [0x43] = { 16, 16, 9, 5, NAND_BUSWIDTH_16 },
164 [0x53] = { 16, 16, 9, 5, NAND_BUSWIDTH_16 },
168 [0x45] = { 32, 16, 9, 5, NAND_BUSWIDTH_16 },
169 [0x55] = { 32, 16, 9, 5, NAND_BUSWIDTH_16 },
173 [0x46] = { 64, 16, 9, 5, NAND_BUSWIDTH_16 },
174 [0x56] = { 64, 16, 9, 5, NAND_BUSWIDTH_16 },
179 [0x72] = { 128, 16, 9, 5, NAND_BUSWIDTH_16 },
180 [0x49] = { 128, 16, 9, 5, NAND_BUSWIDTH_16 },
181 [0x74] = { 128, 16, 9, 5, NAND_BUSWIDTH_16 },
[all …]
/openbmc/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 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 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 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.c326 if (chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_setup()
816 if (chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_rw_page_init()
1184 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_read_data()
1220 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_read_data()
1231 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_write_data()
1267 if (force_8bit && chip->options & NAND_BUSWIDTH_16) in stm32_fmc2_nfc_write_data()
1641 chip->ecc.bytes = chip->options & NAND_BUSWIDTH_16 ? 4 : 3; in stm32_fmc2_nfc_nand_callbacks_setup()
1643 chip->ecc.bytes = chip->options & NAND_BUSWIDTH_16 ? 14 : 13; in stm32_fmc2_nfc_nand_callbacks_setup()
1645 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 Dvf610_nfc.c438 if (force8bit && (chip->options & NAND_BUSWIDTH_16)) in vf610_nfc_cmd()
455 if (force8bit && (chip->options & NAND_BUSWIDTH_16)) in vf610_nfc_cmd()
725 if (nfc->chip.options & NAND_BUSWIDTH_16) in vf610_nfc_init_controller()
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 Dfsmc_nand.c275 if (host->nand.options & NAND_BUSWIDTH_16) in fsmc_nand_setup()
747 if (chip->options & NAND_BUSWIDTH_16) in fsmc_read_page_hwecc()
876 nand->options |= NAND_BUSWIDTH_16; in fsmc_nand_probe_config_dt()
H A Domap2.c853 unsigned int dev_width = (chip->options & NAND_BUSWIDTH_16) ? 1 : 0; in omap_enable_hwecc()
970 dev_width = (chip->options & NAND_BUSWIDTH_16) ? 1 : 0; in omap_enable_hwecc_bch()
1732 !(chip->options & NAND_BUSWIDTH_16)) in omap_ooblayout_ecc()
1752 !(chip->options & NAND_BUSWIDTH_16)) in omap_ooblayout_free()
1945 if (!(chip->options & NAND_BUSWIDTH_16)) in omap_nand_attach_chip()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_ids.c14 #define LP_OPTIONS16 (LP_OPTIONS | NAND_BUSWIDTH_16)
17 #define SP_OPTIONS16 (SP_OPTIONS | NAND_BUSWIDTH_16)
H A Dam335x_spl_bch.c64 if ((this->options & NAND_BUSWIDTH_16) && !nand_opcode_8bits(cmd)) in nand_command()
138 if (this->options & NAND_BUSWIDTH_16) { in nand_is_bad_block()
H A Domap_gpmc.c181 unsigned int dev_width = (nand->options & NAND_BUSWIDTH_16) ? 1 : 0; in omap_enable_hwecc()
422 if (chip->options & NAND_BUSWIDTH_16) in omap_nand_read()
750 if (nand->options & NAND_BUSWIDTH_16) in omap_select_ecc_scheme()
1007 nand->options |= NAND_BUSWIDTH_16; in board_nand_init()
1010 nand->options &= ~NAND_BUSWIDTH_16; in board_nand_init()
1028 if (nand->options & NAND_BUSWIDTH_16) in board_nand_init()
H A Dnand_spl_simple.c80 if ((this->options & NAND_BUSWIDTH_16) && !nand_opcode_8bits(cmd)) in nand_command()
125 if (this->options & NAND_BUSWIDTH_16) { in nand_is_bad_block()
H A Dvf610_nfc.c329 if (nfc->chip.options & NAND_BUSWIDTH_16) in vf610_nfc_addr_cycle()
356 int trfr_sz = nfc->chip.options & NAND_BUSWIDTH_16 ? 1 : 0; in vf610_nfc_command()
662 chip->options |= NAND_BUSWIDTH_16; in vf610_nfc_nand_init()
H A Dnand_base.c360 if (chip->options & NAND_BUSWIDTH_16) { in nand_block_bad()
405 if (chip->options & NAND_BUSWIDTH_16) { in nand_default_block_markbad()
629 if (chip->options & NAND_BUSWIDTH_16 && in nand_command()
722 if (chip->options & NAND_BUSWIDTH_16 && in nand_command_lp()
1336 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_read_subpage()
3280 *busw = NAND_BUSWIDTH_16; in nand_flash_detect_onfi()
3383 *busw = NAND_BUSWIDTH_16; in nand_flash_detect_jedec()
3582 *busw = (extid & 0x01) ? NAND_BUSWIDTH_16 : 0; in nand_decode_ext_id()
3616 *busw = type->options & NAND_BUSWIDTH_16; in nand_decode_id()
3646 if (mtd->writesize > 512 || (chip->options & NAND_BUSWIDTH_16)) in nand_decode_bbm_options()
[all …]
H A Dzynq_nand.c279 if (option & NAND_BUSWIDTH_16) in zynq_nand_init_nand_flash()
870 if (chip->options & NAND_BUSWIDTH_16) in zynq_nand_cmd_function()
887 if ((chip->options & NAND_BUSWIDTH_16) && in zynq_nand_cmd_function()
1098 nand_chip->options = NAND_BUSWIDTH_16; in zynq_nand_init()
H A Dfsmc_nand.c371 if (chip->options & NAND_BUSWIDTH_16) in fsmc_read_page_hwecc()
470 nand->options |= NAND_BUSWIDTH_16; in fsmc_nand_init()
H A Datmel_nand.c1131 if (nand_chip->options & NAND_BUSWIDTH_16) { in atmel_nand_correct()
1262 if ((this->options & NAND_BUSWIDTH_16) && !nand_opcode_8bits(cmd)) in nand_command()
1289 if (this->options & NAND_BUSWIDTH_16) { in nand_is_bad_block()
1396 nand->options = NAND_BUSWIDTH_16; in board_nand_init()
1471 nand->options = NAND_BUSWIDTH_16; in atmel_nand_chip_init()
H A Dfsl_ifc_nand.c547 if (chip->options & NAND_BUSWIDTH_16) in fsl_ifc_cmdfunc()
949 nand->options |= NAND_BUSWIDTH_16; in fsl_ifc_chip_init()
966 if (nand->options & NAND_BUSWIDTH_16) { in fsl_ifc_chip_init()
/openbmc/linux/drivers/mtd/nand/raw/ingenic/
H A Dingenic_nand_drv.c277 !(chip->options & NAND_BUSWIDTH_16)) in ingenic_nand_exec_instr()
288 !(chip->options & NAND_BUSWIDTH_16)) in ingenic_nand_exec_instr()

123