Searched refs:nand (Results 1 - 25 of 163) sorted by last modified time

1234567

/u-boot/include/
H A Dnand.h28 extern int board_nand_init(struct nand_chip *nand);
114 void board_nand_select_device(struct nand_chip *nand, int chip);
133 * get_nand_dev_by_index - Get the nand info based in index.
135 * @dev - index to the nand device.
137 * returns pointer to the nand device info structure or NULL on failure.
/u-boot/fs/jffs2/
H A Djffs2_1pass.c152 #include <nand.h>
215 printf("read_nand_cached: error reading nand off %#x size %d bytes\n",
322 printf("read_onenand_cached: error reading nand off %#x size %d bytes\n",
/u-boot/env/
H A Dnand.c23 #include <nand.h>
373 U_BOOT_ENV_LOCATION(nand) = { variable
/u-boot/drivers/pinctrl/uniphier/
H A Dpinctrl-uniphier-pxs2.c91 UNIPHIER_PINCTRL_GROUP(nand),
121 UNIPHIER_PINMUX_FUNCTION(nand),
H A Dpinctrl-uniphier-pxs3.c97 UNIPHIER_PINCTRL_GROUP(nand),
123 UNIPHIER_PINMUX_FUNCTION(nand),
H A Dpinctrl-uniphier-sld8.c79 UNIPHIER_PINCTRL_GROUP(nand),
106 UNIPHIER_PINMUX_FUNCTION(nand),
H A Dpinctrl-uniphier-ld4.c81 UNIPHIER_PINCTRL_GROUP(nand),
109 UNIPHIER_PINMUX_FUNCTION(nand),
H A Dpinctrl-uniphier-pro4.c105 UNIPHIER_PINCTRL_GROUP(nand),
140 UNIPHIER_PINMUX_FUNCTION(nand),
H A Dpinctrl-uniphier-pro5.c93 UNIPHIER_PINCTRL_GROUP(nand),
126 UNIPHIER_PINMUX_FUNCTION(nand),
H A Dpinctrl-uniphier-ld6b.c87 UNIPHIER_PINCTRL_GROUP(nand),
118 UNIPHIER_PINMUX_FUNCTION(nand),
H A Dpinctrl-uniphier-ld20.c85 UNIPHIER_PINCTRL_GROUP(nand),
111 UNIPHIER_PINMUX_FUNCTION(nand),
H A Dpinctrl-uniphier-ld11.c63 UNIPHIER_PINCTRL_GROUP(nand),
84 UNIPHIER_PINMUX_FUNCTION(nand),
/u-boot/drivers/pinctrl/meson/
H A Dpinctrl-meson-gxl.c641 FUNCTION(nand),
H A Dpinctrl-meson-g12a.c32 /* nand */
1149 FUNCTION(nand),
H A Dpinctrl-meson-axg.c32 /* nand */
855 FUNCTION(nand),
/u-boot/drivers/net/phy/
H A Dcortina.c19 #include <nand.h>
/u-boot/drivers/mtd/nand/spi/
H A Dcore.c10 #define pr_fmt(fmt) "spi-nand: " fmt
43 struct nand_device *nand = spinand_to_nand(spinand); local
46 if (nand->memorg.planes_per_lun < 2)
50 shift = fls(nand->memorg.pagesize);
84 struct nand_device *nand = spinand_to_nand(spinand); local
87 spinand->cur_target >= nand->memorg.ntargets))
96 struct nand_device *nand = spinand_to_nand(spinand); local
100 spinand->cur_target >= nand->memorg.ntargets))
150 struct nand_device *nand = spinand_to_nand(spinand); local
153 if (WARN_ON(target >= nand
174 struct nand_device *nand = spinand_to_nand(spinand); local
237 struct nand_device *nand = spinand_to_nand(spinand); local
248 struct nand_device *nand = spinand_to_nand(spinand); local
321 struct nand_device *nand = spinand_to_nand(spinand); local
413 struct nand_device *nand = spinand_to_nand(spinand); local
423 struct nand_device *nand = &spinand->base; local
496 struct nand_device *nand = spinand_to_nand(spinand); local
577 struct nand_device *nand = mtd_to_nanddev(mtd); local
631 struct nand_device *nand = mtd_to_nanddev(mtd); local
668 spinand_isbad(struct nand_device *nand, const struct nand_pos *pos) argument
690 struct nand_device *nand = mtd_to_nanddev(mtd); local
708 spinand_markbad(struct nand_device *nand, const struct nand_pos *pos) argument
734 struct nand_device *nand = mtd_to_nanddev(mtd); local
752 spinand_erase(struct nand_device *nand, const struct nand_pos *pos) argument
801 struct nand_device *nand = mtd_to_nanddev(mtd); local
909 struct nand_device *nand = spinand_to_nand(spinand); local
960 struct nand_device *nand = spinand_to_nand(spinand); local
1006 struct nand_device *nand = spinand_to_nand(spinand); local
1064 struct nand_device *nand = mtd_to_nanddev(mtd); local
1167 struct nand_device *nand = spinand_to_nand(spinand); local
1180 struct nand_device *nand = spinand_to_nand(spinand); local
[all...]
/u-boot/drivers/mtd/nand/raw/
H A Dzynq_nand.c14 #include <nand.h>
437 * @chip: nand chip info structure
465 * @chip: nand chip info structure
496 * @chip: nand chip info structure
545 * @chip: nand chip info structure
635 * @chip: nand chip info structure
740 * @chip: nand chip info structure
990 const u32 *nand = chip->IO_ADDR_W; local
996 writeb(*buf, nand);
1004 writew(*(u16 *)buf, nand);
[all...]
H A Dvf610_nfc.c33 #include <nand.h>
H A Dtegra_nand.c13 #include <nand.h>
40 .compatible = "nvidia,tegra20-nand",
503 * @param chip nand chip info structure
655 * @param chip nand chip info structure
671 * @param chip nand chip info structure
687 * @param chip nand chip info structure
704 * @param chip nand chip info structure
719 * @param chip nand chip info structure
824 * @param chip nand chip info structure
839 * @param chip nand chi
927 struct nand_chip *nand = &tegra->nand_chip; local
[all...]
H A Dsunxi_nand_spl.c10 #include <nand.h>
150 printf("nand: timeout waiting for empty cmd FIFO\n");
161 printf("nand: timeout waiting for interruption\n");
195 printf("Couldn't initialize nand\n");
H A Dstm32_fmc2_nand.c12 #include <nand.h>
169 struct stm32_fmc2_nand nand; member in struct:stm32_fmc2_nfc
190 struct stm32_fmc2_nand *nand = to_fmc2_nand(chip); local
191 struct stm32_fmc2_timings *timings = &nand->timings;
246 struct stm32_fmc2_nand *nand = to_fmc2_nand(chip); local
248 if (chipnr < 0 || chipnr >= nand->ncs)
251 if (nand->cs_used[chipnr] == nfc->cs_sel)
254 nfc->cs_sel = nand->cs_used[chipnr];
528 /* Read the nand page sector (512 bytes) */
569 /* Enable wait feature and nand flas
607 struct stm32_fmc2_nand *nand = to_fmc2_nand(chip); local
803 struct stm32_fmc2_nand *nand = &nfc->nand; local
900 struct stm32_fmc2_nand *nand = &nfc->nand; local
[all...]
H A Dsunxi_nand.c31 #include <nand.h>
233 * @nand: base NAND chip structure
243 struct nand_chip nand; member in struct:sunxi_nand_chip
256 static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand) argument
258 return container_of(nand, struct sunxi_nand_chip, nand);
312 /* gate on nand clock */
387 struct nand_chip *nand = mtd_to_nand(mtd); local
388 struct sunxi_nand_chip *sunxi_nand = to_sunxi_nand(nand);
389 struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand
425 struct nand_chip *nand = mtd_to_nand(mtd); local
470 struct nand_chip *nand = mtd_to_nand(mtd); local
503 struct nand_chip *nand = mtd_to_nand(mtd); local
544 struct nand_chip *nand = mtd_to_nand(mtd); local
711 struct nand_chip *nand = mtd_to_nand(mtd); local
727 struct nand_chip *nand = mtd_to_nand(mtd); local
739 struct nand_chip *nand = mtd_to_nand(mtd); local
778 struct nand_chip *nand = mtd_to_nand(mtd); local
796 struct nand_chip *nand = mtd_to_nand(mtd); local
818 struct nand_chip *nand = mtd_to_nand(mtd); local
913 struct nand_chip *nand = mtd_to_nand(mtd); local
945 struct nand_chip *nand = mtd_to_nand(mtd); local
994 struct nand_chip *nand = mtd_to_nand(mtd); local
1569 struct nand_chip *nand = mtd_to_nand(mtd); local
1613 struct nand_chip *nand; local
[all...]
H A Dpxa3xx_nand.c3 * drivers/mtd/nand/raw/pxa3xx_nand.c
11 #include <nand.h>
297 * http://www.linux-mtd.infradead.org/nand-data/nanddata.html
384 /* convert nano-seconds to nand flash controller clock cycles */
389 .compatible = "marvell,armada370-nand-controller",
393 .compatible = "marvell,armada-8k-nand-controller",
397 .compatible = "marvell,mvebu-ac5-pxa3xx-nand",
1766 if (dev_read_bool(dev, "marvell,nand-enable-arbiter"))
1769 if (dev_read_bool(dev, "marvell,nand-keep-config"))
1778 pdata->ecc_strength = dev_read_u32_default(dev, "nand
[all...]
H A Drockchip_nfc.c21 #include <linux/mtd/nand.h>
25 #include <nand.h>
932 ret = ofnode_read_u32(node, "nand-ecc-strength", &tmp);
935 ret = ofnode_read_u32(node, "nand-ecc-step-size", &tmp);

Completed in 130 milliseconds

1234567