/openbmc/qemu/hw/block/ |
H A D | nand.c | 110 # 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 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 | 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 | 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 | 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 | 326 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 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 | vf610_nfc.c | 438 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 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 | fsmc_nand.c | 275 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 D | omap2.c | 853 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 D | nand_ids.c | 14 #define LP_OPTIONS16 (LP_OPTIONS | NAND_BUSWIDTH_16) 17 #define SP_OPTIONS16 (SP_OPTIONS | NAND_BUSWIDTH_16)
|
H A D | am335x_spl_bch.c | 64 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 D | omap_gpmc.c | 181 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 D | nand_spl_simple.c | 80 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 D | vf610_nfc.c | 329 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 D | nand_base.c | 360 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 D | zynq_nand.c | 279 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 D | fsmc_nand.c | 371 if (chip->options & NAND_BUSWIDTH_16) in fsmc_read_page_hwecc() 470 nand->options |= NAND_BUSWIDTH_16; in fsmc_nand_init()
|
H A D | atmel_nand.c | 1131 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 D | fsl_ifc_nand.c | 547 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 D | ingenic_nand_drv.c | 277 !(chip->options & NAND_BUSWIDTH_16)) in ingenic_nand_exec_instr() 288 !(chip->options & NAND_BUSWIDTH_16)) in ingenic_nand_exec_instr()
|