Home
last modified time | relevance | path

Searched refs:emc (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v4.19/drivers/memory/tegra/
Dtegra124-emc.c488 static void emc_ccfifo_writel(struct tegra_emc *emc, u32 value, in emc_ccfifo_writel() argument
491 writel(value, emc->regs + EMC_CCFIFO_DATA); in emc_ccfifo_writel()
492 writel(offset, emc->regs + EMC_CCFIFO_ADDR); in emc_ccfifo_writel()
495 static void emc_seq_update_timing(struct tegra_emc *emc) in emc_seq_update_timing() argument
500 writel(1, emc->regs + EMC_TIMING_CONTROL); in emc_seq_update_timing()
503 value = readl(emc->regs + EMC_STATUS); in emc_seq_update_timing()
509 dev_err(emc->dev, "timing update timed out\n"); in emc_seq_update_timing()
512 static void emc_seq_disable_auto_cal(struct tegra_emc *emc) in emc_seq_disable_auto_cal() argument
517 writel(0, emc->regs + EMC_AUTO_CAL_INTERVAL); in emc_seq_disable_auto_cal()
520 value = readl(emc->regs + EMC_AUTO_CAL_STATUS); in emc_seq_disable_auto_cal()
[all …]
DMakefile13 obj-$(CONFIG_TEGRA124_EMC) += tegra124-emc.o
/Linux-v4.19/arch/arm/boot/dts/
Dtegra124-jetson-tk1-emc.dtsi4 emc-timings-3 {
11 clock-names = "emc-parent";
17 clock-names = "emc-parent";
23 clock-names = "emc-parent";
29 clock-names = "emc-parent";
35 clock-names = "emc-parent";
41 clock-names = "emc-parent";
47 clock-names = "emc-parent";
53 clock-names = "emc-parent";
59 clock-names = "emc-parent";
[all …]
Dtegra124-nyan-blaze-emc.dtsi4 emc-timings-1 {
11 clock-names = "emc-parent";
17 clock-names = "emc-parent";
23 clock-names = "emc-parent";
29 clock-names = "emc-parent";
35 clock-names = "emc-parent";
41 clock-names = "emc-parent";
47 clock-names = "emc-parent";
53 clock-names = "emc-parent";
60 clock-names = "emc-parent";
[all …]
Dtegra124-nyan-big-emc.dtsi4 emc-timings-1 {
11 clock-names = "emc-parent";
17 clock-names = "emc-parent";
23 clock-names = "emc-parent";
29 clock-names = "emc-parent";
35 clock-names = "emc-parent";
41 clock-names = "emc-parent";
47 clock-names = "emc-parent";
53 clock-names = "emc-parent";
60 clock-names = "emc-parent";
[all …]
Dtegra124-apalis-emc.dtsi44 emc-timings-1 {
51 clock-names = "emc-parent";
57 clock-names = "emc-parent";
63 clock-names = "emc-parent";
69 clock-names = "emc-parent";
75 clock-names = "emc-parent";
81 clock-names = "emc-parent";
87 clock-names = "emc-parent";
93 clock-names = "emc-parent";
99 clock-names = "emc-parent";
[all …]
Dlpc4350-hitex-eval.dts141 emc_pins: emc-pins {
149 function = "emc";
161 function = "emc";
170 function = "emc";
179 function = "emc";
188 function = "emc";
197 function = "emc";
206 function = "emc";
215 function = "emc";
224 function = "emc";
[all …]
Dlpc4357-ea4357-devkit.dts167 emc_pins: emc-pins {
175 function = "emc";
191 function = "emc";
200 function = "emc";
209 function = "emc";
218 function = "emc";
227 function = "emc";
236 function = "emc";
245 function = "emc";
254 function = "emc";
[all …]
Dtegra20-colibri.dtsi416 emc-table@83250 {
418 compatible = "nvidia,tegra20-emc-table";
420 nvidia,emc-registers = <0x00000005 0x00000011
433 emc-table@133200 {
435 compatible = "nvidia,tegra20-emc-table";
437 nvidia,emc-registers = <0x00000008 0x00000019
450 emc-table@166500 {
452 compatible = "nvidia,tegra20-emc-table";
454 nvidia,emc-registers = <0x0000000a 0x00000021
467 emc-table@333000 {
[all …]
Dtegra20-seaboard.dts695 emc-table@190000 {
697 compatible = "nvidia,tegra20-emc-table";
699 nvidia,emc-registers = <0x0000000c 0x00000026
713 emc-table@380000 {
715 compatible = "nvidia,tegra20-emc-table";
717 nvidia,emc-registers = <0x00000017 0x0000004b
Dtegra124.dtsi235 nvidia,external-memory-controller = <&emc>;
249 clock-names = "actmon", "emc";
612 emc: emc@7001b000 { label
613 compatible = "nvidia,tegra124-emc";
/Linux-v4.19/Documentation/devicetree/bindings/memory-controllers/
Dnvidia,tegra124-emc.txt5 - compatible : Should be "nvidia,tegra124-emc".
9 The node should contain a "emc-timings" subnode for each supported RAM type
13 Required properties for "emc-timings" nodes :
17 Each "emc-timings" node should contain a "timing" subnode for every supported
25 - nvidia,emc-auto-cal-config : EMC_AUTO_CAL_CONFIG
26 - nvidia,emc-auto-cal-config2 : EMC_AUTO_CAL_CONFIG2
27 - nvidia,emc-auto-cal-config3 : EMC_AUTO_CAL_CONFIG3
28 - nvidia,emc-auto-cal-interval : EMC_AUTO_CAL_INTERVAL
29 - nvidia,emc-bgbias-ctl0 : EMC_BGBIAS_CTL0
30 - nvidia,emc-cfg : EMC_CFG
[all …]
Dnvidia,tegra30-mc.txt26 emc-timings subnode
29 The node should contain a "emc-timings" subnode for each supported RAM type (see field RAM_CODE in
32 Required properties for "emc-timings" nodes :
38 Each "emc-timings" node should contain a subnode for every supported EMC clock rate.
93 emc-timings-3 {
Darm,pl172.txt90 emc: memory-controller@40005000 {
/Linux-v4.19/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,tegra20-emc.txt4 - name : Should be emc
7 - compatible : Should contain "nvidia,tegra20-emc".
21 compatible = "nvidia,tegra20-emc";
28 If the emc node has the nvidia,use-ram-code property present, then the
29 next level of nodes below the emc table are used to specify which settings
32 If the emc node lacks the nvidia,use-ram-code property, this level is omitted
33 and the tables are stored directly under the emc node (see below).
37 - name : Should be emc-tables
47 subnodes of the emc controller node.
65 - name : Should be emc-table
[all …]
Dnvidia,tegra30-actmon.txt16 - emc
29 clock-names = "actmon", "emc";
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dnvidia,tegra124-car.txt25 The node should contain a "emc-timings" subnode for each supported RAM type (see
28 Required properties for "emc-timings" nodes :
32 Each "emc-timings" node should contain a "timing" subnode for every supported
43 - emc-parent : the clock that should be the parent of the EMC clock at this
54 nvidia,external-memory-controller = <&emc>;
90 emc-timings-3 {
97 clock-names = "emc-parent";
103 clock-names = "emc-parent";
/Linux-v4.19/drivers/clk/tegra/
Dclk-emc.c85 struct tegra_emc *emc; member
175 if (tegra->emc) in emc_ensure_emc_driver()
176 return tegra->emc; in emc_ensure_emc_driver()
191 tegra->emc = platform_get_drvdata(pdev); in emc_ensure_emc_driver()
192 if (!tegra->emc) { in emc_ensure_emc_driver()
197 return tegra->emc; in emc_ensure_emc_driver()
207 struct tegra_emc *emc = emc_ensure_emc_driver(tegra); in emc_set_timing() local
209 if (!emc) in emc_set_timing()
240 err = tegra_emc_prepare_timing_change(emc, timing->rate); in emc_set_timing()
258 tegra_emc_complete_timing_change(emc, timing->rate); in emc_set_timing()
DMakefile18 obj-$(CONFIG_TEGRA_CLK_EMC) += clk-emc.o
/Linux-v4.19/include/soc/tegra/
Demc.h14 int tegra_emc_prepare_timing_change(struct tegra_emc *emc,
16 void tegra_emc_complete_timing_change(struct tegra_emc *emc,
/Linux-v4.19/drivers/s390/char/
Dtape_3590.h93 unsigned int emc:4; member
105 unsigned int emc:4; member
Dtape_3590.c969 switch (sense->fmt.f70.emc) { in tape_3590_print_mim_msg_f0()
993 sense->fmt.f70.emc); in tape_3590_print_mim_msg_f0()
1033 switch (sense->fmt.f71.emc) { in tape_3590_print_io_sim_msg_f1()
1063 sense->fmt.f71.emc); in tape_3590_print_io_sim_msg_f1()
1144 switch (sense->fmt.f71.emc) { in tape_3590_print_dev_sim_msg_f2()
1172 sense->fmt.f71.emc); in tape_3590_print_dev_sim_msg_f2()
1265 sense->fmt.f70.emc, sense->fmt.f70.smc, in tape_3590_print_era_msg()
1276 sense->mc, sense->fmt.f71.emc, sense->fmt.f71.smc, in tape_3590_print_era_msg()
1287 sense->mc, sense->fmt.f71.emc, sense->fmt.f71.smc, in tape_3590_print_era_msg()
/Linux-v4.19/arch/arm64/boot/dts/nvidia/
Dtegra132.dtsi226 nvidia,external-memory-controller = <&emc>;
240 clock-names = "actmon", "emc";
607 emc: emc@7001b000 { label
608 compatible = "nvidia,tegra132-emc", "nvidia,tegra124-emc";
/Linux-v4.19/arch/arm/mach-w90x900/
Dcpu.c62 static DEFINE_CLK(emc, 7);
/Linux-v4.19/arch/mips/include/asm/octeon/
Dcvmx-pciercx-defs.h262 __BITFIELD_FIELD(uint32_t emc:1,

12