Searched refs:regbit (Results 1 – 2 of 2) sorted by relevance
32 uint8_t regbit; in reset_intel_soc_status() local34 regbit = (id & ((RESET_REG_WIDTH << (RESET_REG_WIDTH - 1)) - 1)); in reset_intel_soc_status()37 *status = !(value & BIT(regbit)) ^ config->active_low; in reset_intel_soc_status()46 uint8_t regbit; in reset_intel_soc_update() local48 regbit = (id & ((RESET_REG_WIDTH << (RESET_REG_WIDTH - 1)) - 1)); in reset_intel_soc_update()52 if (sys_test_bit(base_address + offset, regbit) == 0) { in reset_intel_soc_update()53 sys_set_bit(base_address + offset, regbit); in reset_intel_soc_update()56 if (sys_test_bit(base_address + offset, regbit) != 0) { in reset_intel_soc_update()57 sys_clear_bit(base_address + offset, regbit); in reset_intel_soc_update()
71 uint8_t regbit; in reset_rpi_status() local75 regbit = id % (config->reg_width * CHAR_BIT); in reset_rpi_status()82 *status = !(value & BIT(regbit)) ^ !config->active_low; in reset_rpi_status()92 uint8_t regbit; in reset_rpi_update() local96 regbit = id % (config->reg_width * CHAR_BIT); in reset_rpi_update()104 value |= BIT(regbit); in reset_rpi_update()106 value &= ~BIT(regbit); in reset_rpi_update()