Home
last modified time | relevance | path

Searched refs:controller_base (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/thermal/
Dmtk_thermal.c716 void __iomem *controller_base = mt->thermal_base + offset; in mtk_thermal_init_bank() local
724 writel(TEMP_MONCTL1_PERIOD_UNIT(12), controller_base + TEMP_MONCTL1); in mtk_thermal_init_bank()
732 controller_base + TEMP_MONCTL2); in mtk_thermal_init_bank()
736 controller_base + TEMP_AHBPOLL); in mtk_thermal_init_bank()
739 writel(0x0, controller_base + TEMP_MSRCTL0); in mtk_thermal_init_bank()
742 writel(0xffffffff, controller_base + TEMP_AHBTO); in mtk_thermal_init_bank()
745 writel(0x0, controller_base + TEMP_MONIDET0); in mtk_thermal_init_bank()
746 writel(0x0, controller_base + TEMP_MONIDET1); in mtk_thermal_init_bank()
761 writel(BIT(conf->auxadc_channel), controller_base + TEMP_ADCMUX); in mtk_thermal_init_bank()
765 controller_base + TEMP_ADCMUXADDR); in mtk_thermal_init_bank()
[all …]
/linux-5.19.10/drivers/pci/controller/dwc/
Dpcie-al.c132 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()