/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | denali.c | 39 #define DENALI_BANK(denali) ((denali)->active_bank << 24) argument 143 if (denali->irq_status & denali->irq_mask) in denali_isr() 561 denali->host_write(denali, mode, in denali_setup_dma64() 583 denali->host_write(denali, mode | page, in denali_setup_dma32() 611 buf[i] = denali->host_read(denali, addr); in denali_pio_read() 633 denali->host_write(denali, addr, buf[i]); in denali_pio_write() 1042 buf[i] = denali->host_read(denali, type | DENALI_BANK(denali)); in denali_exec_in8() 1052 data = denali->host_read(denali, type | DENALI_BANK(denali)); in denali_exec_in16() 1074 denali->host_write(denali, type | DENALI_BANK(denali), buf[i]); in denali_exec_out8() 1083 denali->host_write(denali, type | DENALI_BANK(denali), in denali_exec_out16() [all …]
|
H A D | denali_pci.c | 38 denali = devm_kzalloc(&dev->dev, sizeof(*denali), GFP_KERNEL); in denali_pci_probe() 39 if (!denali) in denali_pci_probe() 65 denali->dev = &dev->dev; in denali_pci_probe() 66 denali->irq = dev->irq; in denali_pci_probe() 77 denali->reg = devm_ioremap(denali->dev, csr_base, csr_len); in denali_pci_probe() 78 if (!denali->reg) { in denali_pci_probe() 83 denali->host = devm_ioremap(denali->dev, mem_base, mem_len); in denali_pci_probe() 84 if (!denali->host) { in denali_pci_probe() 93 nsels = denali->nbanks; in denali_pci_probe() 118 denali_remove(denali); in denali_pci_probe() [all …]
|
H A D | denali_dt.c | 124 denali = &dt->controller; in denali_dt_probe() 131 denali->caps = data->caps; in denali_dt_probe() 135 denali->dev = dev; in denali_dt_probe() 137 if (denali->irq < 0) in denali_dt_probe() 138 return denali->irq; in denali_dt_probe() 141 if (IS_ERR(denali->reg)) in denali_dt_probe() 142 return PTR_ERR(denali->reg); in denali_dt_probe() 145 if (IS_ERR(denali->host)) in denali_dt_probe() 146 return PTR_ERR(denali->host); in denali_dt_probe() 203 ret = denali_init(denali); in denali_dt_probe() [all …]
|
H A D | denali.h | 382 u32 (*host_read)(struct denali_controller *denali, u32 addr); 383 void (*host_write)(struct denali_controller *denali, u32 addr, 385 void (*setup_dma)(struct denali_controller *denali, dma_addr_t dma_addr, 393 int denali_chip_init(struct denali_controller *denali, 395 int denali_init(struct denali_controller *denali); 396 void denali_remove(struct denali_controller *denali);
|
H A D | Makefile | 8 obj-$(CONFIG_MTD_NAND_DENALI) += denali.o
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | denali.c | 67 #define DENALI_BANK(denali) ((denali)->active_bank << 24) argument 219 buf[i] = denali->host_read(denali, addr); in denali_read_buf() 229 denali->host_write(denali, addr, buf[i]); in denali_write_buf() 240 buf16[i] = denali->host_read(denali, addr); in denali_read_buf16() 252 denali->host_write(denali, addr, buf16[i]); in denali_write_buf16() 297 denali->host_write(denali, DENALI_BANK(denali) | type, dat); in denali_cmd_ctrl() 467 denali->host_write(denali, mode, in denali_setup_dma64() 488 denali->host_write(denali, mode | page, in denali_setup_dma32() 517 *buf32++ = denali->host_read(denali, addr); in denali_pio_read() 540 denali->host_write(denali, addr, *buf32++); in denali_pio_write() [all …]
|
H A D | denali_dt.c | 63 struct denali_nand_info *denali = dev_get_priv(dev); in denali_dt_probe() local 71 denali->revision = data->revision; in denali_dt_probe() 72 denali->caps = data->caps; in denali_dt_probe() 73 denali->ecc_caps = data->ecc_caps; in denali_dt_probe() 76 denali->dev = dev; in denali_dt_probe() 82 denali->reg = devm_ioremap(dev, res.start, resource_size(&res)); in denali_dt_probe() 121 denali->clk_rate = clk_get_rate(&clk); in denali_dt_probe() 122 denali->clk_x_rate = clk_get_rate(&clk_x); in denali_dt_probe() 130 denali->clk_rate = 50000000; in denali_dt_probe() 131 denali->clk_x_rate = 200000000; in denali_dt_probe() [all …]
|
H A D | denali.h | 314 u32 (*host_read)(struct denali_nand_info *denali, u32 addr); 315 void (*host_write)(struct denali_nand_info *denali, u32 addr, u32 data); 316 void (*setup_dma)(struct denali_nand_info *denali, dma_addr_t dma_addr, 324 int denali_init(struct denali_nand_info *denali);
|
H A D | Makefile | 45 obj-$(CONFIG_NAND_DENALI) += denali.o
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A D | denali,nand.yaml | 4 $id: http://devicetree.org/schemas/mtd/denali,nand.yaml# 15 - altr,socfpga-denali-nand 16 - socionext,uniphier-denali-nand-v5a 17 - socionext,uniphier-denali-nand-v5b 79 const: altr,socfpga-denali-nand 96 const: socionext,uniphier-denali-nand-v5a 114 const: socionext,uniphier-denali-nand-v5b 139 compatible = "altr,socfpga-denali-nand";
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | socfpga_arria10.dtsi | 670 compatible = "denali,denali-nand-dt", "altr,socfpga-denali-nand";
|
H A D | uniphier-ld4.dtsi | 388 compatible = "socionext,uniphier-denali-nand-v5a";
|
H A D | uniphier-sld8.dtsi | 392 compatible = "socionext,uniphier-denali-nand-v5a";
|
H A D | uniphier-pro5.dtsi | 493 compatible = "socionext,uniphier-denali-nand-v5b";
|
H A D | uniphier-ld11.dtsi | 616 compatible = "socionext,uniphier-denali-nand-v5b";
|
H A D | uniphier-pro4.dtsi | 614 compatible = "socionext,uniphier-denali-nand-v5a";
|
H A D | uniphier-pxs3.dtsi | 769 compatible = "socionext,uniphier-denali-nand-v5b";
|
H A D | uniphier-pxs2.dtsi | 801 compatible = "socionext,uniphier-denali-nand-v5b";
|
/openbmc/linux/arch/arm/boot/dts/socionext/ |
H A D | uniphier-ld4.dtsi | 414 compatible = "socionext,uniphier-denali-nand-v5a";
|
H A D | uniphier-sld8.dtsi | 419 compatible = "socionext,uniphier-denali-nand-v5a";
|
H A D | uniphier-pro4.dtsi | 717 compatible = "socionext,uniphier-denali-nand-v5a";
|
H A D | uniphier-pro5.dtsi | 655 compatible = "socionext,uniphier-denali-nand-v5b";
|
/openbmc/linux/arch/arm64/boot/dts/socionext/ |
H A D | uniphier-ld11.dtsi | 645 compatible = "socionext,uniphier-denali-nand-v5b";
|
/openbmc/linux/arch/arm64/boot/dts/altera/ |
H A D | socfpga_stratix10.dtsi | 318 compatible = "altr,socfpga-denali-nand";
|
/openbmc/linux/arch/arm64/boot/dts/intel/ |
H A D | socfpga_agilex.dtsi | 323 compatible = "altr,socfpga-denali-nand";
|