| /u-boot/drivers/mtd/nand/raw/atmel/ |
| A D | pmecc.c | 357 user->pmecc = pmecc; in atmel_pmecc_create_user() 633 struct atmel_pmecc *pmecc = user->pmecc; in atmel_pmecc_err_location() local 681 struct atmel_pmecc *pmecc = user->pmecc; in atmel_pmecc_correct_sector() local 743 struct atmel_pmecc *pmecc = user->pmecc; in atmel_pmecc_get_generated_eccbytes() local 762 struct atmel_pmecc *pmecc = user->pmecc; in atmel_pmecc_enable() local 799 struct atmel_pmecc *pmecc = user->pmecc; in atmel_pmecc_wait_rdy() local 831 pmecc = devm_kzalloc(dev, sizeof(*pmecc), GFP_KERNEL); in atmel_pmecc_create() 832 if (!pmecc) in atmel_pmecc_create() 850 return pmecc; in atmel_pmecc_create() 863 if (!pmecc) { in atmel_pmecc_get_by_node() [all …]
|
| A D | Makefile | 2 obj-$(CONFIG_DM_NAND_ATMEL) += atmel-nand-controller.o atmel-pmecc.o 5 atmel-pmecc-objs := pmecc.o
|
| A D | pmecc.h | 80 atmel_pmecc_create_user(struct atmel_pmecc *pmecc, 84 void atmel_pmecc_reset(struct atmel_pmecc *pmecc);
|
| A D | nand-controller.c | 179 struct atmel_pmecc_user *pmecc; member 237 struct atmel_pmecc *pmecc; member 687 atmel_pmecc_disable(nand->pmecc); in atmel_nand_pmecc_disable() 790 atmel_pmecc_disable(nand->pmecc); in atmel_nand_pmecc_write_pg() 1046 if (!nc->pmecc) { in atmel_nand_pmecc_init() 1086 nand->pmecc = atmel_pmecc_create_user(nc->pmecc, &req); in atmel_nand_pmecc_init() 1087 if (IS_ERR(nand->pmecc)) in atmel_nand_pmecc_init() 1088 return PTR_ERR(nand->pmecc); in atmel_nand_pmecc_init() 1494 if (nc->pmecc) in atmel_nand_init() 1868 if (IS_ERR(nc->pmecc)) { in atmel_nand_controller_init() [all …]
|
| /u-boot/tools/ |
| A D | atmelimage.c | 36 } 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/drivers/mtd/nand/raw/ |
| A D | atmel_nand.c | 42 struct pmecc_regs __iomem *pmecc; member 543 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_nand_pmecc_read_page() 545 pmecc_writel(host->pmecc, cfg, ((pmecc_readl(host->pmecc, cfg)) in atmel_nand_pmecc_read_page() 566 stat = pmecc_readl(host->pmecc, isr); in atmel_nand_pmecc_read_page() 583 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_nand_pmecc_write_page() 586 pmecc_writel(host->pmecc, cfg, (pmecc_readl(host->pmecc, cfg) | in atmel_nand_pmecc_write_page() 613 pmecc_readb(host->pmecc, ecc_port[i].ecc[j]); in atmel_nand_pmecc_write_page() 628 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_pmecc_core_init() 674 pmecc_writel(host->pmecc, cfg, val); in atmel_pmecc_core_init() 679 pmecc_writel(host->pmecc, eaddr, in atmel_pmecc_core_init() [all …]
|
| /u-boot/arch/arm/dts/ |
| A D | at91sam9x5cm.dtsi | 43 atmel,has-pmecc; /* Enable PMECC */ 44 atmel,pmecc-cap = <2>; 45 atmel,pmecc-sector-size = <512>;
|
| A D | at91sam9g25-gardena-smart-gateway.dts | 110 atmel,has-pmecc; /* Enable PMECC */ 111 atmel,pmecc-cap = <2>; 112 atmel,pmecc-sector-size = <512>;
|
| A D | sama5d3xcm.dtsi | 76 atmel,has-pmecc; 77 atmel,pmecc-cap = <4>; 78 atmel,pmecc-sector-size = <512>;
|
| A D | sama5d3xcm_cmp.dtsi | 119 atmel,has-pmecc; 120 atmel,pmecc-cap = <4>; 121 atmel,pmecc-sector-size = <512>;
|
| A D | at91sam9n12ek.dts | 156 atmel,has-pmecc; 157 atmel,pmecc-cap = <2>; 158 atmel,pmecc-sector-size = <512>;
|
| A D | at91-sama5d3_xplained.dts | 270 atmel,has-pmecc; 271 atmel,pmecc-cap = <4>; 272 atmel,pmecc-sector-size = <512>;
|
| A D | sam9x60.dtsi | 108 ecc-engine = <&pmecc>; 259 pmecc: ecc-engine@ffffe000 { label 260 compatible = "microchip,sam9x60-pmecc", "atmel,at91sam9g45-pmecc";
|
| A D | sama7g5.dtsi | 161 ecc-engine = <&pmecc>; 290 pmecc: ecc-engine@e0808070 { label 291 compatible = "atmel,sama5d2-pmecc";
|
| A D | at91-sama5d4_xplained.dts | 246 atmel,has-pmecc;
|
| A D | at91-sama5d4ek.dts | 281 atmel,has-pmecc;
|
| A D | at91sam9n12.dtsi | 1026 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
|
| A D | at91sam9x5.dtsi | 1221 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
|
| A D | sama5d3.dtsi | 1522 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
|