/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/src/ |
H A D | atomic.h | 29 * This routine performs an atomic compare-and-set on @a target. If the current 30 * value of @a target equals @a old_value, @a target is set to @a new_value. 31 * If the current value of @a target does not equal @a old_value, @a target 34 * @param target Address of atomic variable. 39 static inline int atomic_cas(atomic_t *target, atomic_val_t old_value, in atomic_cas() argument 42 return __atomic_compare_exchange_n(target, &old_value, new_value, in atomic_cas() 51 * This routine performs an atomic addition on @a target. 53 * @param target Address of atomic variable. 56 * @return Previous value of @a target. 58 static inline atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add() argument [all …]
|
H A D | lpn.c | 105 static inline void group_zero(atomic_t *target) in group_zero() argument 111 atomic_set(&target[i], 0); in group_zero() 114 atomic_set(target, 0); in group_zero() 118 static inline void group_set(atomic_t *target, atomic_t *source) in group_set() argument 124 atomic_or(&target[i], atomic_get(&source[i])); in group_set() 127 atomic_or(target, atomic_get(source)); in group_set() 131 static inline void group_clear(atomic_t *target, atomic_t *source) in group_clear() argument 137 atomic_and(&target[i], ~atomic_get(&source[i])); in group_clear() 140 atomic_and(target, ~atomic_get(source)); in group_clear() 614 static inline int group_popcount(atomic_t *target) in group_popcount() argument [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/doc/html/ |
H A D | tree.html | 75 …ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="main.html" target="basefrm">The uIP … 76 …onclick="toggleFolder('folder1', this)"/><a class="el" href="files.html" target="basefrm">File Lis… 80 …v2doc.png" alt="*" width=24 height=22 /><a class="el" href="a00100.html" target="basefrm">apps/hel… 81 …v2doc.png" alt="*" width=24 height=22 /><a class="el" href="a00101.html" target="basefrm">apps/hel… 82 …v2doc.png" alt="*" width=24 height=22 /><a class="el" href="a00102.html" target="basefrm">apps/res… 83 …v2doc.png" alt="*" width=24 height=22 /><a class="el" href="a00103.html" target="basefrm">apps/res… 84 …v2doc.png" alt="*" width=24 height=22 /><a class="el" href="a00104.html" target="basefrm">apps/smt… 85 …v2doc.png" alt="*" width=24 height=22 /><a class="el" href="a00105.html" target="basefrm">apps/smt… 87 …v2doc.png" alt="*" width=24 height=22 /><a class="el" href="a00107.html" target="basefrm">apps/tel… 90 …v2doc.png" alt="*" width=24 height=22 /><a class="el" href="a00110.html" target="basefrm">apps/web… [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/docs/mesh/ |
H A D | sample.rst | 6 To build application use following target. Note that since this application uses Non-resolvable Pri… 11 newt target create blemesh 12 newt target set blemesh app=@apache-mynewt-core/apps/blemesh 13 newt target set blemesh bsp=@apache-mynewt-core/hw/bsp/nrf52840pdk 14 newt target set blemesh build_profile=optimized 15 … newt target set blemesh syscfg=BLE_MESH_PB_GATT=1:BLE_MESH_DEV_UUID='(uint8_t[16]){0x22, 0x20, 0}' 22 … newt target set blemesh syscfg=BLE_MESH_PB_GATT=1:BLE_MESH_DEV_UUID='(uint8_t[16]){0x22, 0x21, 0}' 24 … newt target set blemesh syscfg=BLE_MESH_PB_GATT=1:BLE_MESH_DEV_UUID='(uint8_t[16]){0x22, 0x22, 0}' 26 … newt target set blemesh syscfg=BLE_MESH_PB_GATT=1:BLE_MESH_DEV_UUID='(uint8_t[16]){0x22, 0x23, 0}'
|
/nrf52832-nimble/rt-thread/libcpu/risc-v/k210/ |
H A D | interrupt.c | 53 uint32_t current = plic->target_enables.target[core_id].enable[irq_number / 32]; in rt_hw_plic_irq_enable() 57 plic->target_enables.target[core_id].enable[irq_number / 32] = current; in rt_hw_plic_irq_enable() 69 uint32_t current = plic->target_enables.target[core_id].enable[irq_number / 32]; in rt_hw_plic_irq_disable() 73 plic->target_enables.target[core_id].enable[irq_number / 32] = current; in rt_hw_plic_irq_disable() 89 plic->target_enables.target[cpuid].enable[idx] = 0; in rt_hw_interrupt_init() 96 plic->targets.target[cpuid].priority_threshold = 0; in rt_hw_interrupt_init() 123 plic->target_enables.target[cpuid].enable[idx] = 0; in rt_hw_scondary_interrupt_init() 126 plic->targets.target[cpuid].priority_threshold = 0; in rt_hw_scondary_interrupt_init() 189 * After the highest-priority pending interrupt is claimed by a target in handle_irq_m_ext() 191 * pending interrupts might then become visible to the target, and so in handle_irq_m_ext() [all …]
|
/nrf52832-nimble/rt-thread/tools/ |
H A D | building.py | 187 AddOption('--target', 188 dest = 'target', 190 help = 'set target project: mdk/mdk4/mdk5/iar/vs/vsc/ua/cdk/ses') 232 tgt_name = GetOption('target') 235 # --target will change the toolchain settings which clang-analyzer is 238 print ('--clang-analyzer cannot be used with --target') 248 print ('Unknow target: '+ tgt_name+'. Avaible targets: ' +', '.join(tgt_dict.keys())) 269 env['ARCOM'] = '$AR --create $TARGET $SOURCES' 300 act = SCons.Action.Action(BuildLibInstallAction, 'Install compiled library... $TARGET') 386 ARCOMSTR = 'AR $TARGET', [all …]
|
H A D | keil.py | 172 def MDK45Project(tree, target, script): argument 173 project_path = os.path.dirname(os.path.abspath(target)) 176 out = open(target, 'w') 186 groups = tree.find('Targets/Target/Groups') 188 groups = SubElement(tree.find('Targets/Target'), 'Groups') 253 …IncludePath = tree.find('Targets/Target/TargetOption/TargetArmAds/Cads/VariousControls/IncludePath… 256 Define = tree.find('Targets/Target/TargetOption/TargetArmAds/Cads/VariousControls/Define') 259 Misc = tree.find('Targets/Target/TargetOption/TargetArmAds/LDads/Misc') 266 def MDK4Project(target, script): argument 269 MDK45Project(template_tree, target, script) [all …]
|
H A D | iar.py | 70 def IARWorkspace(target): argument 72 workspace = target.replace('.ewp', '.eww') 74 xml = iar_workspace % target 78 def IARProject(target, script): argument 79 project_path = os.path.dirname(os.path.abspath(target)) 84 out = open(target, 'w') 168 IARWorkspace(target)
|
H A D | template.cbp | 9 <Target title="Debug"> 17 </Target> 18 <Target title="Release"> 29 </Target>
|
H A D | cdk.py | 54 def _CDKProject(tree, target, script): argument 56 project_path = os.path.dirname(os.path.abspath(target)) 59 out = open(target, 'w') 125 def CDKProject(target, script): argument 128 _CDKProject(template_tree, target, script)
|
H A D | buildbot.py | 29 command = ' --target=mdk -s' 35 command = ' --target=mdk4 -s' 41 command = ' --target=mdk5 -s' 47 command = ' --target=iar -s'
|
H A D | codeblocks.py | 66 def CBProject(target, script, program): argument 67 project_path = os.path.dirname(os.path.abspath(target)) 76 out = open(target, 'w')
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/smtp/ |
H A D | smtp.c | 245 /** target email address */ 247 /** size of the target email address */ 307 static size_t smtp_base64_encode(char* target, size_t target_len, const char* source, size_t source… 576 * @param to target email address (must be NULL-terminated) 620 /* copy source and target email address */ in smtp_send_mail() 915 smtp_base64_encode(char* target, size_t target_len, const char* source, size_t source_len) in smtp_base64_encode() argument 936 target[target_idx++] = base64_table[current]; in smtp_base64_encode() 943 target[i] = '='; in smtp_base64_encode() 1144 char *target = s->tx_buf; in smtp_prepare_mail() local 1147 target[*tx_buf_len] = 0; in smtp_prepare_mail() [all …]
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/scripts/.autostuff/scripts/ |
H A D | ylwrap | 188 [\\/]* | ?:[\\/]*) target=$to;; 189 *) target=../$to;; 198 realtarget=$target 199 target=tmp-`printf '%s\n' "$target" | sed 's|.*[\\/]||g'` 210 "$from" >"$target" || ret=$? 214 if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then 216 rm -f "$target" 219 mv -f "$target" "$realtarget"
|
/nrf52832-nimble/ |
H A D | rtconfig.py | 55 POST_ACTION = OBJCPY + ' -O binary $TARGET rtthread.bin\n' + SIZE + ' $TARGET \n' 82 POST_ACTION = 'fromelf --i32combined $TARGET --output rtthread.hex \n' 83 POST_ACTION += 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
|
H A D | SConstruct | 13 TARGET = 'rtthread_nrf52832.' + rtconfig.TARGET_EXT 23 env.Replace(CCCOM = ['$CC $CCFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES']) 25 env.Replace(LINKCOM = ['$LINK $SOURCES $LINKFLAGS -o $TARGET --map project.map']) 34 DoBuilding(TARGET, objs)
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/snmp/ |
H A D | snmp_core.c | 543 * @param target Assignment target 548 snmp_oid_assign(struct snmp_obj_id *target, const u32_t *oid, u8_t oid_len) in snmp_oid_assign() argument 552 target->len = oid_len; in snmp_oid_assign() 555 MEMCPY(target->id, oid, oid_len * sizeof(u32_t)); in snmp_oid_assign() 561 * @param target Assignment target to prefix 566 snmp_oid_prefix(struct snmp_obj_id *target, const u32_t *oid, u8_t oid_len) in snmp_oid_prefix() argument 568 …LWIP_ASSERT("target->len + oid_len <= SNMP_MAX_OBJ_ID_LEN", (target->len + oid_len) <= SNMP_MAX_OB… in snmp_oid_prefix() 573 for (i = target->len - 1; i >= 0; i--) { in snmp_oid_prefix() 574 target->id[i + oid_len] = target->id[i]; in snmp_oid_prefix() 578 MEMCPY(target->id, oid, oid_len * sizeof(u32_t)); in snmp_oid_prefix() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/snmp/ |
H A D | snmp_core.c | 524 * @param target Assignment target 529 snmp_oid_assign(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len) in snmp_oid_assign() argument 533 target->len = oid_len; in snmp_oid_assign() 536 MEMCPY(target->id, oid, oid_len * sizeof(u32_t)); in snmp_oid_assign() 542 * @param target Assignment target to prefix 547 snmp_oid_prefix(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len) in snmp_oid_prefix() argument 549 …LWIP_ASSERT("target->len + oid_len <= LWIP_SNMP_OBJ_ID_LEN", (target->len + oid_len) <= SNMP_MAX_O… in snmp_oid_prefix() 554 for (i = target->len-1; i>=0; i--) { in snmp_oid_prefix() 555 target->id[i + oid_len] = target->id[i]; in snmp_oid_prefix() 559 MEMCPY(target->id, oid, oid_len * sizeof(u32_t)); in snmp_oid_prefix() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/ |
H A D | ip_addr.h | 172 #define ip_addr_get_network(target, host, netmask) do{if(IP_IS_V6(host)){ \ argument 173 ip4_addr_set_zero(ip_2_ip4(target)); IP_SET_TYPE(target, IPADDR_TYPE_V6); } else { \ 174 …ip4_addr_get_network(ip_2_ip4(target), ip_2_ip4(host), ip_2_ip4(netmask)); IP_SET_TYPE(target, IPA… 269 #define ip_addr_get_network(target, host, mask) ip4_addr_get_network(target, host, mask) argument 314 #define ip_addr_get_network(target, host, mask) ip6_addr_set_zero(target) argument
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/ |
H A D | ip_addr.h | 194 #define ip_addr_get_network(target, host, netmask) do{if(IP_IS_V6(host)){ \ argument 195 ip4_addr_set_zero(ip_2_ip4(target)); IP_SET_TYPE(target, IPADDR_TYPE_V6); } else { \ 196 …ip4_addr_get_network(ip_2_ip4(target), ip_2_ip4(host), ip_2_ip4(netmask)); IP_SET_TYPE(target, IPA… 297 #define ip_addr_get_network(target, host, mask) ip4_addr_get_network(target, host, mask) argument 344 #define ip_addr_get_network(target, host, mask) ip6_addr_set_zero(target) argument
|
/nrf52832-nimble/packages/NimBLE-latest/apps/blemesh_models_example_1/ |
H A D | README.md | 53 target 0100 68 have models for onoff. The meshctl target for configuration must be the 77 This is done by setting the target to the unicast address of the element
|
/nrf52832-nimble/rt-thread/libcpu/risc-v/common/ |
H A D | riscv-plic.h | 26 /* Enable Register - 0x80 per target */ 30 /* Priority Threshold Register - 0x1000 per target */ 34 /* Claim Register - 0x1000 per target */
|
/nrf52832-nimble/packages/NimBLE-latest/docs/ble_setup/ |
H A D | ble_addr.rst | 26 Method 2: Hardcode a public address in the Mynewt target 32 application or target level to configure a public Bluetooth address. For 33 example, a target can assign the public address *11:22:33:44:55:66* as
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/src/ |
H A D | readinode.c | 701 // /* Symlink's inode data is the target path. Read it and in jffs2_do_read_inode_internal() 704 // f->target = kmalloc(je32_to_cpu(latest_node->csize) + 1, GFP_KERNEL); in jffs2_do_read_inode_internal() 705 // if (!f->target) { in jffs2_do_read_inode_internal() 706 // JFFS2_ERROR("can't allocate %d bytes of memory for the symlink target path cache\n", je32_to_… in jffs2_do_read_inode_internal() 713 // je32_to_cpu(latest_node->csize), &retlen, (char *)f->target); in jffs2_do_read_inode_internal() 718 // kfree(f->target); in jffs2_do_read_inode_internal() 719 // f->target = NULL; in jffs2_do_read_inode_internal() 725 // f->target[je32_to_cpu(latest_node->csize)] = '\0'; in jffs2_do_read_inode_internal() 726 // JFFS2_DBG_READINODE("symlink's target '%s' cached\n", f->target); in jffs2_do_read_inode_internal() 876 if (f->target) { in jffs2_do_clear_inode() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/apps/blemesh_models_example_2/ |
H A D | README.md | 74 target 0100 91 The meshctl target for configuration must be the root element's unicast 98 This is done by setting the target to the unicast address of the element
|