/AliOS-Things-master/components/drivers/core/base/include/drivers/ |
A D | atomic.h | 15 typedef int atomic_t; typedef 16 typedef atomic_t atomic_val_t; 106 atomic_val_t atomic_inc(atomic_t *target); 125 atomic_val_t atomic_dec(atomic_t *target); 144 atomic_val_t atomic_get(const atomic_t *target); 189 atomic_val_t atomic_clear(atomic_t *target); 313 atomic_t name[1 + ((num_bits) - 1) / ATOMIC_BITS] 450 int atomic_dec_return (atomic_t *target); 470 int atomic_inc_return (atomic_t *target); 474 static inline int atomic_read (atomic_t *target) in atomic_read() [all …]
|
/AliOS-Things-master/components/ble_host/include/ |
A D | atomic.h | 17 typedef int atomic_t; typedef 18 typedef atomic_t atomic_val_t; 48 extern int atomic_cas(atomic_t *target, atomic_val_t old_value, 103 static inline atomic_val_t atomic_inc(atomic_t *target) in atomic_inc() 108 extern atomic_val_t atomic_inc(atomic_t *target); 122 static inline atomic_val_t atomic_dec(atomic_t *target) in atomic_dec() 127 extern atomic_val_t atomic_dec(atomic_t *target); 146 extern atomic_val_t atomic_get(const atomic_t *target); 186 static inline atomic_val_t atomic_clear(atomic_t *target) in atomic_clear() 191 extern atomic_val_t atomic_clear(atomic_t *target); [all …]
|
A D | work.h | 31 atomic_t flags[1];
|
/AliOS-Things-master/kernel/rhino/include/ |
A D | k_atomic.h | 12 typedef unsigned int atomic_t; typedef 13 typedef atomic_t atomic_val_t; 15 extern atomic_val_t rhino_atomic_add(atomic_t *target, atomic_val_t value); 16 extern atomic_val_t rhino_atomic_sub(atomic_t *target, atomic_val_t value); 17 extern atomic_val_t rhino_atomic_inc(atomic_t *target); 18 extern atomic_val_t rhino_atomic_dec(atomic_t *target); 19 extern atomic_val_t rhino_atomic_set(atomic_t *target, atomic_val_t value); 20 extern atomic_val_t rhino_atomic_get(const atomic_t *target); 21 extern atomic_val_t rhino_atomic_or(atomic_t *target, atomic_val_t value); 25 extern atomic_val_t rhino_atomic_clear(atomic_t *target); [all …]
|
A D | k_cpuset.h | 30 (void) rhino_atomic_or ((atomic_t *) &(cpuset), 1 << (n)) 32 (void) rhino_atomic_and ((atomic_t *) &(cpuset), ~((1 << (n)))) 34 (void) rhino_atomic_set ((atomic_t *) &(cpusetDst), (atomic_t) (cpusetSrc))
|
/AliOS-Things-master/kernel/rhino/ |
A D | k_atomic.c | 30 atomic_val_t rhino_atomic_add(atomic_t *target, atomic_val_t value) in rhino_atomic_add() 57 atomic_val_t rhino_atomic_sub(atomic_t *target, atomic_val_t value) in rhino_atomic_sub() 81 atomic_val_t rhino_atomic_inc(atomic_t *target) in rhino_atomic_inc() 105 atomic_val_t rhino_atomic_dec(atomic_t *target) in rhino_atomic_dec() 135 atomic_val_t rhino_atomic_set(atomic_t *target, atomic_val_t value) in rhino_atomic_set() 157 atomic_val_t rhino_atomic_get(const atomic_t *target) in rhino_atomic_get() 174 atomic_val_t rhino_atomic_or(atomic_t *target, atomic_val_t value) in rhino_atomic_or() 201 atomic_val_t rhino_atomic_xor(atomic_t *target, atomic_val_t value) in rhino_atomic_xor() 228 atomic_val_t rhino_atomic_and(atomic_t *target, atomic_val_t value) in rhino_atomic_and() 281 atomic_val_t rhino_atomic_clear(atomic_t *target) in rhino_atomic_clear() [all …]
|
/AliOS-Things-master/components/ble_host/bt_host/port/core/ |
A D | atomic_c.c | 44 int atomic_cas(atomic_t *target, atomic_val_t old_value, in atomic_cas() 75 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add() 103 atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value) in atomic_sub() 129 atomic_val_t atomic_inc(atomic_t *target) in atomic_inc() 155 atomic_val_t atomic_dec(atomic_t *target) in atomic_dec() 182 atomic_val_t atomic_get(const atomic_t *target) in atomic_get() 199 atomic_val_t atomic_set(atomic_t *target, atomic_val_t value) in atomic_set() 226 atomic_val_t atomic_clear(atomic_t *target) in atomic_clear() 254 atomic_val_t atomic_or(atomic_t *target, atomic_val_t value) in atomic_or() 282 atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value) in atomic_xor() [all …]
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | monitor.c | 57 static atomic_t flags; 60 atomic_t cmd; 61 atomic_t evt; 62 atomic_t acl_tx; 63 atomic_t acl_rx; 65 atomic_t sco_tx; 66 atomic_t sco_rx; 68 atomic_t other; 84 atomic_t *val) in encode_drops()
|
A D | conn_internal.h | 149 atomic_t ref;
|
A D | hci_api.c | 63 atomic_t *target; 82 extern void cmd_state_set_init(struct cmd_state_set *state, atomic_t *target, int bit,
|
A D | l2cap.c | 1656 static bool test_and_dec(atomic_t *target) in test_and_dec() 1658 atomic_t old_value, new_value; in test_and_dec()
|
A D | hci_core.c | 111 atomic_t *target; 116 void cmd_state_set_init(struct cmd_state_set *state, atomic_t *target, int bit, in cmd_state_set_init() 4793 atomic_t flags; in hci_reset_complete() 4815 atomic_t flags; in hci_reset_complete()
|
A D | smp.c | 149 atomic_t allowed_cmds; 258 atomic_t allowed_cmds;
|
A D | att.c | 2603 static void bt_att_status(struct bt_l2cap_chan *ch, atomic_t *status) in bt_att_status()
|
A D | gatt.c | 88 static atomic_t init;
|
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/ |
A D | l2cap.h | 125 atomic_t credits; 178 atomic_t flags[1]; 262 void (*status)(struct bt_l2cap_chan *chan, atomic_t *status);
|
/AliOS-Things-master/hardware/chip/rtl872xd/aos/ |
A D | aos_osdep.h | 118 typedef struct {volatile int counter;} atomic_t; typedef 119 #define ATOMIC_T atomic_t
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/drivers/wlan/realtek/src/core/option/ |
A D | rtw_opt_skbuf.c | 18 atomic_t ref;
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | lpn.c | 113 static inline void group_zero(atomic_t *target) in group_zero() 126 static inline void group_set(atomic_t *target, atomic_t *source) in group_set() 139 static inline void group_clear(atomic_t *target, atomic_t *source) in group_clear() 624 static inline int group_popcount(atomic_t *target) in group_popcount()
|
A D | prov.c | 373 static atomic_t pending_ack = 0x00;
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/ |
A D | usb.h | 1193 atomic_t urbnum; 1250 atomic_t use_count; /* concurrent submissions counter */ 1251 atomic_t reject; /* submissions will fail */
|