Home
last modified time | relevance | path

Searched refs:memc (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/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-6.1.9/Documentation/devicetree/bindings/memory-controllers/
Dbrcm,brcmstb-memc-ddr.yaml4 $id: http://devicetree.org/schemas/memory-controllers/brcm,brcmstb-memc-ddr.yaml#
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
24 - brcm,brcmstb-memc-ddr-rev-b.2.8
[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-6.1.9/Documentation/devicetree/bindings/mips/brcm/
Dsoc.txt55 - 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 {
120 compatible = "brcm,bcm7425-memc-ddr", "brcm,brcmstb-memc-ddr";
[all …]
/linux-6.1.9/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-6.1.9/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,brcmstb.txt159 - compatible : should contain "brcm,brcmstb-memc" and "simple-bus"
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";
219 memc@1 {
220 compatible = "brcm,brcmstb-memc", "simple-bus";
233 memc-ddr@f1182000 {
235 compatible = "brcm,brcmstb-memc-ddr";
[all …]
/linux-6.1.9/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";
Dmt7628a.dtsi169 compatible = "ralink,mt7620a-memc";
/linux-6.1.9/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()
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()
/linux-6.1.9/arch/mips/boot/dts/brcm/
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";
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";
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";
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";
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-6.1.9/drivers/net/ethernet/8390/
Detherh.c66 void __iomem *memc; member
692 eh->memc = ecardm_iomap(ec, ECARD_RES_MEMC, 0, PAGE_SIZE); in etherh_probe()
693 if (!eh->memc) { in etherh_probe()
698 eh->ctrl_port = eh->memc; in etherh_probe()
708 dev->base_addr = (unsigned long)eh->memc + data->ns8390_offset; in etherh_probe()
709 eh->dma_base = eh->memc + data->dataport_offset; in etherh_probe()
/linux-6.1.9/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()
/linux-6.1.9/drivers/pci/controller/
Dpcie-brcmstb.c874 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-6.1.9/Documentation/devicetree/bindings/clock/
Dmediatek,mt7621-sysc.yaml76 ralink,memctl = <&memc>;
/linux-6.1.9/
DMAINTAINERS2726 F: arch/arm/include/asm/hardware/memc.h