Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/plat/allwinner/common/
Dsunxi_common.c108 uint32_t device_bit; in sunxi_init_platform_r_twi() local
116 device_bit = BIT(6); in sunxi_init_platform_r_twi()
120 device_bit = BIT(16); in sunxi_init_platform_r_twi()
125 device_bit = use_rsb ? BIT(3) : BIT(6); in sunxi_init_platform_r_twi()
147 mmio_setbits_32(SUNXI_R_PRCM_BASE + 0x28, device_bit); in sunxi_init_platform_r_twi()
152 mmio_clrbits_32(SUNXI_R_PRCM_BASE + reset_offset, device_bit); in sunxi_init_platform_r_twi()
153 mmio_setbits_32(SUNXI_R_PRCM_BASE + reset_offset, device_bit); in sunxi_init_platform_r_twi()