Home
last modified time | relevance | path

Searched refs:nemc (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/memory/
Djz4780-nemc.c94 struct jz4780_nemc *nemc = dev_get_drvdata(dev->parent); in jz4780_nemc_set_type() local
97 nfcsr = readl(nemc->base + NEMC_NFCSR); in jz4780_nemc_set_type()
110 writel(nfcsr, nemc->base + NEMC_NFCSR); in jz4780_nemc_set_type()
125 struct jz4780_nemc *nemc = dev_get_drvdata(dev->parent); in jz4780_nemc_assert() local
128 nfcsr = readl(nemc->base + NEMC_NFCSR); in jz4780_nemc_assert()
135 writel(nfcsr, nemc->base + NEMC_NFCSR); in jz4780_nemc_assert()
139 static uint32_t jz4780_nemc_clk_period(struct jz4780_nemc *nemc) in jz4780_nemc_clk_period() argument
143 rate = clk_get_rate(nemc->clk); in jz4780_nemc_clk_period()
151 static uint32_t jz4780_nemc_ns_to_cycles(struct jz4780_nemc *nemc, uint32_t ns) in jz4780_nemc_ns_to_cycles() argument
153 return ((ns * 1000) + nemc->clk_period - 1) / nemc->clk_period; in jz4780_nemc_ns_to_cycles()
[all …]
DMakefile20 obj-$(CONFIG_JZ4780_NEMC) += jz4780-nemc.o
/Linux-v5.4/arch/mips/boot/dts/ingenic/
Dci20.dts90 &nemc {
102 ingenic,nemc-tAS = <10>;
103 ingenic,nemc-tAH = <5>;
104 ingenic,nemc-tBP = <10>;
105 ingenic,nemc-tAW = <15>;
106 ingenic,nemc-tSTRV = <100>;
169 ingenic,nemc-tAS = <15>;
170 ingenic,nemc-tAH = <10>;
171 ingenic,nemc-tBP = <20>;
172 ingenic,nemc-tAW = <50>;
[all …]
Djz4780.dtsi273 nemc: nemc@13410000 { label
274 compatible = "ingenic,jz4780-nemc";
Djz4740.dtsi238 nemc: memory-controller@13010000 { label
239 compatible = "ingenic,jz4740-nemc";
Dqi_lb60.dts250 &nemc {
319 pins_nemc: nemc {
/Linux-v5.4/Documentation/devicetree/bindings/memory-controllers/
Dingenic,jz4780-nemc.txt8 "ingenic,jz4740-nemc" (JZ4740)
9 "ingenic,jz4780-nemc" (JZ4780)
32 - ingenic,nemc-bus-width: Specifies the bus width in bits. Defaults to 8 bits.
33 - ingenic,nemc-tAS: Address setup time in nanoseconds.
34 - ingenic,nemc-tAH: Address hold time in nanoseconds.
35 - ingenic,nemc-tBP: Burst pitch time in nanoseconds.
36 - ingenic,nemc-tAW: Access wait time in nanoseconds.
37 - ingenic,nemc-tSTRV: Static memory recovery time in nanoseconds.
48 nemc: nemc@13410000 {
49 compatible = "ingenic,jz4780-nemc";
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/mtd/
Dingenic,jz4780-nand.txt5 memory-controllers/ingenic,jz4780-nemc.txt), and thus NAND device nodes must
41 nemc: nemc@13410000 {
/Linux-v5.4/
DMAINTAINERS8099 F: drivers/memory/jz4780-nemc.c