/Zephyr-Core-2.7.6/include/arch/common/ |
D | sys_bitops.h | 24 static ALWAYS_INLINE void sys_set_bit(mem_addr_t addr, unsigned int bit) in sys_set_bit() 31 static ALWAYS_INLINE void sys_clear_bit(mem_addr_t addr, unsigned int bit) in sys_clear_bit() 38 static ALWAYS_INLINE int sys_test_bit(mem_addr_t addr, unsigned int bit) in sys_test_bit() 46 void sys_bitfield_set_bit(mem_addr_t addr, unsigned int bit) in sys_bitfield_set_bit() 55 void sys_bitfield_clear_bit(mem_addr_t addr, unsigned int bit) in sys_bitfield_clear_bit() 61 int sys_bitfield_test_bit(mem_addr_t addr, unsigned int bit) in sys_bitfield_test_bit() 67 int sys_test_and_set_bit(mem_addr_t addr, unsigned int bit) in sys_test_and_set_bit() 78 int sys_test_and_clear_bit(mem_addr_t addr, unsigned int bit) in sys_test_and_clear_bit() 89 int sys_bitfield_test_and_set_bit(mem_addr_t addr, unsigned int bit) in sys_bitfield_test_and_set_bit() 100 int sys_bitfield_test_and_clear_bit(mem_addr_t addr, unsigned int bit) in sys_bitfield_test_and_clear_bit()
|
/Zephyr-Core-2.7.6/tests/kernel/common/src/ |
D | bitfield.c | 14 #define BIT_INDEX(bit) ((3 - ((bit >> 3) & 0x3)) + 4*(bit >> 5)) argument 16 #define BIT_INDEX(bit) (bit >> 3) argument 18 #define BIT_VAL(bit) (1 << (bit & 0x7)) argument 38 unsigned int bit; in test_bitfield() local
|
D | bitarray.c | 16 #define BIT_INDEX(bit) ((3 - ((bit >> 3) & 0x3)) + 4*(bit >> 5)) argument 18 #define BIT_INDEX(bit) (bit >> 3) argument 20 #define BIT_VAL(bit) (1 << (bit & 0x7)) argument 131 size_t bit, bundle_idx, bit_idx_in_bundle; in test_bitarray_set_clear() local 372 size_t bit; in alloc_and_free_loop() local 629 unsigned int bit; in test_ffs() local
|
/Zephyr-Core-2.7.6/include/arch/x86/ia32/ |
D | sys_io.h | 19 void sys_io_set_bit(io_port_t port, unsigned int bit) in sys_io_set_bit() 31 void sys_io_clear_bit(io_port_t port, unsigned int bit) in sys_io_clear_bit() 43 int sys_io_test_bit(io_port_t port, unsigned int bit) in sys_io_test_bit() 56 int sys_io_test_and_set_bit(io_port_t port, unsigned int bit) in sys_io_test_and_set_bit() 67 int sys_io_test_and_clear_bit(io_port_t port, unsigned int bit) in sys_io_test_and_clear_bit()
|
/Zephyr-Core-2.7.6/include/sys/ |
D | atomic.h | 79 #define ATOMIC_MASK(bit) (1U << ((uint32_t)(bit) & (ATOMIC_BITS - 1U))) argument 80 #define ATOMIC_ELEM(addr, bit) ((addr) + ((bit) / ATOMIC_BITS)) argument 127 static inline bool atomic_test_bit(const atomic_t *target, int bit) in atomic_test_bit() 145 static inline bool atomic_test_and_clear_bit(atomic_t *target, int bit) in atomic_test_and_clear_bit() 166 static inline bool atomic_test_and_set_bit(atomic_t *target, int bit) in atomic_test_and_set_bit() 187 static inline void atomic_clear_bit(atomic_t *target, int bit) in atomic_clear_bit() 205 static inline void atomic_set_bit(atomic_t *target, int bit) in atomic_set_bit() 224 static inline void atomic_set_bit_to(atomic_t *target, int bit, bool val) in atomic_set_bit_to()
|
/Zephyr-Core-2.7.6/drivers/clock_control/ |
D | beetle_clock_control.c | 32 uint8_t bit, enum arm_soc_state_t state) in beetle_set_clock() 55 static inline void beetle_ahb_set_clock_on(uint8_t bit, in beetle_ahb_set_clock_on() 62 static inline void beetle_ahb_set_clock_off(uint8_t bit, in beetle_ahb_set_clock_off() 69 static inline void beetle_apb_set_clock_on(uint8_t bit, in beetle_apb_set_clock_on() 76 static inline void beetle_apb_set_clock_off(uint8_t bit, in beetle_apb_set_clock_off() 89 uint8_t bit = 0U; in beetle_clock_control_on() local 113 uint8_t bit = 0U; in beetle_clock_control_off() local
|
D | clock_control_rcar_cpg_mssr.c | 62 uint32_t reg, uint32_t bit) in cpg_reset() 112 uint32_t bit = module % 100; in cpg_rmstp_clock_endisable() local
|
/Zephyr-Core-2.7.6/include/arch/arc/v2/ |
D | sys_io.h | 62 void sys_io_set_bit(io_port_t port, unsigned int bit) in sys_io_set_bit() 76 void sys_io_clear_bit(io_port_t port, unsigned int bit) in sys_io_clear_bit() 90 int sys_io_test_bit(io_port_t port, unsigned int bit) in sys_io_test_bit() 108 int sys_io_test_and_set_bit(io_port_t port, unsigned int bit) in sys_io_test_and_set_bit() 119 int sys_io_test_and_clear_bit(io_port_t port, unsigned int bit) in sys_io_test_and_clear_bit()
|
/Zephyr-Core-2.7.6/soc/arm/nuvoton_npcx/common/ |
D | soc_pins.h | 22 uint8_t bit:3; member 37 uint16_t bit:3; /** Related register bit for low-voltage conf. */ member
|
D | scfg.c | 54 #define NPCX_PSL_CTS_MODE_BIT(bit) BIT(bit + 4) argument 56 #define NPCX_PSL_CTS_EVENT_BIT(bit) BIT(bit) argument
|
D | soc_clock.h | 26 uint16_t bit:3; member
|
/Zephyr-Core-2.7.6/include/arch/x86/ |
D | arch.h | 155 static ALWAYS_INLINE void sys_set_bit(mem_addr_t addr, unsigned int bit) in sys_set_bit() 163 static ALWAYS_INLINE void sys_clear_bit(mem_addr_t addr, unsigned int bit) in sys_clear_bit() 170 static ALWAYS_INLINE int sys_test_bit(mem_addr_t addr, unsigned int bit) in sys_test_bit() 183 unsigned int bit) in sys_test_and_set_bit() 196 unsigned int bit) in sys_test_and_clear_bit()
|
/Zephyr-Core-2.7.6/lib/os/ |
D | bitarray.c | 218 int sys_bitarray_set_bit(sys_bitarray_t *bitarray, size_t bit) in sys_bitarray_set_bit() 245 int sys_bitarray_clear_bit(sys_bitarray_t *bitarray, size_t bit) in sys_bitarray_clear_bit() 272 int sys_bitarray_test_bit(sys_bitarray_t *bitarray, size_t bit, int *val) in sys_bitarray_test_bit() 308 int sys_bitarray_test_and_set_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val) in sys_bitarray_test_and_set_bit() 346 int sys_bitarray_test_and_clear_bit(sys_bitarray_t *bitarray, size_t bit, int *prev_val) in sys_bitarray_test_and_clear_bit()
|
/Zephyr-Core-2.7.6/drivers/i2c/ |
D | i2c_litex.c | 34 static inline void set_bit(volatile uint32_t *reg, uint32_t bit, uint32_t val) in set_bit() 45 static inline int get_bit(volatile const uint32_t *reg, uint32_t bit) in get_bit()
|
D | i2c_bitbang.c | 132 static void i2c_write_bit(struct i2c_bitbang *context, int bit) in i2c_write_bit() 144 bool bit; in i2c_read_bit() local
|
/Zephyr-Core-2.7.6/drivers/wifi/simplelink/ |
D | simplelink_support.c | 25 #define SET_STATUS_BIT(status, bit) {status |= (1 << (bit)); } argument 26 #define CLR_STATUS_BIT(status, bit) {status &= ~(1 << (bit)); } argument 27 #define GET_STATUS_BIT(status, bit) (0 != (status & (1 << (bit)))) argument
|
/Zephyr-Core-2.7.6/lib/gui/lvgl/ |
D | lvgl_display_mono.c | 42 uint8_t bit; in lvgl_set_px_cb_mono() local
|
/Zephyr-Core-2.7.6/tests/unit/rbtree/ |
D | main.c | 32 unsigned int bit = 1u << (node % 32); in set_node_mask() local 41 unsigned int bit = 1u << (node % 32); in get_node_mask() local
|
/Zephyr-Core-2.7.6/soc/arm/nuvoton_npcx/common/reg/ |
D | reg_access.h | 13 #define IS_BIT_SET(reg, bit) (((reg >> bit) & (0x1)) != 0) argument
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/util/ |
D | util.c | 102 uint8_t bit; in util_aa_le32() local
|
/Zephyr-Core-2.7.6/drivers/gpio/ |
D | gpio_nrfx.c | 335 uint32_t bit = 1U << pin; in cfg_edge_sense_pins() local 379 uint32_t bit = 1U << pin; in cfg_level_pins() local 423 uint32_t bit = 1U << pin; in check_level_trigger_pins() local
|
D | gpio_litex.c | 60 uint32_t bit, bool val) in set_bit() 69 static inline uint32_t get_bit(const struct gpio_litex_cfg *config, uint32_t bit) in get_bit()
|
/Zephyr-Core-2.7.6/kernel/ |
D | work.c | 22 uint32_t bit) in flag_clear() 28 uint32_t bit) in flag_set() 34 uint32_t bit) in flag_test() 40 int bit) in flag_test_and_clear()
|
/Zephyr-Core-2.7.6/drivers/sensor/ens210/ |
D | ens210.c | 25 uint32_t bit = ENS210_CRC7_DATA_MSB << ENS210_CRC7_WIDTH; in ens210_crc7() local
|
/Zephyr-Core-2.7.6/drivers/pinmux/ |
D | pinmux_b91.c | 85 uint8_t bit = pin & 0xff; in pinmux_b91_gpio_function_disable() local
|