/Zephyr-latest/include/zephyr/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() 60 void sys_bitfield_set_bit(mem_addr_t addr, unsigned int bit) in sys_bitfield_set_bit() 69 void sys_bitfield_clear_bit(mem_addr_t addr, unsigned int bit) in sys_bitfield_clear_bit() 75 int sys_bitfield_test_bit(mem_addr_t addr, unsigned int bit) in sys_bitfield_test_bit() 81 int sys_test_and_set_bit(mem_addr_t addr, unsigned int bit) in sys_test_and_set_bit() 92 int sys_test_and_clear_bit(mem_addr_t addr, unsigned int bit) in sys_test_and_clear_bit() 103 int sys_bitfield_test_and_set_bit(mem_addr_t addr, unsigned int bit) in sys_bitfield_test_and_set_bit() 114 int sys_bitfield_test_and_clear_bit(mem_addr_t addr, unsigned int bit) in sys_bitfield_test_and_clear_bit()
|
/Zephyr-latest/include/zephyr/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-latest/include/zephyr/sys/ |
D | atomic.h | 77 #define ATOMIC_MASK(bit) BIT((unsigned long)(bit) & (ATOMIC_BITS - 1U)) argument 78 #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() 147 static inline bool atomic_test_and_clear_bit(atomic_t *target, int bit) in atomic_test_and_clear_bit() 170 static inline bool atomic_test_and_set_bit(atomic_t *target, int bit) in atomic_test_and_set_bit() 191 static inline void atomic_clear_bit(atomic_t *target, int bit) in atomic_clear_bit() 209 static inline void atomic_set_bit(atomic_t *target, int bit) in atomic_set_bit() 228 static inline void atomic_set_bit_to(atomic_t *target, int bit, bool val) in atomic_set_bit_to()
|
/Zephyr-latest/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
|
D | bitarray.c | 17 #define BIT_INDEX(bit) ((3 - ((bit >> 3) & 0x3)) + 4*(bit >> 5)) argument 19 #define BIT_INDEX(bit) (bit >> 3) argument 21 #define BIT_VAL(bit) (1 << (bit & 0x7)) argument 132 size_t bit, bundle_idx, bit_idx_in_bundle; in ZTEST() local 390 size_t bit; in alloc_and_free_loop() local 1022 unsigned int bit; in ZTEST() local
|
/Zephyr-latest/lib/posix/options/ |
D | spinlock.c | 48 size_t bit; in get_posix_spinlock() local 77 size_t bit; in pthread_spin_init() local 98 size_t bit; in pthread_spin_destroy() local 116 size_t bit; in pthread_spin_lock() local 133 size_t bit; in pthread_spin_trylock() local 148 size_t bit; in pthread_spin_unlock() local
|
D | key.c | 47 size_t bit = to_posix_key_idx(key); in get_posix_key() local 72 size_t bit; in to_posix_key() local 126 size_t bit; in pthread_key_delete() local
|
D | mutex.c | 57 size_t bit = to_posix_mutex_idx(mu); in get_posix_mutex() local 83 size_t bit; in to_posix_mutex() local 111 size_t bit = -1; in acquire_mutex() local 224 size_t bit; in pthread_mutex_init() local 293 size_t bit; in pthread_mutex_destroy() local
|
D | barrier.c | 46 size_t bit = to_posix_barrier_idx(b); in get_posix_barrier() local 110 size_t bit; in pthread_barrier_init() local 133 size_t bit; in pthread_barrier_destroy() local
|
D | cond.c | 44 size_t bit = to_posix_cond_idx(cond); in get_posix_cond() local 69 size_t bit; in to_posix_cond() local 193 size_t bit; in pthread_cond_destroy() local
|
/Zephyr-latest/drivers/clock_control/ |
D | beetle_clock_control.c | 33 uint8_t bit, enum arm_soc_state_t state) in beetle_set_clock() 56 static inline void beetle_ahb_set_clock_on(uint8_t bit, in beetle_ahb_set_clock_on() 63 static inline void beetle_ahb_set_clock_off(uint8_t bit, in beetle_ahb_set_clock_off() 70 static inline void beetle_apb_set_clock_on(uint8_t bit, in beetle_apb_set_clock_on() 77 static inline void beetle_apb_set_clock_off(uint8_t bit, in beetle_apb_set_clock_off() 90 uint8_t bit = 0U; in beetle_clock_control_on() local 114 uint8_t bit = 0U; in beetle_clock_control_off() local
|
/Zephyr-latest/include/zephyr/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-latest/soc/nuvoton/npcx/common/ |
D | soc_pins.h | 26 uint8_t bit:3; member 39 uint8_t bit:3; /** Related register bit for low-voltage conf. */ member
|
/Zephyr-latest/tests/bluetooth/tester/src/btp/ |
D | bttester.h | 15 static inline void tester_set_bit(uint8_t *addr, unsigned int bit) in tester_set_bit() 22 static inline uint8_t tester_test_bit(const uint8_t *addr, unsigned int bit) in tester_test_bit()
|
/Zephyr-latest/include/zephyr/dt-bindings/clock/ |
D | gd32-clocks-common.h | 20 #define GD32_CLOCK_CONFIG(reg, bit) \ argument
|
/Zephyr-latest/include/zephyr/dt-bindings/reset/ |
D | gd32-common.h | 20 #define GD32_RESET_CONFIG(reg, bit) \ argument
|
D | nxp_syscon_reset_common.h | 10 #define NXP_SYSCON_RESET(offset, bit) ((offset << 16) | bit) argument
|
D | stm32-common.h | 20 #define STM32_RESET(bus, bit) (((STM32_RESET_BUS_##bus) << 5U) | (bit)) argument
|
/Zephyr-latest/drivers/pinctrl/renesas/rcar/ |
D | pfc_rcar.c | 79 uint8_t bit = pin % 32; in pfc_rcar_set_gpsr() local 158 uint8_t *bit) in pfc_rcar_get_bias_reg() 179 uint8_t bit; in pfc_rcar_set_bias() local 252 static const struct pfc_pocctrl_reg *pfc_rcar_get_pocctrl_reg(uint16_t pin, uint8_t *bit) in pfc_rcar_get_pocctrl_reg() 277 uint8_t bit; in pfc_rcar_set_voltage() local
|
/Zephyr-latest/include/zephyr/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-latest/subsys/usb/device_next/ |
D | usbd_endpoint.h | 58 unsigned int bit; in usbd_ep_bm_is_set() local
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_max149x6.h | 18 #define PRINT_ERR(bit) \ argument 21 #define PRINT_INF(bit) LOG_INFO("[%s] %d\n", #bit, bit) argument
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | http.c | 16 #define IS_BIT_SET(val, bit) (((val >> bit) & (0x1)) != 0) argument
|
/Zephyr-latest/drivers/spi/ |
D | spi_dw.h | 79 static void aux_reg_set_bit(uint8_t bit, mm_reg_t addr, uint32_t off) in aux_reg_set_bit() 84 static void aux_reg_clear_bit(uint8_t bit, mm_reg_t addr, uint32_t off) in aux_reg_clear_bit() 89 static int aux_reg_test_bit(uint8_t bit, mm_reg_t addr, uint32_t off) in aux_reg_test_bit() 124 static void reg_set_bit(uint8_t bit, mm_reg_t addr, uint32_t off) in reg_set_bit() 129 static void reg_clear_bit(uint8_t bit, mm_reg_t addr, uint32_t off) in reg_clear_bit() 134 static int reg_test_bit(uint8_t bit, mm_reg_t addr, uint32_t off) in reg_test_bit()
|
/Zephyr-latest/drivers/dp/ |
D | swdp_bitbang.c | 154 const uint32_t bit) in pin_swdio_out() 228 #define SW_WRITE_BIT(dev, bit, delay) \ argument 237 #define SW_READ_BIT(dev, bit, delay) \ argument 286 uint32_t bit; in sw_input_sequence() local 327 uint32_t bit; in sw_transfer() local
|