/openbmc/linux/drivers/mtd/nand/raw/atmel/ |
H A D | pmecc.c | 369 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 D | Makefile | 2 obj-$(CONFIG_MTD_NAND_ATMEL) += atmel-nand-controller.o atmel-pmecc.o 5 atmel-pmecc-objs := pmecc.o
|
H A D | pmecc.h | 56 atmel_pmecc_create_user(struct atmel_pmecc *pmecc, 60 void atmel_pmecc_reset(struct atmel_pmecc *pmecc);
|
H A D | nand-controller.c | 165 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 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A D | atmel-nand.txt | 55 "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 D | atmel_nand.c | 39 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 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 | 270 atmel,has-pmecc; 271 atmel,pmecc-cap = <4>; 272 atmel,pmecc-sector-size = <512>;
|
H A D | at91-sama5d4_xplained.dts | 246 atmel,has-pmecc;
|
H A D | at91-sama5d4ek.dts | 281 atmel,has-pmecc;
|
H A D | at91sam9n12.dtsi | 1026 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
|
H A D | at91sam9x5.dtsi | 1221 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
|
H A D | sama5d3.dtsi | 1521 atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91sam9n12.dtsi | 103 pmecc: ecc-engine@ffffe000 { label 104 compatible = "atmel,at91sam9g45-pmecc"; 778 ecc-engine = <&pmecc>;
|
H A D | at91sam9x5.dtsi | 111 pmecc: ecc-engine@ffffe000 { label 112 compatible = "atmel,at91sam9g45-pmecc"; 925 ecc-engine = <&pmecc>;
|
H A D | sam9x60.dtsi | 129 ecc-engine = <&pmecc>; 1180 pmecc: ecc-engine@ffffe000 { label 1181 compatible = "microchip,sam9x60-pmecc", "atmel,at91sam9g45-pmecc";
|
H A D | sama5d2.dtsi | 183 ecc-engine = <&pmecc>; 422 pmecc: ecc-engine@f8014070 { label 423 compatible = "atmel,sama5d2-pmecc";
|
H A D | sama7g5.dtsi | 199 ecc-engine = <&pmecc>; 328 pmecc: ecc-engine@e0808070 { label 329 compatible = "atmel,sama5d2-pmecc";
|
H A D | sama5d3.dtsi | 438 pmecc: ecc-engine@ffffc070 { label 439 compatible = "atmel,at91sam9g45-pmecc"; 1113 ecc-engine = <&pmecc>;
|
H A D | sama5d4.dtsi | 166 ecc-engine = <&pmecc>; 730 pmecc: ecc-engine@ffffc070 { label 731 compatible = "atmel,sama5d4-pmecc";
|
/openbmc/ |
H A D | opengrok1.0.log | 24053 …dren: not file-less due to: /opengrok/data/xref/openbmc/linux/drivers/mtd/nand/raw/atmel/pmecc.h.gz
|