Home
last modified time | relevance | path

Searched full:memc (Results 1 – 25 of 47) sorted by relevance

12

/Linux-v6.1/drivers/memory/
Dbrcmstb_memc.c36 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 …]
/Linux-v6.1/Documentation/devicetree/bindings/memory-controllers/
Dbrcm,brcmstb-memc-ddr.yaml4 $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 …]
Dmediatek,mt7621-memc.yaml4 $id: http://devicetree.org/schemas/memory-controllers/mediatek,mt7621-memc.yaml#
15 - const: mediatek,mt7621-memc
30 compatible = "mediatek,mt7621-memc", "syscon";
/Linux-v6.1/Documentation/devicetree/bindings/mips/brcm/
Dsoc.txt50 == 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 …]
/Linux-v6.1/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,brcmstb.txt30 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 …]
/Linux-v6.1/arch/arm/boot/dts/
Dbcm7445.dtsi233 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 …]
/Linux-v6.1/drivers/clk/ralink/
Dclk-mt7621.c37 struct regmap *memc; member
254 struct regmap *memc = clk->priv->memc; in mt7621_cpu_recalc_rate() local
271 regmap_read(memc, MEMC_REG_CPU_PLL, &pll); in mt7621_cpu_recalc_rate()
361 priv->memc = syscon_regmap_lookup_by_phandle(node, "ralink,memctl"); in mt7621_clk_init()
362 if (IS_ERR(priv->memc)) { in mt7621_clk_init()
363 pr_err("Could not get memc syscon regmap\n"); in mt7621_clk_init()
499 priv->memc = syscon_regmap_lookup_by_phandle(np, "ralink,memctl"); in mt7621_clk_probe()
500 if (IS_ERR(priv->memc)) { in mt7621_clk_probe()
501 ret = PTR_ERR(priv->memc); in mt7621_clk_probe()
502 dev_err(dev, "Could not get memc syscon regmap\n"); in mt7621_clk_probe()
/Linux-v6.1/drivers/net/ethernet/8390/
Detherh.c66 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 …]
/Linux-v6.1/arch/mips/boot/dts/ralink/
Dmt7620a.dtsi44 memc@300 {
45 compatible = "ralink,mt7620a-memc", "ralink,rt3050-memc";
Drt3883.dtsi44 memc@300 {
45 compatible = "ralink,rt3883-memc", "ralink,rt3050-memc";
Drt3050.dtsi44 memc@300 {
45 compatible = "ralink,rt3052-memc", "ralink,rt3050-memc";
Drt2880.dtsi44 memc@300 {
45 compatible = "ralink,rt2880-memc";
Dmt7621.dtsi67 ralink,memctl = <&memc>;
108 memc: memory-controller@5000 { label
109 compatible = "mediatek,mt7621-memc", "syscon";
/Linux-v6.1/arch/mips/boot/dts/brcm/
Dbcm7425.dtsi534 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";
Dbcm7435.dtsi549 compatible = "brcm,brcmstb-memc", "simple-bus";
554 memc-arb@1000 {
555 compatible = "brcm,brcmstb-memc-arb";
559 memc-ddr@2000 {
560 compatible = "brcm,brcmstb-memc-ddr";
576 compatible = "brcm,brcmstb-memc", "simple-bus";
581 memc-arb@1000 {
582 compatible = "brcm,brcmstb-memc-arb";
586 memc-ddr@2000 {
587 compatible = "brcm,brcmstb-memc-ddr";
Dbcm7360.dtsi442 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";
Dbcm7362.dtsi438 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";
Dbcm7346.dtsi523 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";
/Linux-v6.1/arch/arm/mach-pxa/
Dpxa27x.h15 #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 */
/Linux-v6.1/drivers/soc/bcm/brcmstb/pm/
Dpm-arm.c625 .compatible = "brcm,brcmstb-memc-ddr-rev-b.2.1",
629 .compatible = "brcm,brcmstb-memc-ddr-rev-b.2.2",
633 .compatible = "brcm,brcmstb-memc-ddr-rev-b.2.3",
637 .compatible = "brcm,brcmstb-memc-ddr-rev-b.3.0",
641 .compatible = "brcm,brcmstb-memc-ddr-rev-b.3.1",
645 .compatible = "brcm,brcmstb-memc-ddr",
740 * Slightly gross to use the phy ver to get a memc, in brcmstb_pm_probe()
Dpm-mips.c349 { .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()
Ds2-arm.S44 /* Bring MEMC back up */
/Linux-v6.1/drivers/pci/controller/
Dpcie-brcmstb.c814 /* Each memc is viewed through a "port" that is a power of 2 */ in brcm_pcie_get_rc_bar2_size_and_offset()
820 /* The sum of all memc views must also be a power of 2 */ in brcm_pcie_get_rc_bar2_size_and_offset()
874 int ret, memc; in brcm_pcie_setup() local
926 for (memc = 0; memc < pcie->num_memc; memc++) { in brcm_pcie_setup()
927 u32 scb_size_val = ilog2(pcie->memc_size[memc]) - 15; in brcm_pcie_setup()
929 if (memc == 0) in brcm_pcie_setup()
931 else if (memc == 1) in brcm_pcie_setup()
933 else if (memc == 2) in brcm_pcie_setup()
/Linux-v6.1/arch/arm/include/asm/hardware/
Dmemc.h3 * arch/arm/include/asm/hardware/memc.h
/Linux-v6.1/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1567 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()

12