Home
last modified time | relevance | path

Searched refs:pmecc (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c369 user->pmecc = pmecc; in atmel_pmecc_create_user()
645 struct atmel_pmecc *pmecc = user->pmecc; in atmel_pmecc_err_location() local
693 struct atmel_pmecc *pmecc = user->pmecc; in atmel_pmecc_correct_sector() local
755 struct atmel_pmecc *pmecc = user->pmecc; in atmel_pmecc_get_generated_eccbytes() local
774 struct atmel_pmecc *pmecc = user->pmecc; in atmel_pmecc_enable() local
811 struct atmel_pmecc *pmecc = user->pmecc; in atmel_pmecc_wait_rdy() local
838 pmecc = devm_kzalloc(dev, sizeof(*pmecc), GFP_KERNEL); in atmel_pmecc_create()
839 if (!pmecc) in atmel_pmecc_create()
858 return pmecc; in atmel_pmecc_create()
879 if (!pmecc) { in atmel_pmecc_get_by_node()
[all …]
H A DMakefile2 obj-$(CONFIG_MTD_NAND_ATMEL) += atmel-nand-controller.o atmel-pmecc.o
5 atmel-pmecc-objs := pmecc.o
H A Dpmecc.h56 atmel_pmecc_create_user(struct atmel_pmecc *pmecc,
60 void atmel_pmecc_reset(struct atmel_pmecc *pmecc);
H A Dnand-controller.c165 struct atmel_pmecc_user *pmecc; member
224 struct atmel_pmecc *pmecc; member
812 atmel_pmecc_disable(nand->pmecc); in atmel_nand_pmecc_disable()
1122 if (!nc->pmecc) { in atmel_nand_pmecc_init()
1167 nand->pmecc = atmel_pmecc_create_user(nc->pmecc, &req); in atmel_nand_pmecc_init()
1168 if (IS_ERR(nand->pmecc)) in atmel_nand_pmecc_init()
1169 return PTR_ERR(nand->pmecc); in atmel_nand_pmecc_init()
1576 if (nc->pmecc) in atmel_nand_init()
2041 if (IS_ERR(nc->pmecc)) in atmel_nand_controller_init()
2640 if (nc->pmecc) in atmel_nand_controller_resume()
[all …]
/openbmc/u-boot/tools/
H A Datmelimage.c36 } pmecc; variable
82 pmecc.ecc_bits = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
251 tmp |= (pmecc.ecc_offset & 0x1ff) << 18; in atmel_vrec_header()
253 switch (pmecc.sector_size) { in atmel_vrec_header()
263 pmecc.sector_size); in atmel_vrec_header()
267 switch (pmecc.ecc_bits) { in atmel_vrec_header()
286 pmecc.ecc_bits); in atmel_vrec_header()
290 tmp |= (pmecc.spare_size & 0x1ff) << 4; in atmel_vrec_header()
292 switch (pmecc.sector_per_page) { in atmel_vrec_header()
308 pmecc.sector_per_page); in atmel_vrec_header()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mtd/
H A Datmel-nand.txt55 "atmel,at91sam9g45-pmecc"
56 "atmel,sama5d4-pmecc"
57 "atmel,sama5d2-pmecc"
58 "microchip,sam9x60-pmecc"
78 pmecc: ecc-engine@ffffc070 {
79 compatible = "atmel,at91sam9g45-pmecc";
101 ecc-engine = <&pmecc>;
204 atmel,has-pmecc; /* enable PMECC */
205 atmel,pmecc-cap = <2>;
206 atmel,pmecc-sector-size = <512>;
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Datmel_nand.c39 struct pmecc_regs __iomem *pmecc; member
538 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_nand_pmecc_read_page()
540 pmecc_writel(host->pmecc, cfg, ((pmecc_readl(host->pmecc, cfg)) in atmel_nand_pmecc_read_page()
561 stat = pmecc_readl(host->pmecc, isr); in atmel_nand_pmecc_read_page()
578 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_nand_pmecc_write_page()
581 pmecc_writel(host->pmecc, cfg, (pmecc_readl(host->pmecc, cfg) | in atmel_nand_pmecc_write_page()
607 pmecc_readb(host->pmecc, ecc_port[i].ecc[j]); in atmel_nand_pmecc_write_page()
622 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_pmecc_core_init()
668 pmecc_writel(host->pmecc, cfg, val); in atmel_pmecc_core_init()
673 pmecc_writel(host->pmecc, eaddr, in atmel_pmecc_core_init()
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dat91sam9x5cm.dtsi43 atmel,has-pmecc; /* Enable PMECC */
44 atmel,pmecc-cap = <2>;
45 atmel,pmecc-sector-size = <512>;
H A Dsama5d3xcm.dtsi76 atmel,has-pmecc;
77 atmel,pmecc-cap = <4>;
78 atmel,pmecc-sector-size = <512>;
H A Dsama5d3xcm_cmp.dtsi119 atmel,has-pmecc;
120 atmel,pmecc-cap = <4>;
121 atmel,pmecc-sector-size = <512>;
H A Dat91sam9n12ek.dts156 atmel,has-pmecc;
157 atmel,pmecc-cap = <2>;
158 atmel,pmecc-sector-size = <512>;
H A Dat91-sama5d3_xplained.dts270 atmel,has-pmecc;
271 atmel,pmecc-cap = <4>;
272 atmel,pmecc-sector-size = <512>;
H A Dat91-sama5d4_xplained.dts246 atmel,has-pmecc;
H A Dat91-sama5d4ek.dts281 atmel,has-pmecc;
H A Dat91sam9n12.dtsi1026 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
H A Dat91sam9x5.dtsi1221 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
H A Dsama5d3.dtsi1521 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dat91sam9n12.dtsi103 pmecc: ecc-engine@ffffe000 { label
104 compatible = "atmel,at91sam9g45-pmecc";
778 ecc-engine = <&pmecc>;
H A Dat91sam9x5.dtsi111 pmecc: ecc-engine@ffffe000 { label
112 compatible = "atmel,at91sam9g45-pmecc";
925 ecc-engine = <&pmecc>;
H A Dsam9x60.dtsi129 ecc-engine = <&pmecc>;
1180 pmecc: ecc-engine@ffffe000 { label
1181 compatible = "microchip,sam9x60-pmecc", "atmel,at91sam9g45-pmecc";
H A Dsama5d2.dtsi183 ecc-engine = <&pmecc>;
422 pmecc: ecc-engine@f8014070 { label
423 compatible = "atmel,sama5d2-pmecc";
H A Dsama7g5.dtsi199 ecc-engine = <&pmecc>;
328 pmecc: ecc-engine@e0808070 { label
329 compatible = "atmel,sama5d2-pmecc";
H A Dsama5d3.dtsi438 pmecc: ecc-engine@ffffc070 { label
439 compatible = "atmel,at91sam9g45-pmecc";
1113 ecc-engine = <&pmecc>;
H A Dsama5d4.dtsi166 ecc-engine = <&pmecc>;
730 pmecc: ecc-engine@ffffc070 { label
731 compatible = "atmel,sama5d4-pmecc";
/openbmc/
H A Dopengrok1.0.log23601 …dren: not file-less due to: /opengrok/data/xref/openbmc/linux/drivers/mtd/nand/raw/atmel/pmecc.h.gz

12