/openbmc/linux/drivers/memory/ |
H A D | brcmstb_memc.c | 36 static int brcmstb_memc_uses_lpddr4(struct brcmstb_memc *memc) in brcmstb_memc_uses_lpddr4() argument 38 void __iomem *config = memc->ddr_ctrl + REG_MEMC_CNTRLR_CONFIG; in brcmstb_memc_uses_lpddr4() 46 static int brcmstb_memc_srpd_config(struct brcmstb_memc *memc, in brcmstb_memc_srpd_config() argument 49 void __iomem *cfg = memc->ddr_ctrl + memc->srpd_offset; in brcmstb_memc_srpd_config() 56 memc->timeout_cycles = cycles; in brcmstb_memc_srpd_config() 72 struct brcmstb_memc *memc = dev_get_drvdata(dev); in frequency_show() local 74 return sprintf(buf, "%d\n", memc->frequency); in frequency_show() 80 struct brcmstb_memc *memc = dev_get_drvdata(dev); in srpd_show() local 82 return sprintf(buf, "%d\n", memc->timeout_cycles); in srpd_show() 88 struct brcmstb_memc *memc = dev_get_drvdata(dev); in srpd_store() local [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | brcm,brcmstb-memc-ddr.yaml | 4 $id: http://devicetree.org/schemas/memory-controllers/brcm,brcmstb-memc-ddr.yaml# 7 title: Memory controller (MEMC) for Broadcom STB 16 - brcm,brcmstb-memc-ddr-rev-b.1.x 17 - brcm,brcmstb-memc-ddr-rev-b.2.0 18 - brcm,brcmstb-memc-ddr-rev-b.2.1 19 - brcm,brcmstb-memc-ddr-rev-b.2.2 20 - brcm,brcmstb-memc-ddr-rev-b.2.3 21 - brcm,brcmstb-memc-ddr-rev-b.2.5 22 - brcm,brcmstb-memc-ddr-rev-b.2.6 23 - brcm,brcmstb-memc-ddr-rev-b.2.7 [all …]
|
H A D | mediatek,mt7621-memc.yaml | 4 $id: http://devicetree.org/schemas/memory-controllers/mediatek,mt7621-memc.yaml# 15 - const: mediatek,mt7621-memc 30 compatible = "mediatek,mt7621-memc", "syscon";
|
/openbmc/linux/Documentation/devicetree/bindings/mips/brcm/ |
H A D | soc.txt | 50 == MEMC (MEMory Controller) 55 - compatible : should contain "brcm,brcmstb-memc" and "simple-bus" 66 compatible = "brcm,brcmstb-memc", "simple-bus"; 71 memc-arb@1000 { 75 memc-ddr@2000 { 110 "brcm,bcm7425-memc-ddr" 111 "brcm,bcm7429-memc-ddr" 112 "brcm,bcm7435-memc-ddr" and 113 "brcm,brcmstb-memc-ddr" 119 memc-ddr@2000 { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/bcm/ |
H A D | brcm,brcmstb.txt | 30 controller (MEMC). This BIU block offers a feature called Write Pairing which 32 transaction towards the memory controller (MEMC) to maximize write bandwidth. 154 == MEMC (MEMory Controller) 159 - compatible : should contain "brcm,brcmstb-memc" and "simple-bus" 185 == MEMC DDR control 190 See Documentation/devicetree/bindings/memory-controllers/brcm,brcmstb-memc-ddr.yaml for a 199 memc@0 { 200 compatible = "brcm,brcmstb-memc", "simple-bus"; 213 memc-ddr@f1102000 { 215 compatible = "brcm,brcmstb-memc-ddr"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm7445.dtsi | 233 memc@0 { 234 compatible = "brcm,brcmstb-memc", "simple-bus"; 239 memc-ddr@2000 { 240 compatible = "brcm,brcmstb-memc-ddr"; 255 memc@80000 { 256 compatible = "brcm,brcmstb-memc", "simple-bus"; 261 memc-ddr@2000 { 262 compatible = "brcm,brcmstb-memc-ddr"; 277 memc@100000 { 278 compatible = "brcm,brcmstb-memc", "simple-bus"; [all …]
|
/openbmc/linux/arch/mips/ralink/ |
H A D | of.c | 33 { .compatible = "mediatek,mt7621-memc" }, 34 { .compatible = "ralink,mt7620a-memc" }, 35 { .compatible = "ralink,rt2880-memc" }, 36 { .compatible = "ralink,rt3050-memc" }, 37 { .compatible = "ralink,rt3883-memc" },
|
/openbmc/linux/drivers/clk/ralink/ |
H A D | clk-mt7621.c | 37 struct regmap *memc; member 260 struct regmap *memc = clk->priv->memc; in mt7621_cpu_recalc_rate() local 277 regmap_read(memc, MEMC_REG_CPU_PLL, &pll); in mt7621_cpu_recalc_rate() 367 priv->memc = syscon_regmap_lookup_by_phandle(node, "ralink,memctl"); in mt7621_clk_init() 368 if (IS_ERR(priv->memc)) { in mt7621_clk_init() 369 pr_err("Could not get memc syscon regmap\n"); in mt7621_clk_init() 505 priv->memc = syscon_regmap_lookup_by_phandle(np, "ralink,memctl"); in mt7621_clk_probe() 506 if (IS_ERR(priv->memc)) { in mt7621_clk_probe() 507 ret = PTR_ERR(priv->memc); in mt7621_clk_probe() 508 dev_err(dev, "Could not get memc syscon regmap\n"); in mt7621_clk_probe()
|
/openbmc/linux/arch/mips/boot/dts/ralink/ |
H A D | mt7620a.dtsi | 44 memc@300 { 45 compatible = "ralink,mt7620a-memc", "ralink,rt3050-memc";
|
H A D | rt3883.dtsi | 44 memc@300 { 45 compatible = "ralink,rt3883-memc", "ralink,rt3050-memc";
|
H A D | rt3050.dtsi | 44 memc@300 { 45 compatible = "ralink,rt3052-memc", "ralink,rt3050-memc";
|
H A D | rt2880.dtsi | 44 memc@300 { 45 compatible = "ralink,rt2880-memc";
|
H A D | mt7621.dtsi | 67 ralink,memctl = <&memc>; 109 memc: memory-controller@5000 { label 110 compatible = "mediatek,mt7621-memc", "syscon";
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | etherh.c | 66 void __iomem *memc; member 89 #define ETHERH500_DATAPORT 0x800 /* MEMC */ 90 #define ETHERH500_NS8390 0x000 /* MEMC */ 93 #define ETHERH600_DATAPORT 0x040 /* MEMC */ 94 #define ETHERH600_NS8390 0x800 /* MEMC */ 95 #define ETHERH600_CTRLPORT 0x200 /* MEMC */ 107 #define ETHERM_DATAPORT 0x200 /* MEMC */ 108 #define ETHERM_NS8390 0x800 /* MEMC */ 109 #define ETHERM_CTRLPORT 0x23c /* MEMC */ 692 eh->memc = ecardm_iomap(ec, ECARD_RES_MEMC, 0, PAGE_SIZE); in etherh_probe() [all …]
|
/openbmc/linux/arch/mips/boot/dts/brcm/ |
H A D | bcm7435.dtsi | 550 compatible = "brcm,brcmstb-memc", "simple-bus"; 555 memc-arb@1000 { 556 compatible = "brcm,brcmstb-memc-arb"; 560 memc-ddr@2000 { 561 compatible = "brcm,brcmstb-memc-ddr"; 577 compatible = "brcm,brcmstb-memc", "simple-bus"; 582 memc-arb@1000 { 583 compatible = "brcm,brcmstb-memc-arb"; 587 memc-ddr@2000 { 588 compatible = "brcm,brcmstb-memc-ddr";
|
H A D | bcm7425.dtsi | 534 compatible = "brcm,brcmstb-memc", "simple-bus"; 539 memc-arb@1000 { 540 compatible = "brcm,brcmstb-memc-arb"; 544 memc-ddr@2000 { 545 compatible = "brcm,brcmstb-memc-ddr"; 561 compatible = "brcm,brcmstb-memc", "simple-bus"; 566 memc-arb@1000 { 567 compatible = "brcm,brcmstb-memc-arb"; 571 memc-ddr@2000 { 572 compatible = "brcm,brcmstb-memc-ddr";
|
H A D | bcm7362.dtsi | 438 compatible = "brcm,brcmstb-memc", "simple-bus"; 443 memc-arb@1000 { 444 compatible = "brcm,brcmstb-memc-arb"; 448 memc-ddr@2000 { 449 compatible = "brcm,brcmstb-memc-ddr";
|
H A D | bcm7360.dtsi | 442 compatible = "brcm,brcmstb-memc", "simple-bus"; 447 memc-arb@1000 { 448 compatible = "brcm,brcmstb-memc-arb"; 452 memc-ddr@2000 { 453 compatible = "brcm,brcmstb-memc-ddr";
|
H A D | bcm7346.dtsi | 523 compatible = "brcm,brcmstb-memc", "simple-bus"; 528 memc-arb@1000 { 529 compatible = "brcm,brcmstb-memc-arb"; 533 memc-ddr@2000 { 534 compatible = "brcm,brcmstb-memc-ddr";
|
/openbmc/linux/arch/arm/mach-pxa/ |
H A D | pxa27x.h | 15 #define ARB_EX_MEM_PARK (1<<29) /* Be parked with external MEMC when idle */ 16 #define ARB_INT_MEM_PARK (1<<28) /* Be parked with internal MEMC when idle */
|
/openbmc/linux/drivers/soc/bcm/brcmstb/pm/ |
H A D | pm-mips.c | 349 { .compatible = "brcm,brcmstb-memc-arb" }, 403 /* Map MEMC DDR PHY registers */ in brcmstb_pm_init() 421 /* MEMC ARB registers */ in brcmstb_pm_init() 424 pr_err("error mapping MEMC ARB\n"); in brcmstb_pm_init()
|
/openbmc/linux/arch/arm/include/asm/hardware/ |
H A D | memc.h | 3 * arch/arm/include/asm/hardware/memc.h
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-brcmstb.c | 812 /* Each memc is viewed through a "port" that is a power of 2 */ in brcm_pcie_get_rc_bar2_size_and_offset() 818 /* The sum of all memc views must also be a power of 2 */ in brcm_pcie_get_rc_bar2_size_and_offset() 872 int ret, memc; in brcm_pcie_setup() local 934 for (memc = 0; memc < pcie->num_memc; memc++) { in brcm_pcie_setup() 935 u32 scb_size_val = ilog2(pcie->memc_size[memc]) - 15; in brcm_pcie_setup() 937 if (memc == 0) in brcm_pcie_setup() 939 else if (memc == 1) in brcm_pcie_setup() 941 else if (memc == 2) in brcm_pcie_setup()
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | mediatek,mt7621-sysc.yaml | 76 ralink,memctl = <&memc>;
|
/openbmc/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 1567 struct pci_dev *memc = pci_get_slot(pdev->bus, slot); in sym_config_pqs() local 1569 if (!memc || memc->vendor != 0x101a || memc->device == 0x0009) { in sym_config_pqs() 1570 pci_dev_put(memc); in sym_config_pqs() 1575 pci_read_config_byte(memc, 0x44, &tmp); in sym_config_pqs() 1578 pci_write_config_byte(memc, 0x44, tmp); in sym_config_pqs() 1582 pci_read_config_byte(memc, 0x45, &tmp); in sym_config_pqs() 1585 pci_write_config_byte(memc, 0x45, tmp); in sym_config_pqs() 1588 pci_dev_put(memc); in sym_config_pqs()
|