Home
last modified time | relevance | path

Searched refs:onenand (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/
H A Donenand_samsung.c19 #include <linux/mtd/onenand.h>
143 static struct s3c_onenand *onenand; variable
147 return readl(onenand->base + offset); in s3c_read_reg()
152 writel(value, onenand->base + offset); in s3c_write_reg()
157 return readl(onenand->ahb_addr + cmd); in s3c_read_cmd()
162 writel(value, onenand->ahb_addr + cmd); in s3c_write_cmd()
172 (unsigned int) onenand->base + i, in s3c_dump_reg()
218 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_readw()
219 struct device *dev = &onenand->pdev->dev; in s3c_onenand_readw()
251 if ((unsigned long)addr < ONENAND_DATARAM && onenand in s3c_onenand_readw()
[all...]
H A Dgeneric.c14 #include <linux/mtd/onenand.h>
21 * This version of the driver is named "onenand-flash" and takes struct
23 * with the name "onenand" used to take struct flash_platform_data.
25 #define DRIVER_NAME "onenand-flash"
29 struct onenand_chip onenand; member
49 info->onenand.base = ioremap(res->start, size); in generic_onenand_probe()
50 if (!info->onenand.base) { in generic_onenand_probe()
55 info->onenand.mmcontrol = pdata ? pdata->mmcontrol : NULL; in generic_onenand_probe()
61 info->onenand.irq = err; in generic_onenand_probe()
64 info->mtd.priv = &info->onenand; in generic_onenand_probe()
[all...]
H A Donenand_omap2.c14 #include <linux/mtd/onenand.h>
29 #define DRIVER_NAME "omap2-onenand"
39 struct onenand_chip onenand; member
61 return readw(c->onenand.base + reg); in read_reg()
67 writew(value, c->onenand.base + reg); in write_reg()
456 memset((__force void *)c->onenand.base, 0, ONENAND_BUFRAM_SIZE); in omap2_onenand_shutdown()
491 c->onenand.base = devm_ioremap_resource(dev, res); in omap2_onenand_probe()
492 if (IS_ERR(c->onenand.base)) in omap2_onenand_probe()
493 return PTR_ERR(c->onenand.base); in omap2_onenand_probe()
504 IRQF_TRIGGER_RISING, "onenand", in omap2_onenand_probe()
[all...]
H A DMakefile7 obj-$(CONFIG_MTD_ONENAND) += onenand.o
14 onenand-objs = onenand_base.o onenand_bbt.o
H A Donenand_bbt.c16 #include <linux/mtd/onenand.h>
H A Donenand_base.c27 #include <linux/mtd/onenand.h>
218 * @param this onenand chip data structure
235 * @param this onenand chip data structure
522 * @param this onenand chip structure
627 * onenand_interrupt - [DEFAULT] onenand interrupt handler
628 * @param irq onenand interrupt number
691 * onenand_setup_wait - [OneNAND Interface] setup onenand wait method
694 * There's two method to wait onenand work
711 IRQF_SHARED, "onenand", this)) { in onenand_setup_wait()
2605 * @param this onenand chi
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/onenand/
H A Donenand_samsung.c19 #include <linux/mtd/onenand.h>
143 static struct s3c_onenand *onenand; variable
147 return readl(onenand->base + offset); in s3c_read_reg()
152 writel(value, onenand->base + offset); in s3c_write_reg()
157 return readl(onenand->ahb_addr + cmd); in s3c_read_cmd()
162 writel(value, onenand->ahb_addr + cmd); in s3c_write_cmd()
172 (unsigned int) onenand->base + i, in s3c_dump_reg()
218 struct onenand_chip *this = onenand->mtd->priv; in s3c_onenand_readw()
219 struct device *dev = &onenand->pdev->dev; in s3c_onenand_readw()
251 if ((unsigned long)addr < ONENAND_DATARAM && onenand in s3c_onenand_readw()
[all...]
H A Dgeneric.c14 #include <linux/mtd/onenand.h>
21 * This version of the driver is named "onenand-flash" and takes struct
23 * with the name "onenand" used to take struct flash_platform_data.
25 #define DRIVER_NAME "onenand-flash"
29 struct onenand_chip onenand; member
49 info->onenand.base = ioremap(res->start, size); in generic_onenand_probe()
50 if (!info->onenand.base) { in generic_onenand_probe()
55 info->onenand.mmcontrol = pdata ? pdata->mmcontrol : NULL; in generic_onenand_probe()
61 info->onenand.irq = err; in generic_onenand_probe()
64 info->mtd.priv = &info->onenand; in generic_onenand_probe()
[all...]
H A Donenand_omap2.c14 #include <linux/mtd/onenand.h>
29 #define DRIVER_NAME "omap2-onenand"
39 struct onenand_chip onenand; member
61 return readw(c->onenand.base + reg); in read_reg()
67 writew(value, c->onenand.base + reg); in write_reg()
456 memset((__force void *)c->onenand.base, 0, ONENAND_BUFRAM_SIZE); in omap2_onenand_shutdown()
484 c->onenand.base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in omap2_onenand_probe()
485 if (IS_ERR(c->onenand.base)) in omap2_onenand_probe()
486 return PTR_ERR(c->onenand.base); in omap2_onenand_probe()
498 IRQF_TRIGGER_RISING, "onenand", in omap2_onenand_probe()
[all...]
H A DMakefile7 obj-$(CONFIG_MTD_ONENAND) += onenand.o
14 onenand-objs = onenand_base.o onenand_bbt.o
H A Donenand_bbt.c16 #include <linux/mtd/onenand.h>
H A Donenand_base.c27 #include <linux/mtd/onenand.h>
218 * @this: onenand chip data structure
235 * @this: onenand chip data structure
522 * @this: onenand chip structure
627 * onenand_interrupt - [DEFAULT] onenand interrupt handler
628 * @irq: onenand interrupt number
691 * onenand_setup_wait - [OneNAND Interface] setup onenand wait method
694 * There's two method to wait onenand work
711 IRQF_SHARED, "onenand", this)) { in onenand_setup_wait()
2614 * @this: onenand chi
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/
H A DMakefile6 obj-y += onenand/
/kernel/linux/linux-6.6/drivers/mtd/nand/
H A DMakefile7 obj-y += onenand/
/kernel/linux/linux-5.10/arch/arm/mach-mmp/
H A Dttc_dkb.c13 #include <linux/mtd/onenand.h>
123 .name = "onenand-flash",
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
H A Dsaar.c25 #include <linux/mtd/onenand.h>
561 .name = "onenand-flash",
H A Dvpac270.c20 #include <linux/mtd/onenand.h>
216 .name = "onenand-flash",
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
H A Ddevs.c25 #include <linux/mtd/onenand.h>
758 .name = "samsung-onenand",
773 .name = "samsung-onenand",

Completed in 18 milliseconds