Lines Matching +full:non +full:- +full:volatile
6 * SPDX-License-Identifier: Apache-2.0
9 /* Memory bits manipulation functions in non-arch-specific C code */
26 uint32_t temp = *(volatile uint32_t *)addr; in sys_set_bit()
28 *(volatile uint32_t *)addr = temp | (1 << bit); in sys_set_bit()
33 uint32_t temp = *(volatile uint32_t *)addr; in sys_clear_bit()
35 *(volatile uint32_t *)addr = temp & ~(1 << bit); in sys_clear_bit()
40 uint32_t temp = *(volatile uint32_t *)addr; in sys_test_bit()
47 uint32_t temp = *(volatile uint32_t *)addr; in sys_set_bits()
49 *(volatile uint32_t *)addr = temp | mask; in sys_set_bits()
54 uint32_t temp = *(volatile uint32_t *)addr; in sys_clear_bits()
56 *(volatile uint32_t *)addr = temp & ~mask; in sys_clear_bits()
62 /* Doing memory offsets in terms of 32-bit values to prevent in sys_bitfield_set_bit()