/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | fsl_upm.c | 66 struct nand_chip *chip = mtd_to_nand(mtd); in fun_select_chip() 81 struct nand_chip *chip = mtd_to_nand(mtd); in fun_cmd_ctrl() 125 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_read_byte() 133 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_write_buf() 149 struct nand_chip *chip = mtd_to_nand(mtd); in upm_nand_read_buf() 157 struct nand_chip *chip = mtd_to_nand(mtd); in nand_dev_ready()
|
H A D | mxs_nand_spl.c | 17 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_command() 58 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_flash_full_ident() 76 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_flash_onfi_ident() 149 register struct nand_chip *chip = mtd_to_nand(mtd); in mxs_read_page_ecc() 163 register struct nand_chip *chip = mtd_to_nand(mtd); in is_badblock() 215 chip = mtd_to_nand(mtd); in nand_spl_load_image()
|
H A D | nand_spl_simple.c | 28 struct nand_chip *this = mtd_to_nand(mtd); in nand_command() 65 struct nand_chip *this = mtd_to_nand(mtd); in nand_command() 116 struct nand_chip *this = mtd_to_nand(mtd); in nand_is_bad_block() 141 struct nand_chip *this = mtd_to_nand(mtd); in nand_read_page() 172 struct nand_chip *this = mtd_to_nand(mtd); in nand_read_page()
|
H A D | nand_plat.c | 28 struct nand_chip *this = mtd_to_nand(mtd); in plat_cmd_ctrl() 42 return NAND_PLAT_DEV_READY((struct nand_chip *)mtd_to_nand(mtd)); in plat_dev_ready()
|
H A D | nand_bbt.c | 173 struct nand_chip *this = mtd_to_nand(mtd); in read_bbt() 264 struct nand_chip *this = mtd_to_nand(mtd); in read_abs_bbt() 389 struct nand_chip *this = mtd_to_nand(mtd); in read_abs_bbts() 455 struct nand_chip *this = mtd_to_nand(mtd); in create_bbt() 524 struct nand_chip *this = mtd_to_nand(mtd); in search_bbt() 619 struct nand_chip *this = mtd_to_nand(mtd); in write_bbt() 820 struct nand_chip *this = mtd_to_nand(mtd); in nand_memory_bbt() 839 struct nand_chip *this = mtd_to_nand(mtd); in check_create() 963 struct nand_chip *this = mtd_to_nand(mtd); in mark_bbt_region() 1023 struct nand_chip *this = mtd_to_nand(mtd); in verify_bbt_descr() [all …]
|
H A D | mxs_nand.c | 168 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_calc_ecc_layout_by_info() 200 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_calc_ecc_layout() 267 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_cmd_ctrl() 346 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_device_ready() 361 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_select_chip() 408 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_read_buf() 492 struct nand_chip *nand = mtd_to_nand(mtd); in mxs_nand_write_buf() 775 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_hook_read_oob() 800 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_hook_write_oob() 824 struct nand_chip *chip = mtd_to_nand(mtd); in mxs_nand_hook_block_markbad() [all …]
|
H A D | am335x_spl_bch.c | 32 struct nand_chip *this = mtd_to_nand(mtd); in nand_command() 130 struct nand_chip *this = mtd_to_nand(mtd); in nand_is_bad_block() 151 struct nand_chip *this = mtd_to_nand(mtd); in nand_read_page()
|
H A D | omap_gpmc.c | 60 register struct nand_chip *this = mtd_to_nand(mtd); in omap_nand_hwcontrol() 87 register struct nand_chip *this = mtd_to_nand(mtd); in omap_dev_ready() 179 struct nand_chip *nand = mtd_to_nand(mtd); in omap_enable_hwecc() 264 struct nand_chip *chip = mtd_to_nand(mtd); in omap_calculate_ecc() 420 struct nand_chip *chip = mtd_to_nand(mtd); in omap_nand_read() 432 struct nand_chip *chip = mtd_to_nand(mtd); in omap_nand_read_prefetch() 494 struct nand_chip *chip = mtd_to_nand(mtd); in omap_correct_data_bch() 655 struct nand_chip *chip = mtd_to_nand(mtd); in omap_correct_data_bch_sw() 694 struct nand_chip *chip = mtd_to_nand(mtd); in omap_free_bch() 904 nand = mtd_to_nand(mtd); in omap_nand_switch_ecc()
|
H A D | atmel_nand.c | 162 struct nand_chip *nand_chip = mtd_to_nand(mtd); in pmecc_gen_syndrome() 179 struct nand_chip *nand_chip = mtd_to_nand(mtd); in pmecc_substitute() 229 struct nand_chip *nand_chip = mtd_to_nand(mtd); in pmecc_get_sigma() 385 struct nand_chip *nand_chip = mtd_to_nand(mtd); in pmecc_err_location() 1210 struct nand_chip *this = mtd_to_nand(mtd); in at91_nand_hwcontrol() 1247 struct nand_chip *this = mtd_to_nand(mtd); in nand_command() 1285 struct nand_chip *this = mtd_to_nand(mtd); in nand_is_bad_block() 1308 struct nand_chip *this = mtd_to_nand(mtd); in nand_read_page() 1341 struct nand_chip *this = mtd_to_nand(mtd); in spl_nand_erase_one() 1372 struct nand_chip *this = mtd_to_nand(mtd); in nand_read_page() [all …]
|
H A D | nand_bch.c | 44 const struct nand_chip *chip = mtd_to_nand(mtd); in nand_bch_calculate_ecc() 70 const struct nand_chip *chip = mtd_to_nand(mtd); in nand_bch_correct_data() 112 struct nand_chip *nand = mtd_to_nand(mtd); in nand_bch_init()
|
H A D | nand_base.c | 109 struct nand_chip *chip = mtd_to_nand(mtd); in check_offs_len() 135 struct nand_chip *chip = mtd_to_nand(mtd); in nand_release_device() 149 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte() 162 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte16() 174 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_word() 187 struct nand_chip *chip = mtd_to_nand(mtd); in nand_select_chip() 210 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte() 224 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte16() 289 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf() 304 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf() [all …]
|
H A D | sunxi_nand.c | 381 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_dev_ready() 419 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_select_chip() 464 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_read_buf() 497 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_write_buf() 538 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_cmd_ctrl() 705 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_randomizer_config() 721 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_randomizer_enable() 733 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_randomizer_disable() 772 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_hw_ecc_enable() 790 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_hw_ecc_disable() [all …]
|
H A D | fsl_elbc_nand.c | 156 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr() 196 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_run_command() 281 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_cmdfunc() 491 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_write_buf() 528 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_read_byte() 545 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_read_buf()
|
H A D | fsl_ifc_nand.c | 223 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr() 257 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_run_command() 370 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_cmdfunc() 573 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_write_buf() 601 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_byte() 625 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_byte16() 649 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_read_buf()
|
H A D | mxc_nand.c | 352 struct nand_chip *nand_chip = mtd_to_nand(mtd); 661 struct nand_chip *nand_chip = mtd_to_nand(mtd); 700 struct nand_chip *nand_chip = mtd_to_nand(mtd); 728 struct nand_chip *nand_chip = mtd_to_nand(mtd); 768 struct nand_chip *nand_chip = mtd_to_nand(mtd); 819 struct nand_chip *nand_chip = mtd_to_nand(mtd); 890 struct nand_chip *nand_chip = mtd_to_nand(mtd); 950 struct nand_chip *nand_chip = mtd_to_nand(mtd); 977 struct nand_chip *nand_chip = mtd_to_nand(mtd);
|
H A D | pxa3xx_nand.c | 1035 struct nand_chip *chip = mtd_to_nand(mtd); in nand_cmdfunc() 1096 struct nand_chip *chip = mtd_to_nand(mtd); in nand_cmdfunc_extended() 1346 struct nand_chip *chip = mtd_to_nand(mtd); in pxa3xx_nand_read_byte() 1360 struct nand_chip *chip = mtd_to_nand(mtd); in pxa3xx_nand_read_word() 1374 struct nand_chip *chip = mtd_to_nand(mtd); in pxa3xx_nand_read_buf() 1386 struct nand_chip *chip = mtd_to_nand(mtd); in pxa3xx_nand_write_buf() 1402 struct nand_chip *chip = mtd_to_nand(mtd); in pxa3xx_nand_waitfunc() 1457 struct nand_chip *chip = mtd_to_nand(mtd); in pxa3xx_nand_config_tail() 1496 chip = mtd_to_nand(mtd); in pxa3xx_nand_sensing() 1641 struct nand_chip *chip = mtd_to_nand(mtd); in pxa3xx_nand_scan()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | mpc5121_nfc.c | 124 struct nand_chip *chip = mtd_to_nand(mtd); in nfc_read() 133 struct nand_chip *chip = mtd_to_nand(mtd); in nfc_write() 203 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_irq() 215 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_done() 235 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_addr_cycle() 272 struct nand_chip *chip = mtd_to_nand(mtd); in ads5121_chipselect_init() 396 struct nand_chip *nand = mtd_to_nand(mtd); in mpc5121_nfc_copy_spare() 448 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_buf_copy() 516 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_read_hw_config() 595 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_free() [all …]
|
H A D | diskonchip.c | 364 struct nand_chip *this = mtd_to_nand(mtd); in doc200x_ident_chip() 395 struct nand_chip *this = mtd_to_nand(mtd); in doc2000_count_chips() 864 struct nand_chip *this = mtd_to_nand(mtd); in find_media_headers() 907 struct nand_chip *this = mtd_to_nand(mtd); in nftl_partscan() 1013 struct nand_chip *this = mtd_to_nand(mtd); in inftl_partscan() 1133 struct nand_chip *this = mtd_to_nand(mtd); in nftl_scan_bbt() 1168 struct nand_chip *this = mtd_to_nand(mtd); in inftl_scan_bbt() 1221 struct nand_chip *this = mtd_to_nand(mtd); in doc2000_init() 1234 struct nand_chip *this = mtd_to_nand(mtd); in doc2001_init() 1400 nand = mtd_to_nand(mtd); in doc_probe() [all …]
|
H A D | mxc_nand.c | 249 struct nand_chip *this = mtd_to_nand(mtd); in copy_spare() 292 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_do_addr_cycle() 554 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v3() 570 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v2() 584 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v1() 1005 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v1_ooblayout_ecc() 1019 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v1_ooblayout_free() 1052 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v2_ooblayout_ecc() 1067 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v2_ooblayout_free() 1113 struct nand_chip *nand_chip = mtd_to_nand(mtd); in preset_v1() [all …]
|
/openbmc/u-boot/board/socrates/ |
H A D | nand.c | 50 struct nand_chip *this = mtd_to_nand(mtd); in sc_nand_write_buf() 90 struct nand_chip *this = mtd_to_nand(mtd); in sc_nand_read_buf() 107 struct nand_chip *this = mtd_to_nand(mtdinfo); in sc_nand_device_ready()
|
/openbmc/linux/drivers/mtd/nand/raw/ingenic/ |
H A D | ingenic_nand_drv.c | 63 return container_of(mtd_to_nand(mtd), struct ingenic_nand, chip); in to_ingenic_nand() 74 struct nand_chip *chip = mtd_to_nand(mtd); in qi_lb60_ooblayout_ecc() 89 struct nand_chip *chip = mtd_to_nand(mtd); in qi_lb60_ooblayout_free() 109 struct nand_chip *chip = mtd_to_nand(mtd); in jz4725b_ooblayout_ecc() 124 struct nand_chip *chip = mtd_to_nand(mtd); in jz4725b_ooblayout_free()
|
/openbmc/u-boot/board/xes/common/ |
H A D | actl_nand.c | 18 struct nand_chip *this = mtd_to_nand(mtd); in nand_addr_hwcontrol()
|
/openbmc/u-boot/board/freescale/m5329evb/ |
H A D | nand.c | 24 struct nand_chip *this = mtd_to_nand(mtdinfo); in nand_hwcontrol()
|
/openbmc/u-boot/board/cssi/MCR3000/ |
H A D | nand.c | 19 struct nand_chip *this = mtd_to_nand(mtdinfo); in nand_hwcontrol()
|
/openbmc/u-boot/board/freescale/m5373evb/ |
H A D | nand.c | 24 struct nand_chip *this = mtd_to_nand(mtdinfo); in nand_hwcontrol()
|