Searched refs:device_bit (Results 1 – 1 of 1) sorted by relevance
108 uint32_t device_bit; in sunxi_init_platform_r_twi() local116 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()