Searched refs:controller_base (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/thermal/ |
H A D | mtk_thermal.c | 714 void __iomem *controller_base = mt->thermal_base + offset; in mtk_thermal_init_bank() local 722 writel(TEMP_MONCTL1_PERIOD_UNIT(12), controller_base + TEMP_MONCTL1); in mtk_thermal_init_bank() 730 controller_base + TEMP_MONCTL2); in mtk_thermal_init_bank() 734 controller_base + TEMP_AHBPOLL); in mtk_thermal_init_bank() 737 writel(0x0, controller_base + TEMP_MSRCTL0); in mtk_thermal_init_bank() 740 writel(0xffffffff, controller_base + TEMP_AHBTO); in mtk_thermal_init_bank() 743 writel(0x0, controller_base + TEMP_MONIDET0); in mtk_thermal_init_bank() 744 writel(0x0, controller_base + TEMP_MONIDET1); in mtk_thermal_init_bank() 759 writel(BIT(conf->auxadc_channel), controller_base + TEMP_ADCMUX); in mtk_thermal_init_bank() 763 controller_base in mtk_thermal_init_bank() [all...] |
/kernel/linux/linux-6.6/drivers/thermal/mediatek/ |
H A D | auxadc_thermal.c | 882 void __iomem *controller_base = mt->thermal_base + offset; in mtk_thermal_init_bank() local 890 writel(TEMP_MONCTL1_PERIOD_UNIT(12), controller_base + TEMP_MONCTL1); in mtk_thermal_init_bank() 898 controller_base + TEMP_MONCTL2); in mtk_thermal_init_bank() 902 controller_base + TEMP_AHBPOLL); in mtk_thermal_init_bank() 905 writel(0x0, controller_base + TEMP_MSRCTL0); in mtk_thermal_init_bank() 908 writel(0xffffffff, controller_base + TEMP_AHBTO); in mtk_thermal_init_bank() 911 writel(0x0, controller_base + TEMP_MONIDET0); in mtk_thermal_init_bank() 912 writel(0x0, controller_base + TEMP_MONIDET1); in mtk_thermal_init_bank() 927 writel(BIT(conf->auxadc_channel), controller_base + TEMP_ADCMUX); in mtk_thermal_init_bank() 931 controller_base in mtk_thermal_init_bank() [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
H A D | pcie-al.c | 133 void __iomem *controller_base; /* base of PCIe unit (not DW core) */ member 147 return readl_relaxed(pcie->controller_base + offset); in al_pcie_controller_readl() 153 writel_relaxed(val, pcie->controller_base + offset); in al_pcie_controller_writel() 382 al_pcie->controller_base = devm_ioremap_resource(dev, controller_res); in al_pcie_probe() 383 if (IS_ERR(al_pcie->controller_base)) { in al_pcie_probe() 386 return PTR_ERR(al_pcie->controller_base); in al_pcie_probe() 389 dev_dbg(dev, "From DT: dbi_base: %pR, controller_base: %pR\n", in al_pcie_probe()
|
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/ |
H A D | pcie-al.c | 132 void __iomem *controller_base; /* base of PCIe unit (not DW core) */ member 144 return readl_relaxed(pcie->controller_base + offset); in al_pcie_controller_readl() 150 writel_relaxed(val, pcie->controller_base + offset); in al_pcie_controller_writel() 348 al_pcie->controller_base = devm_ioremap_resource(dev, controller_res); in al_pcie_probe() 349 if (IS_ERR(al_pcie->controller_base)) { in al_pcie_probe() 352 return PTR_ERR(al_pcie->controller_base); in al_pcie_probe() 355 dev_dbg(dev, "From DT: controller_base: %pR\n", controller_res); in al_pcie_probe()
|
Completed in 6 milliseconds