Home
last modified time | relevance | path

Searched refs:BIT_WITH_WMSK (Results 1 – 10 of 10) sorted by relevance

/external/arm-trusted-firmware/plat/rockchip/rk3288/drivers/secure/
Dsecure.h37 #define SGRF_FAST_BOOT_ENA BIT_WITH_WMSK(8)
39 #define SGRF_PCLK_WDT_GATE BIT_WITH_WMSK(6)
41 #define SGRF_PCLK_STIMER_GATE BIT_WITH_WMSK(4)
48 #define SGRF_DDRC1_SECURE BIT_WITH_WMSK(12)
49 #define SGRF_DDRC0_SECURE BIT_WITH_WMSK(11)
50 #define SGRF_PMUSRAM_SECURE BIT_WITH_WMSK(8)
51 #define SGRF_WDT_SECURE BIT_WITH_WMSK(7)
52 #define SGRF_STIMER_SECURE BIT_WITH_WMSK(6)
55 #define SGRF_SLV_SEC_BYPS BIT_WITH_WMSK(15)
60 #define SGRF_DDR_RGN_SECURE_SEL BIT_WITH_WMSK(15)
[all …]
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/soc/
Dsoc.c243 rstnhold_cofig0 = BIT_WITH_WMSK(PRESETN_NOC_PMU_HOLD) | in set_pmu_rsthold()
244 BIT_WITH_WMSK(PRESETN_INTMEM_PMU_HOLD) | in set_pmu_rsthold()
245 BIT_WITH_WMSK(HRESETN_CM0S_PMU_HOLD) | in set_pmu_rsthold()
246 BIT_WITH_WMSK(HRESETN_CM0S_NOC_PMU_HOLD) | in set_pmu_rsthold()
247 BIT_WITH_WMSK(DRESETN_CM0S_PMU_HOLD) | in set_pmu_rsthold()
248 BIT_WITH_WMSK(POESETN_CM0S_PMU_HOLD) | in set_pmu_rsthold()
249 BIT_WITH_WMSK(PRESETN_TIMER_PMU_0_1_HOLD) | in set_pmu_rsthold()
250 BIT_WITH_WMSK(RESETN_TIMER_PMU_0_HOLD) | in set_pmu_rsthold()
251 BIT_WITH_WMSK(RESETN_TIMER_PMU_1_HOLD) | in set_pmu_rsthold()
252 BIT_WITH_WMSK(PRESETN_UART_M0_PMU_HOLD) | in set_pmu_rsthold()
[all …]
Dsoc.h41 #define PLL_BYPASS_MODE BIT_WITH_WMSK(PLL_BYPASS_SHIFT)
178 #define CRU_DMAC0_RST BIT_WITH_WMSK(3)
182 #define CRU_DMAC1_RST BIT_WITH_WMSK(4)
200 #define CRU_PMU_SGRF_RST_HOLD BIT_WITH_WMSK(6)
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/secure/
Dsecure.h34 #define SGRF_PMU_SLV_S_NS BIT_WITH_WMSK(0)
46 #define SGRF_DDR_RGN_DPLL_CLK BIT_WITH_WMSK(15) /* DDR PLL output clock */
47 #define SGRF_DDR_RGN_RTC_CLK BIT_WITH_WMSK(14) /* 32K clock for DDR PLL */
50 #define SGRF_DDR_RGN_BYPS BIT_WITH_WMSK(9)
55 #define SGRF_L_MST_S_DDR_RGN(n) BIT_WITH_WMSK((n))
57 #define SGRF_H_MST_S_DDR_RGN(n) BIT_WITH_WMSK((n) + 8)
Dsecure.c82 BIT_WITH_WMSK(rgn)); in sgrf_ddr_rgn_config()
93 BIT_WITH_WMSK(PCLK_WDT_CA53_GATE_SHIFT) | in secure_watchdog_gate()
94 BIT_WITH_WMSK(PCLK_WDT_CM0_GATE_SHIFT)); in secure_watchdog_gate()
/external/arm-trusted-firmware/plat/rockchip/px30/drivers/soc/
Dsoc.c101 BIT_WITH_WMSK(GRF_SOC_CON2_NSWDT_RST_EN)); in soc_reset_config_all()
119 BIT_WITH_WMSK(PMUSGRF_RSTOUT_FST) | in px30_soc_reset_config()
120 BIT_WITH_WMSK(PMUSGRF_RSTOUT_TSADC) | in px30_soc_reset_config()
121 BIT_WITH_WMSK(PMUSGRF_RSTOUT_WDT)); in px30_soc_reset_config()
/external/arm-trusted-firmware/plat/rockchip/common/include/
Dplat_private.h56 #ifndef BIT_WITH_WMSK
57 #define BIT_WITH_WMSK(nr) (BIT(nr) | WMSK_BIT(nr)) macro
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/pmu/
Dpmu.c851 BIT_WITH_WMSK(PMU_CLR_PREQ_CCI500_HW) | in sys_slp_config()
852 BIT_WITH_WMSK(PMU_CLR_QREQ_CCI500_HW) | in sys_slp_config()
853 BIT_WITH_WMSK(PMU_QGATING_CCI500_CFG)); in sys_slp_config()
856 BIT_WITH_WMSK(PMU_CLR_CORE_L_HW) | in sys_slp_config()
857 BIT_WITH_WMSK(PMU_CLR_CORE_L_2GIC_HW) | in sys_slp_config()
858 BIT_WITH_WMSK(PMU_CLR_GIC2_CORE_L_HW)); in sys_slp_config()
1382 BIT_WITH_WMSK(PMU_PWRDWN_REQ_CORE_B_2GIC_SW) | in rockchip_soc_sys_pwr_dm_suspend()
1383 BIT_WITH_WMSK(PMU_PWRDWN_REQ_CORE_B_SW) | in rockchip_soc_sys_pwr_dm_suspend()
1384 BIT_WITH_WMSK(PMU_PWRDWN_REQ_GIC2_CORE_B_SW)); in rockchip_soc_sys_pwr_dm_suspend()
Dm0_ctl.c38 BIT_WITH_WMSK(15) | BITS_WITH_WMASK(0x0, 0x1f, 8)); in m0_init()
/external/arm-trusted-firmware/plat/rockchip/rk3328/drivers/pmu/
Dpmu.c500 mmio_write_32(DDR_GRF_BASE, BIT_WITH_WMSK(14) | WMSK_BIT(15)); in ddr_suspend()