Home
last modified time | relevance | path

Searched defs:nand_chip (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/u-boot/include/linux/mtd/
H A Drawnand.h880 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 Dops_bcm4706.c88 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 Dbcm47xxnflash.h15 struct nand_chip nand_chip; member
/openbmc/linux/include/linux/mtd/
H A Drawnand.h1275 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 Dsocrates_nand.c27 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 Dmxc_nand.c292 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 Dlpc32xx_mlc.c132 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 Dgpio.c34 struct nand_chip nand_chip; member
H A Dams-delta.c34 struct nand_chip nand_chip; member
H A Domap2.c2185 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 Dmxc_nand.c352 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 Datmel_nand.c162 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 Dam335x_spl_bch.c19 static struct nand_chip nand_chip; variable
H A Dnand.c22 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
H A Darasan_nfc.c262 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 Dnand_spl_simple.c14 static struct nand_chip nand_chip; variable
H A Dmxs_nand_spl.c12 static struct nand_chip nand_chip; variable
H A Dzynq_nand.c1049 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 Dtegra_nand.c104 struct nand_chip nand_chip; member
/openbmc/u-boot/board/spear/spear310/
H A Dspear310.c19 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
/openbmc/u-boot/board/spear/spear300/
H A Dspear300.c18 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
/openbmc/u-boot/board/spear/spear600/
H A Dspear600.c18 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
/openbmc/u-boot/board/spear/spear320/
H A Dspear320.c22 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
/openbmc/u-boot/board/spear/x600/
H A Dx600.c23 static struct nand_chip nand_chip[CONFIG_SYS_MAX_NAND_DEVICE]; variable
/openbmc/u-boot/cmd/
H A Dnand.c161 struct nand_chip *nand_chip = mtd_to_nand(mtd); in do_nand_status() local

12