/openbmc/u-boot/include/linux/mtd/ |
H A D | rawnand.h | 880 struct nand_chip { struct 899 int(*waitfunc)(struct mtd_info *mtd, struct nand_chip *this); argument 902 int (*write_page)(struct mtd_info *mtd, struct nand_chip *chip, argument 905 int (*onfi_set_features)(struct mtd_info *mtd, struct nand_chip *chip, argument 907 int (*onfi_get_features)(struct mtd_info *mtd, struct nand_chip *chip, argument 909 int (*setup_read_retry)(struct mtd_info *mtd, int retry_mode); 910 int (*setup_data_interface)(struct mtd_info *mtd, int chipnr, 914 int chip_delay; 915 unsigned int options; 916 unsigned int bbt_options; [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/bcm47xxnflash/ |
H A D | ops_bcm4706.c | 88 struct nand_chip *nand_chip = mtd_to_nand(mtd); in bcm47xxnflash_ops_bcm4706_read() local 138 struct nand_chip *nand_chip = mtd_to_nand(mtd); in bcm47xxnflash_ops_bcm4706_write() local 169 static void bcm47xxnflash_ops_bcm4706_cmd_ctrl(struct nand_chip *nand_chip, in bcm47xxnflash_ops_bcm4706_cmd_ctrl() 195 static int bcm47xxnflash_ops_bcm4706_dev_ready(struct nand_chip *nand_chip) in bcm47xxnflash_ops_bcm4706_dev_ready() 209 static void bcm47xxnflash_ops_bcm4706_cmdfunc(struct nand_chip *nand_chip, in bcm47xxnflash_ops_bcm4706_cmdfunc() 307 static u8 bcm47xxnflash_ops_bcm4706_read_byte(struct nand_chip *nand_chip) in bcm47xxnflash_ops_bcm4706_read_byte() 335 static void bcm47xxnflash_ops_bcm4706_read_buf(struct nand_chip *nand_chip, in bcm47xxnflash_ops_bcm4706_read_buf() 351 static void bcm47xxnflash_ops_bcm4706_write_buf(struct nand_chip *nand_chip, in bcm47xxnflash_ops_bcm4706_write_buf() 372 struct nand_chip *nand_chip = (struct nand_chip *)&b47n->nand_chip; in bcm47xxnflash_ops_bcm4706_init() local
|
H A D | bcm47xxnflash.h | 15 struct nand_chip nand_chip; member
|
/openbmc/linux/include/linux/mtd/ |
H A D | rawnand.h | 1275 struct nand_chip { struct 1280 struct nand_chip_ops ops; argument 1281 struct nand_legacy legacy; 1282 unsigned int options; 1285 const struct nand_interface_config *current_interface_config; 1286 struct nand_interface_config *best_interface_config; 1289 unsigned int bbt_erase_shift; 1290 unsigned int bbt_options; 1291 unsigned int badblockpos; 1292 unsigned int badblockbits; [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | socrates_nand.c | 27 struct nand_chip nand_chip; member 87 static void socrates_nand_cmd_ctrl(struct nand_chip *nand_chip, int cmd, in socrates_nand_cmd_ctrl() 112 static int socrates_nand_device_ready(struct nand_chip *nand_chip) in socrates_nand_device_ready() 141 struct nand_chip *nand_chip; in socrates_nand_probe() local
|
H A D | mxc_nand.c | 292 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_do_addr_cycle() local 554 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v3() local 570 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v2() local 584 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v1() local 895 static u_char mxc_nand_read_byte(struct nand_chip *nand_chip) in mxc_nand_read_byte() 921 static void mxc_nand_write_buf(struct nand_chip *nand_chip, const u_char *buf, in mxc_nand_write_buf() 940 static void mxc_nand_read_buf(struct nand_chip *nand_chip, u_char *buf, in mxc_nand_read_buf() 957 static void mxc_nand_select_chip_v1_v3(struct nand_chip *nand_chip, int chip) in mxc_nand_select_chip_v1_v3() 977 static void mxc_nand_select_chip_v2(struct nand_chip *nand_chip, int chip) in mxc_nand_select_chip_v2() 1005 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v1_ooblayout_ecc() local [all …]
|
H A D | lpc32xx_mlc.c | 132 struct nand_chip *nand_chip = mtd_to_nand(mtd); in lpc32xx_ooblayout_ecc() local 146 struct nand_chip *nand_chip = mtd_to_nand(mtd); in lpc32xx_ooblayout_free() local 176 struct nand_chip nand_chip; member 278 static void lpc32xx_nand_cmd_ctrl(struct nand_chip *nand_chip, int cmd, in lpc32xx_nand_cmd_ctrl() 294 static int lpc32xx_nand_device_ready(struct nand_chip *nand_chip) in lpc32xx_nand_device_ready() 688 struct nand_chip *nand_chip; in lpc32xx_nand_probe() local
|
H A D | gpio.c | 34 struct nand_chip nand_chip; member
|
H A D | ams-delta.c | 34 struct nand_chip nand_chip; member
|
H A D | omap2.c | 2185 struct nand_chip *nand_chip; in omap_nand_probe() local 2278 struct nand_chip *nand_chip = mtd_to_nand(mtd); in omap_nand_remove() local
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | mxc_nand.c | 352 struct nand_chip *nand_chip = mtd_to_nand(mtd); local 661 struct nand_chip *nand_chip = mtd_to_nand(mtd); local 700 struct nand_chip *nand_chip = mtd_to_nand(mtd); local 728 struct nand_chip *nand_chip = mtd_to_nand(mtd); local 768 struct nand_chip *nand_chip = mtd_to_nand(mtd); local 819 struct nand_chip *nand_chip = mtd_to_nand(mtd); local 890 struct nand_chip *nand_chip = mtd_to_nand(mtd); local 950 struct nand_chip *nand_chip = mtd_to_nand(mtd); local 977 struct nand_chip *nand_chip = mtd_to_nand(mtd); local
|
H A D | atmel_nand.c | 162 struct nand_chip *nand_chip = mtd_to_nand(mtd); in pmecc_gen_syndrome() local 179 struct nand_chip *nand_chip = mtd_to_nand(mtd); in pmecc_substitute() local 229 struct nand_chip *nand_chip = mtd_to_nand(mtd); in pmecc_get_sigma() local 385 struct nand_chip *nand_chip = mtd_to_nand(mtd); in pmecc_err_location() local 439 struct nand_chip *nand_chip = mtd_to_nand(mtd); in pmecc_correct_data() local 485 struct nand_chip *nand_chip = mtd_to_nand(mtd); in pmecc_correction() local 617 struct nand_chip *nand_chip = mtd_to_nand(mtd); in atmel_pmecc_core_init() local 1082 struct nand_chip *nand_chip = mtd_to_nand(mtd); in atmel_nand_correct() local 1243 static struct nand_chip nand_chip; variable 1454 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
|
H A D | am335x_spl_bch.c | 19 static struct nand_chip nand_chip; variable
|
H A D | nand.c | 22 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
|
H A D | arasan_nfc.c | 262 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable 1090 struct nand_chip *nand_chip = mtd_to_nand(mtd); in arasan_check_ondie() local 1136 struct nand_chip *nand_chip = mtd_to_nand(mtd); in arasan_nand_ecc_init() local 1187 static int arasan_nand_init(struct nand_chip *nand_chip, int devnum) in arasan_nand_init()
|
H A D | nand_spl_simple.c | 14 static struct nand_chip nand_chip; variable
|
H A D | mxs_nand_spl.c | 12 static struct nand_chip nand_chip; variable
|
H A D | zynq_nand.c | 1049 static int zynq_nand_init(struct nand_chip *nand_chip, int devnum) in zynq_nand_init() 1246 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
|
H A D | tegra_nand.c | 104 struct nand_chip nand_chip; member
|
/openbmc/u-boot/board/spear/spear310/ |
H A D | spear310.c | 19 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
|
/openbmc/u-boot/board/spear/spear300/ |
H A D | spear300.c | 18 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
|
/openbmc/u-boot/board/spear/spear600/ |
H A D | spear600.c | 18 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
|
/openbmc/u-boot/board/spear/spear320/ |
H A D | spear320.c | 22 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
|
/openbmc/u-boot/board/spear/x600/ |
H A D | x600.c | 23 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
|
/openbmc/u-boot/cmd/ |
H A D | nand.c | 161 struct nand_chip *nand_chip = mtd_to_nand(mtd); in do_nand_status() local
|