Home
last modified time | relevance | path

Searched refs:pmu (Results 1 – 25 of 71) sorted by relevance

123

/external/u-boot/drivers/power/
Dftpmu010.c18 static struct ftpmu010 *pmu = (struct ftpmu010 *)CONFIG_FTPMU010_BASE; in ftpmu010_32768osc_enable() local
22 oscc = readl(&pmu->OSCC); in ftpmu010_32768osc_enable()
24 writel(oscc, &pmu->OSCC); in ftpmu010_32768osc_enable()
27 while (!(readl(&pmu->OSCC) & FTPMU010_OSCC_OSCL_STABLE)) in ftpmu010_32768osc_enable()
31 oscc = readl(&pmu->OSCC); in ftpmu010_32768osc_enable()
33 writel(oscc, &pmu->OSCC); in ftpmu010_32768osc_enable()
39 static struct ftpmu010 *pmu = (struct ftpmu010 *)CONFIG_FTPMU010_BASE; in ftpmu010_mfpsr_select_dev() local
42 mfpsr = readl(&pmu->MFPSR); in ftpmu010_mfpsr_select_dev()
44 writel(mfpsr, &pmu->MFPSR); in ftpmu010_mfpsr_select_dev()
49 static struct ftpmu010 *pmu = (struct ftpmu010 *)CONFIG_FTPMU010_BASE; in ftpmu010_mfpsr_diselect_dev() local
[all …]
/external/u-boot/arch/x86/lib/
Dpmu.c83 struct pmu_mid *pmu; in pmu_turn_power() local
91 pmu = dev_get_priv(dev); in pmu_turn_power()
93 return pmu_power_lss(pmu->regs, lss, on); in pmu_turn_power()
98 struct pmu_mid *pmu = dev_get_priv(dev); in pmu_mid_probe() local
100 pmu->regs = syscon_get_first_range(X86_SYSCON_PMU); in pmu_mid_probe()
/external/u-boot/drivers/phy/allwinner/
Dphy-sun4i-usb.c127 void __iomem *pmu; member
196 if (!usb_phy->pmu) in sun4i_usb_phy_passby()
207 reg_value = readl(usb_phy->pmu); in sun4i_usb_phy_passby()
214 writel(reg_value, usb_phy->pmu); in sun4i_usb_phy_passby()
283 if (usb_phy->pmu && data->cfg->enable_pmu_unk1) { in sun4i_usb_phy_init()
284 val = readl(usb_phy->pmu + REG_PMU_UNK1); in sun4i_usb_phy_init()
285 writel(val & ~2, usb_phy->pmu + REG_PMU_UNK1); in sun4i_usb_phy_init()
457 phy->pmu = (void __iomem *)devfdt_get_addr_name(dev, name); in sun4i_usb_phy_probe()
458 if (IS_ERR(phy->pmu)) in sun4i_usb_phy_probe()
459 return PTR_ERR(phy->pmu); in sun4i_usb_phy_probe()
/external/u-boot/board/theobroma-systems/puma_rk3399/
Dfit_spl_atf.its34 pmu {
37 type = "pmu-firmware";
54 loadables = "uboot", "pmu";
/external/u-boot/doc/device-tree-bindings/pinctrl/
Drockchip,pinctrl.txt29 - rockchip,pmu: phandle referencing a syscon providing the pmu registers
37 Use rockchip,grf and rockchip,pmu described above instead.
56 rockchip,pmu described above instead
124 rockchip,pmu = <&pmu>;
/external/u-boot/drivers/pinctrl/rockchip/
Dpinctrl_rk3288.c24 struct rk3288_pmu *pmu; member
148 struct rk3288_pmu *pmu, int i2c_id) in pinctrl_rk3288_i2c_config() argument
152 clrsetbits_le32(&pmu->gpio0_iomux[PMU_GPIO0_B], in pinctrl_rk3288_i2c_config()
155 clrsetbits_le32(&pmu->gpio0_iomux[PMU_GPIO0_C], in pinctrl_rk3288_i2c_config()
555 pinctrl_rk3288_i2c_config(priv->grf, priv->pmu, func); in rk3288_pinctrl_request()
661 addr = priv->pmu->gpio0_iomux; in rk3288_pinctrl_get_pin_info()
745 addr = &priv->pmu->gpio0pull[ind]; in rk3288_pinctrl_set_pins()
844 priv->pmu = syscon_get_first_range(ROCKCHIP_SYSCON_PMU); in rk3288_pinctrl_probe()
845 debug("%s: grf=%p, pmu=%p\n", __func__, priv->grf, priv->pmu); in rk3288_pinctrl_probe()
Dpinctrl_rk3188.c404 struct rk3188_pmu *pmu; member
500 struct rk3188_pmu *pmu, int i2c_id) in pinctrl_rk3188_i2c_config() argument
719 pinctrl_rk3188_i2c_config(priv->grf, priv->pmu, func); in rk3188_pinctrl_request()
868 addr = &priv->pmu->gpio0_p[ind]; in rk3188_pinctrl_set_pins()
964 priv->pmu = syscon_get_first_range(ROCKCHIP_SYSCON_PMU); in rk3188_pinctrl_probe()
965 debug("%s: grf=%p, pmu=%p\n", __func__, priv->grf, priv->pmu); in rk3188_pinctrl_probe()
/external/u-boot/arch/arm/dts/
Dbcm2835.dtsi21 arm-pmu {
22 compatible = "arm,arm1176-pmu";
Ddra72x.dtsi15 pmu {
16 compatible = "arm,cortex-a15-pmu";
Dbcm2836.dtsi19 arm-pmu {
20 compatible = "arm,cortex-a7-pmu";
Drk3xxx.dtsi217 pmu: pmu@20004000 { label
218 compatible = "rockchip,rk3066-pmu", "syscon";
234 rockchip,pmu = <&pmu>;
Ddra74x.dtsi24 pmu {
25 compatible = "arm,cortex-a15-pmu";
Drk3288.dtsi55 rockchip,pmu = <&pmu>;
475 rockchip,pmu = <&pmu>;
582 compatible = "rockchip,rk3288-pmu-sram", "mmio-sram";
586 pmu: power-management@ff730000 { label
588 compatible = "rockchip,rk3288-pmu", "syscon";
975 rockchip,pmu = <&pmu>;
1528 rockchip,pmu = <&pmu>;
Dexynos4210.dtsi71 pmu {
72 compatible = "arm,cortex-a9-pmu";
Drk3188.dtsi158 rockchip,pmu = <&pmu>;
542 &pmu {
543 compatible = "rockchip,rk3188-pmu", "syscon";
Dmeson-gxl-mali.dtsi21 interrupt-names = "gp", "gpmmu", "pp", "pmu",
/external/u-boot/arch/arm/mach-exynos/
Dpower.c14 struct exynos4_power *pmu = in exynos4_mipi_phy_control() local
19 addr = (unsigned int)&pmu->mipi_phy0_control; in exynos4_mipi_phy_control()
21 addr = (unsigned int)&pmu->mipi_phy1_control; in exynos4_mipi_phy_control()
Ddmc_init_ddr3.c449 struct exynos5_power *pmu; in ddr3_mem_ctrl_init() local
464 pmu = (struct exynos5_power *)EXYNOS5420_POWER_BASE; in ddr3_mem_ctrl_init()
803 dmc_set_read_offset_value(phy0_ctrl, readl(&pmu->pmu_spare1)); in ddr3_mem_ctrl_init()
804 dmc_set_read_offset_value(phy1_ctrl, readl(&pmu->pmu_spare2)); in ddr3_mem_ctrl_init()
811 writel(dmc_get_read_offset_value(phy0_ctrl), &pmu->pmu_spare1); in ddr3_mem_ctrl_init()
812 writel(dmc_get_read_offset_value(phy1_ctrl), &pmu->pmu_spare2); in ddr3_mem_ctrl_init()
/external/u-boot/doc/device-tree-bindings/clock/
Drockchip,rk3288-dmc.txt6 - rockchip,pmu: this driver should access pmu regs, so need get pmu here
117 rockchip,pmu = <&pmu>;
/external/u-boot/arch/x86/dts/
Dedison.dts79 pmu: power@ff00b000 { label
80 compatible = "intel,pmu-mid";
/external/u-boot/arch/arm/mach-rockchip/
Drk3288-board-spl.c295 struct rk3288_pmu *const pmu = (void *)PMU_BASE; in dram_init_banksize() local
296 size_t size = rockchip_sdram_size((phys_addr_t)&pmu->sys_reg[2]); in dram_init_banksize()
/external/u-boot/doc/device-tree-bindings/phy/
Dsun4i-usb-phy.txt51 /* phy base regs, phy1 pmu reg, phy2 pmu reg */
/external/u-boot/arch/arm/mach-tegra/tegra20/
DMakefile17 obj-$(CONFIG_TEGRA_PMU) += pmu.o
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
DMakefile20 $(OUTPUT)/tm-resched-dscr: ../pmu/lib.c
/external/linux-kselftest/tools/testing/selftests/powerpc/
DMakefile22 pmu \

123