/linux-6.12.1/drivers/memory/ |
D | mtk-smi.c | 165 struct mtk_smi_larb *larb = dev_get_drvdata(dev); in mtk_smi_larb_bind() local 171 larb->larbid = i; in mtk_smi_larb_bind() 172 larb->mmu = &larb_mmu[i].mmu; in mtk_smi_larb_bind() 173 larb->bank = larb_mmu[i].bank; in mtk_smi_larb_bind() 193 struct mtk_smi_larb *larb = dev_get_drvdata(dev); in mtk_smi_larb_config_port_gen1() local 194 const struct mtk_smi_larb_gen *larb_gen = larb->larb_gen; in mtk_smi_larb_config_port_gen1() 195 struct mtk_smi *common = dev_get_drvdata(larb->smi_common_dev); in mtk_smi_larb_config_port_gen1() 199 m4u_port_id = larb_gen->port_in_larb[larb->larbid]; in mtk_smi_larb_config_port_gen1() 200 larb_port_num = larb_gen->port_in_larb[larb->larbid + 1] in mtk_smi_larb_config_port_gen1() 201 - larb_gen->port_in_larb[larb->larbid]; in mtk_smi_larb_config_port_gen1() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/mediatek/ |
D | mt7623n.dtsi | 10 #include <dt-bindings/memory/mt2701-larb-port.h> 59 larb0: larb@14010000 { 60 compatible = "mediatek,mt7623-smi-larb", 61 "mediatek,mt2701-smi-larb"; 64 mediatek,larb-id = <0>; 71 larb1: larb@16010000 { 72 compatible = "mediatek,mt7623-smi-larb", 73 "mediatek,mt2701-smi-larb"; 76 mediatek,larb-id = <1>; 83 larb2: larb@15001000 { [all …]
|
D | mt2701.dtsi | 13 #include <dt-bindings/memory/mt2701-larb-port.h> 529 larb0: larb@14010000 { 530 compatible = "mediatek,mt2701-smi-larb"; 533 mediatek,larb-id = <0>; 546 larb2: larb@15001000 { 547 compatible = "mediatek,mt2701-smi-larb"; 550 mediatek,larb-id = <2>; 588 larb1: larb@16010000 { 589 compatible = "mediatek,mt2701-smi-larb"; 592 mediatek,larb-id = <1>;
|
/linux-6.12.1/arch/arm64/boot/dts/mediatek/ |
D | mt8167.dtsi | 9 #include <dt-bindings/memory/mt8167-larb-port.h> 142 larb0: larb@14016000 { 143 compatible = "mediatek,mt8167-smi-larb"; 152 larb1: larb@15001000 { 153 compatible = "mediatek,mt8167-smi-larb"; 162 larb2: larb@16010000 { 163 compatible = "mediatek,mt8167-smi-larb";
|
D | mt2712e.dtsi | 11 #include <dt-bindings/memory/mt2712-larb-port.h> 1000 larb0: larb@14021000 { 1001 compatible = "mediatek,mt2712-smi-larb"; 1004 mediatek,larb-id = <0>; 1020 larb4: larb@14027000 { 1021 compatible = "mediatek,mt2712-smi-larb"; 1024 mediatek,larb-id = <4>; 1031 larb5: larb@14030000 { 1032 compatible = "mediatek,mt2712-smi-larb"; 1035 mediatek,larb-id = <5>; [all …]
|
D | mt8195.dtsi | 631 clock-names = "venc1-larb"; 695 clock-names = "venc0-larb"; 2186 larb4: larb@14013000 { 2187 compatible = "mediatek,mt8195-smi-larb"; 2189 mediatek,larb-id = <4>; 2229 larb7: larb@14e04000 { 2230 compatible = "mediatek,mt8195-smi-larb"; 2232 mediatek,larb-id = <7>; 2240 larb8: larb@14e05000 { 2241 compatible = "mediatek,mt8195-smi-larb"; [all …]
|
D | mt8192.dtsi | 12 #include <dt-bindings/memory/mt8192-larb-port.h> 1484 larb0: larb@14003000 { 1485 compatible = "mediatek,mt8192-smi-larb"; 1487 mediatek,larb-id = <0>; 1494 larb1: larb@14004000 { 1495 compatible = "mediatek,mt8192-smi-larb"; 1497 mediatek,larb-id = <1>; 1670 larb9: larb@1502e000 { 1671 compatible = "mediatek,mt8192-smi-larb"; 1673 mediatek,larb-id = <9>; [all …]
|
D | mt8365.dtsi | 747 larb0: larb@14003000 { 748 compatible = "mediatek,mt8365-smi-larb", 749 "mediatek,mt8186-smi-larb"; 756 mediatek,larb-id = <0>; 765 larb2: larb@15001000 { 766 compatible = "mediatek,mt8365-smi-larb", 767 "mediatek,mt8186-smi-larb"; 774 mediatek,larb-id = <2>; 783 larb3: larb@16010000 { 784 compatible = "mediatek,mt8365-smi-larb", [all …]
|
D | mt8186.dtsi | 1002 clock-names = "vdec0", "larb"; 1072 clock-names = "venc0", "subsys-larb"; 1083 "subsys-larb-ck", 1084 "subsys-larb-pclk"; 1794 compatible = "mediatek,mt8186-smi-larb"; 1799 mediatek,larb-id = <0>; 1805 compatible = "mediatek,mt8186-smi-larb"; 1810 mediatek,larb-id = <1>; 1968 compatible = "mediatek,mt8186-smi-larb"; 1973 mediatek,larb-id = <8>; [all …]
|
D | mt6795.dtsi | 13 #include <dt-bindings/memory/mt6795-larb-port.h> 937 larb0: larb@14021000 { 938 compatible = "mediatek,mt6795-smi-larb"; 943 mediatek,larb-id = <0>; 962 larb2: larb@15001000 { 963 compatible = "mediatek,mt6795-smi-larb"; 968 mediatek,larb-id = <2>; 978 larb1: larb@16010000 { 979 compatible = "mediatek,mt6795-smi-larb"; 982 mediatek,larb-id = <1>; [all …]
|
D | mt8173.dtsi | 10 #include <dt-bindings/memory/mt8173-larb-port.h> 1290 larb0: larb@14021000 { 1291 compatible = "mediatek,mt8173-smi-larb"; 1348 larb4: larb@14027000 { 1349 compatible = "mediatek,mt8173-smi-larb"; 1364 larb2: larb@15001000 { 1365 compatible = "mediatek,mt8173-smi-larb"; 1434 larb1: larb@16010000 { 1435 compatible = "mediatek,mt8173-smi-larb"; 1450 larb3: larb@18001000 { [all …]
|
D | mt8183.dtsi | 12 #include <dt-bindings/memory/mt8183-larb-port.h> 1860 larb0: larb@14017000 { 1861 compatible = "mediatek,mt8183-smi-larb"; 1896 larb5: larb@15021000 { 1897 compatible = "mediatek,mt8183-smi-larb"; 1906 larb2: larb@1502f000 { 1907 compatible = "mediatek,mt8183-smi-larb"; 1952 larb1: larb@16010000 { 1953 compatible = "mediatek,mt8183-smi-larb"; 1967 larb4: larb@17010000 { [all …]
|
D | mt8188.dtsi | 1043 "ss-larb", "ss-rsi", "ss-bus"; 1173 clock-names = "ss-ve1-larb", "ss-ve1-core",
|
/linux-6.12.1/include/dt-bindings/memory/ |
D | mtk-memory-port.h | 11 #define MTK_M4U_ID(larb, port) (((larb) << 5) | (port)) argument
|
/linux-6.12.1/drivers/iommu/ |
D | mtk_iommu_v1.c | 156 int larb = mt2701_m4u_to_larb(id); in mt2701_m4u_to_port() local 158 return id - mt2701_m4u_in_larb[larb]; in mt2701_m4u_to_port()
|