| /Linux-v5.4/drivers/memory/tegra/ |
| D | tegra20-emc.c | 152 struct tegra_emc *emc = data; in tegra_emc_isr() local 156 status = readl_relaxed(emc->regs + EMC_INTSTATUS) & intmask; in tegra_emc_isr() 162 complete(&emc->clk_handshake_complete); in tegra_emc_isr() 166 dev_err_ratelimited(emc->dev, in tegra_emc_isr() 170 writel_relaxed(status, emc->regs + EMC_INTSTATUS); in tegra_emc_isr() 175 static struct emc_timing *tegra_emc_find_timing(struct tegra_emc *emc, in tegra_emc_find_timing() argument 181 for (i = 0; i < emc->num_timings; i++) { in tegra_emc_find_timing() 182 if (emc->timings[i].rate >= rate) { in tegra_emc_find_timing() 183 timing = &emc->timings[i]; in tegra_emc_find_timing() 189 dev_err(emc->dev, "no timing for rate %lu\n", rate); in tegra_emc_find_timing() [all …]
|
| D | tegra124-emc.c | 480 static void emc_ccfifo_writel(struct tegra_emc *emc, u32 value, in emc_ccfifo_writel() argument 483 writel(value, emc->regs + EMC_CCFIFO_DATA); in emc_ccfifo_writel() 484 writel(offset, emc->regs + EMC_CCFIFO_ADDR); in emc_ccfifo_writel() 487 static void emc_seq_update_timing(struct tegra_emc *emc) in emc_seq_update_timing() argument 492 writel(1, emc->regs + EMC_TIMING_CONTROL); in emc_seq_update_timing() 495 value = readl(emc->regs + EMC_STATUS); in emc_seq_update_timing() 501 dev_err(emc->dev, "timing update timed out\n"); in emc_seq_update_timing() 504 static void emc_seq_disable_auto_cal(struct tegra_emc *emc) in emc_seq_disable_auto_cal() argument 509 writel(0, emc->regs + EMC_AUTO_CAL_INTERVAL); in emc_seq_disable_auto_cal() 512 value = readl(emc->regs + EMC_AUTO_CAL_STATUS); in emc_seq_disable_auto_cal() [all …]
|
| D | Makefile | 13 obj-$(CONFIG_TEGRA20_EMC) += tegra20-emc.o 14 obj-$(CONFIG_TEGRA124_EMC) += tegra124-emc.o
|
| /Linux-v5.4/arch/arm/boot/dts/ |
| D | tegra124-apalis-emc.dtsi | 9 emc-timings-1 { 16 clock-names = "emc-parent"; 22 clock-names = "emc-parent"; 28 clock-names = "emc-parent"; 34 clock-names = "emc-parent"; 40 clock-names = "emc-parent"; 46 clock-names = "emc-parent"; 52 clock-names = "emc-parent"; 58 clock-names = "emc-parent"; 64 clock-names = "emc-parent"; [all …]
|
| D | tegra124-jetson-tk1-emc.dtsi | 4 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 …]
|
| D | tegra124-nyan-big-emc.dtsi | 4 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 …]
|
| D | tegra124-nyan-blaze-emc.dtsi | 4 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 …]
|
| D | lpc4350-hitex-eval.dts | 139 emc_pins: emc-pins { 147 function = "emc"; 159 function = "emc"; 168 function = "emc"; 177 function = "emc"; 186 function = "emc"; 195 function = "emc"; 204 function = "emc"; 213 function = "emc"; 222 function = "emc"; [all …]
|
| D | lpc4357-ea4357-devkit.dts | 165 emc_pins: emc-pins { 173 function = "emc"; 189 function = "emc"; 198 function = "emc"; 207 function = "emc"; 216 function = "emc"; 225 function = "emc"; 234 function = "emc"; 243 function = "emc"; 252 function = "emc"; [all …]
|
| D | lpc4357-myd-lpc4357.dts | 116 emc_pins: emc-pins { 124 function = "emc"; 134 function = "emc"; 143 function = "emc"; 150 function = "emc"; 157 function = "emc"; 164 function = "emc"; 171 function = "emc"; 178 function = "emc"; 185 function = "emc"; [all …]
|
| D | tegra20-colibri.dtsi | 615 emc-table@83250 { 617 compatible = "nvidia,tegra20-emc-table"; 619 nvidia,emc-registers = <0x00000005 0x00000011 632 emc-table@133200 { 634 compatible = "nvidia,tegra20-emc-table"; 636 nvidia,emc-registers = <0x00000008 0x00000019 649 emc-table@166500 { 651 compatible = "nvidia,tegra20-emc-table"; 653 nvidia,emc-registers = <0x0000000a 0x00000021 666 emc-table@333000 { [all …]
|
| D | tegra20-seaboard.dts | 695 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
|
| D | tegra124.dtsi | 247 nvidia,external-memory-controller = <&emc>; 261 clock-names = "actmon", "emc"; 624 emc: emc@7001b000 { label 625 compatible = "nvidia,tegra124-emc";
|
| /Linux-v5.4/Documentation/devicetree/bindings/memory-controllers/ |
| D | nvidia,tegra124-emc.txt | 5 - 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 …]
|
| D | nvidia,tegra20-emc.txt | 4 - name : Should be emc 7 - compatible : Should contain "nvidia,tegra20-emc". 23 compatible = "nvidia,tegra20-emc"; 32 If the emc node has the nvidia,use-ram-code property present, then the 33 next level of nodes below the emc table are used to specify which settings 36 If the emc node lacks the nvidia,use-ram-code property, this level is omitted 37 and the tables are stored directly under the emc node (see below). 41 - name : Should be emc-tables 51 subnodes of the emc controller node. 69 - name : Should be emc-table [all …]
|
| D | nvidia,tegra30-mc.txt | 26 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 {
|
| D | arm,pl172.txt | 90 emc: memory-controller@40005000 {
|
| /Linux-v5.4/Documentation/devicetree/bindings/clock/ |
| D | nvidia,tegra124-car.txt | 25 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-v5.4/drivers/clk/tegra/ |
| D | clk-emc.c | 78 struct tegra_emc *emc; member 176 if (tegra->emc) in emc_ensure_emc_driver() 177 return tegra->emc; in emc_ensure_emc_driver() 192 tegra->emc = platform_get_drvdata(pdev); in emc_ensure_emc_driver() 193 if (!tegra->emc) { in emc_ensure_emc_driver() 198 return tegra->emc; in emc_ensure_emc_driver() 208 struct tegra_emc *emc = emc_ensure_emc_driver(tegra); in emc_set_timing() local 210 if (!emc) in emc_set_timing() 244 err = tegra_emc_prepare_timing_change(emc, timing->rate); in emc_set_timing() 262 tegra_emc_complete_timing_change(emc, timing->rate); in emc_set_timing()
|
| D | Makefile | 18 obj-$(CONFIG_TEGRA_CLK_EMC) += clk-emc.o
|
| /Linux-v5.4/include/soc/tegra/ |
| D | emc.h | 11 int tegra_emc_prepare_timing_change(struct tegra_emc *emc, 13 void tegra_emc_complete_timing_change(struct tegra_emc *emc,
|
| /Linux-v5.4/drivers/s390/char/ |
| D | tape_3590.h | 93 unsigned int emc:4; member 105 unsigned int emc:4; member
|
| D | tape_3590.c | 969 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-v5.4/Documentation/devicetree/bindings/arm/tegra/ |
| D | nvidia,tegra30-actmon.txt | 16 - emc 29 clock-names = "actmon", "emc";
|
| /Linux-v5.4/arch/arm64/boot/dts/nvidia/ |
| D | tegra132.dtsi | 226 nvidia,external-memory-controller = <&emc>; 240 clock-names = "actmon", "emc"; 607 emc: emc@7001b000 { label 608 compatible = "nvidia,tegra132-emc", "nvidia,tegra124-emc";
|