Searched refs:BLE_MESH_ATOMIC_ELEM (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_common/include/ |
D | mesh_atomic.h | 156 #define BLE_MESH_ATOMIC_ELEM(addr, bit) ((addr) + ((bit) / BLE_MESH_ATOMIC_BITS)) macro 191 bt_mesh_atomic_val_t val = bt_mesh_atomic_get(BLE_MESH_ATOMIC_ELEM(target, bit)); in bt_mesh_atomic_test_bit() 212 old = bt_mesh_atomic_and(BLE_MESH_ATOMIC_ELEM(target, bit), ~mask); in bt_mesh_atomic_test_and_clear_bit() 233 old = bt_mesh_atomic_or(BLE_MESH_ATOMIC_ELEM(target, bit), mask); in bt_mesh_atomic_test_and_set_bit() 253 (void)bt_mesh_atomic_and(BLE_MESH_ATOMIC_ELEM(target, bit), ~mask); in bt_mesh_atomic_clear_bit() 271 (void)bt_mesh_atomic_or(BLE_MESH_ATOMIC_ELEM(target, bit), mask); in bt_mesh_atomic_set_bit() 291 (void)bt_mesh_atomic_or(BLE_MESH_ATOMIC_ELEM(target, bit), mask); in bt_mesh_atomic_set_bit_to() 293 (void)bt_mesh_atomic_and(BLE_MESH_ATOMIC_ELEM(target, bit), ~mask); in bt_mesh_atomic_set_bit_to()
|