Home
last modified time | relevance | path

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

/u-boot/tools/
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 …]
/u-boot/arch/arm/dts/
A Dat91sam9x5cm.dtsi43 atmel,has-pmecc; /* Enable PMECC */
44 atmel,pmecc-cap = <2>;
45 atmel,pmecc-sector-size = <512>;
A Dat91sam9g25-gardena-smart-gateway.dts110 atmel,has-pmecc; /* Enable PMECC */
111 atmel,pmecc-cap = <2>;
112 atmel,pmecc-sector-size = <512>;
A Dsama5d3xcm.dtsi76 atmel,has-pmecc;
77 atmel,pmecc-cap = <4>;
78 atmel,pmecc-sector-size = <512>;
A Dsama5d3xcm_cmp.dtsi119 atmel,has-pmecc;
120 atmel,pmecc-cap = <4>;
121 atmel,pmecc-sector-size = <512>;
A Dat91sam9n12ek.dts156 atmel,has-pmecc;
157 atmel,pmecc-cap = <2>;
158 atmel,pmecc-sector-size = <512>;
A Dat91-sama5d3_xplained.dts270 atmel,has-pmecc;
271 atmel,pmecc-cap = <4>;
272 atmel,pmecc-sector-size = <512>;
A Dat91-sama5d4_xplained.dts246 atmel,has-pmecc;
A Dat91-sama5d4ek.dts281 atmel,has-pmecc;
A Dat91sam9n12.dtsi1026 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
A Dat91sam9x5.dtsi1221 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
A Dsama5d3.dtsi1521 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
/u-boot/drivers/mtd/nand/raw/
A Datmel_nand.c45 struct pmecc_regs __iomem *pmecc; member
547 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_nand_pmecc_read_page()
549 pmecc_writel(host->pmecc, cfg, ((pmecc_readl(host->pmecc, cfg)) in atmel_nand_pmecc_read_page()
570 stat = pmecc_readl(host->pmecc, isr); in atmel_nand_pmecc_read_page()
587 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_nand_pmecc_write_page()
590 pmecc_writel(host->pmecc, cfg, (pmecc_readl(host->pmecc, cfg) | in atmel_nand_pmecc_write_page()
617 pmecc_readb(host->pmecc, ecc_port[i].ecc[j]); in atmel_nand_pmecc_write_page()
632 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_pmecc_core_init()
678 pmecc_writel(host->pmecc, cfg, val); in atmel_pmecc_core_init()
683 pmecc_writel(host->pmecc, eaddr, in atmel_pmecc_core_init()
[all …]

Completed in 22 milliseconds