Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/memory/
Djz4780-nemc.c92 struct jz4780_nemc *nemc = dev_get_drvdata(dev->parent); in jz4780_nemc_set_type() local
95 nfcsr = readl(nemc->base + NEMC_NFCSR); in jz4780_nemc_set_type()
108 writel(nfcsr, nemc->base + NEMC_NFCSR); in jz4780_nemc_set_type()
123 struct jz4780_nemc *nemc = dev_get_drvdata(dev->parent); in jz4780_nemc_assert() local
126 nfcsr = readl(nemc->base + NEMC_NFCSR); in jz4780_nemc_assert()
133 writel(nfcsr, nemc->base + NEMC_NFCSR); in jz4780_nemc_assert()
137 static uint32_t jz4780_nemc_clk_period(struct jz4780_nemc *nemc) in jz4780_nemc_clk_period() argument
141 rate = clk_get_rate(nemc->clk); in jz4780_nemc_clk_period()
149 static uint32_t jz4780_nemc_ns_to_cycles(struct jz4780_nemc *nemc, uint32_t ns) in jz4780_nemc_ns_to_cycles() argument
151 return ((ns * 1000) + nemc->clk_period - 1) / nemc->clk_period; in jz4780_nemc_ns_to_cycles()
[all …]
DMakefile16 obj-$(CONFIG_JZ4780_NEMC) += jz4780-nemc.o
/linux-4.1.27/Documentation/devicetree/bindings/memory-controllers/
Dingenic,jz4780-nemc.txt8 "ingenic,jz4780-nemc" (JZ4780)
31 - ingenic,nemc-bus-width: Specifies the bus width in bits. Defaults to 8 bits.
32 - ingenic,nemc-tAS: Address setup time in nanoseconds.
33 - ingenic,nemc-tAH: Address hold time in nanoseconds.
34 - ingenic,nemc-tBP: Burst pitch time in nanoseconds.
35 - ingenic,nemc-tAW: Access wait time in nanoseconds.
36 - ingenic,nemc-tSTRV: Static memory recovery time in nanoseconds.
47 nemc: nemc@13410000 {
48 compatible = "ingenic,jz4780-nemc";
67 ingenic,nemc-tAS = <10>;
[all …]