Searched refs:pmecc (Results 1 – 12 of 12) sorted by relevance
| /rk3399_rockchip-uboot/tools/ |
| H A D | atmelimage.c | 37 } pmecc; variable 74 pmecc.use_pmecc = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token() 77 pmecc.sector_per_page = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token() 80 pmecc.spare_size = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token() 83 pmecc.ecc_bits = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token() 86 pmecc.sector_size = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token() 89 pmecc.ecc_offset = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token() 252 tmp |= (pmecc.ecc_offset & 0x1ff) << 18; in atmel_vrec_header() 254 switch (pmecc.sector_size) { in atmel_vrec_header() 264 pmecc.sector_size); in atmel_vrec_header() [all …]
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | atmel_nand.c | 40 struct pmecc_regs __iomem *pmecc; member 170 value = pmecc_readl(host->pmecc, rem_port[sector].rem[i / 2]); in pmecc_gen_syndrome() 539 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_nand_pmecc_read_page() 540 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_DISABLE); in atmel_nand_pmecc_read_page() 541 pmecc_writel(host->pmecc, cfg, ((pmecc_readl(host->pmecc, cfg)) in atmel_nand_pmecc_read_page() 544 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_ENABLE); in atmel_nand_pmecc_read_page() 545 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_DATA); in atmel_nand_pmecc_read_page() 551 if (!(pmecc_readl(host->pmecc, sr) & PMECC_SR_BUSY)) in atmel_nand_pmecc_read_page() 562 stat = pmecc_readl(host->pmecc, isr); in atmel_nand_pmecc_read_page() 579 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_nand_pmecc_write_page() [all …]
|
| /rk3399_rockchip-uboot/arch/arm/dts/ |
| H A D | at91sam9x5cm.dtsi | 43 atmel,has-pmecc; /* Enable PMECC */ 44 atmel,pmecc-cap = <2>; 45 atmel,pmecc-sector-size = <512>;
|
| H A D | sama5d3xcm.dtsi | 76 atmel,has-pmecc; 77 atmel,pmecc-cap = <4>; 78 atmel,pmecc-sector-size = <512>;
|
| H A D | sama5d3xcm_cmp.dtsi | 119 atmel,has-pmecc; 120 atmel,pmecc-cap = <4>; 121 atmel,pmecc-sector-size = <512>;
|
| H A D | at91sam9n12ek.dts | 156 atmel,has-pmecc; 157 atmel,pmecc-cap = <2>; 158 atmel,pmecc-sector-size = <512>;
|
| H A D | at91-sama5d3_xplained.dts | 253 atmel,has-pmecc; 254 atmel,pmecc-cap = <4>; 255 atmel,pmecc-sector-size = <512>;
|
| H A D | at91-sama5d4_xplained.dts | 200 atmel,has-pmecc;
|
| H A D | at91-sama5d4ek.dts | 255 atmel,has-pmecc;
|
| H A D | at91sam9n12.dtsi | 1029 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
|
| H A D | at91sam9x5.dtsi | 1226 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
|
| H A D | sama5d3.dtsi | 1523 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
|