Home
last modified time | relevance | path

Searched refs:denali (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/linux/drivers/mtd/nand/raw/
H A Ddenali.c39 #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 Ddenali_pci.c38 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 Ddenali_dt.c124 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 Ddenali.h382 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 DMakefile8 obj-$(CONFIG_MTD_NAND_DENALI) += denali.o
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Ddenali.c67 #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 Ddenali_dt.c63 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 Ddenali.h314 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 DMakefile45 obj-$(CONFIG_NAND_DENALI) += denali.o
/openbmc/linux/Documentation/devicetree/bindings/mtd/
H A Ddenali,nand.yaml4 $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 Dsocfpga_arria10.dtsi670 compatible = "denali,denali-nand-dt", "altr,socfpga-denali-nand";
H A Duniphier-ld4.dtsi388 compatible = "socionext,uniphier-denali-nand-v5a";
H A Duniphier-sld8.dtsi392 compatible = "socionext,uniphier-denali-nand-v5a";
H A Duniphier-pro5.dtsi493 compatible = "socionext,uniphier-denali-nand-v5b";
H A Duniphier-ld11.dtsi616 compatible = "socionext,uniphier-denali-nand-v5b";
H A Duniphier-pro4.dtsi614 compatible = "socionext,uniphier-denali-nand-v5a";
H A Duniphier-pxs3.dtsi769 compatible = "socionext,uniphier-denali-nand-v5b";
H A Duniphier-pxs2.dtsi801 compatible = "socionext,uniphier-denali-nand-v5b";
/openbmc/linux/arch/arm/boot/dts/socionext/
H A Duniphier-ld4.dtsi414 compatible = "socionext,uniphier-denali-nand-v5a";
H A Duniphier-sld8.dtsi419 compatible = "socionext,uniphier-denali-nand-v5a";
H A Duniphier-pro4.dtsi717 compatible = "socionext,uniphier-denali-nand-v5a";
H A Duniphier-pro5.dtsi655 compatible = "socionext,uniphier-denali-nand-v5b";
/openbmc/linux/arch/arm64/boot/dts/socionext/
H A Duniphier-ld11.dtsi645 compatible = "socionext,uniphier-denali-nand-v5b";
/openbmc/linux/arch/arm64/boot/dts/altera/
H A Dsocfpga_stratix10.dtsi318 compatible = "altr,socfpga-denali-nand";
/openbmc/linux/arch/arm64/boot/dts/intel/
H A Dsocfpga_agilex.dtsi323 compatible = "altr,socfpga-denali-nand";

12