Home
last modified time | relevance | path

Searched full:target (Results 1 – 25 of 1692) sorted by relevance

12345678910>>...68

/Zephyr-latest/cmake/bintools/arcmwdt/
Dtarget_bintools.cmake3 set_property(TARGET bintools PROPERTY memusage_command "${CMAKE_SIZE}")
4 set_property(TARGET bintools PROPERTY memusage_flag "-gq")
5 set_property(TARGET bintools PROPERTY memusage_infile "")
10 set_property(TARGET bintools PROPERTY elfconvert_formats ihex srec binary)
15 set_property(TARGET bintools PROPERTY elfconvert_command ${CMAKE_COMMAND})
17 set_property(TARGET bintools PROPERTY elfconvert_flag
24 set_property(TARGET bintools PROPERTY elfconvert_flag_final
27 set_property(TARGET bintools PROPERTY elfconvert_flag_strip_all "-DSTRIP_ALL=True")
28 set_property(TARGET bintools PROPERTY elfconvert_flag_strip_debug "-DSTRIP_DEBUG=True")
30 set_property(TARGET bintools PROPERTY elfconvert_flag_intarget "-DINTARGET=")
[all …]
/Zephyr-latest/cmake/bintools/llvm/
Dtarget_bintools.cmake11 # elfconvert_flag_intarget : --input-target=
12 # elfconvert_flag_outtarget : --output-target=
26 set_property(TARGET bintools PROPERTY elfconvert_command ${CMAKE_OBJCOPY})
30 set_property(TARGET bintools PROPERTY elfconvert_formats ihex srec binary)
32 set_property(TARGET bintools PROPERTY elfconvert_flag "")
33 set_property(TARGET bintools PROPERTY elfconvert_flag_final "")
35 set_property(TARGET bintools PROPERTY elfconvert_flag_strip_all "-S")
36 set_property(TARGET bintools PROPERTY elfconvert_flag_strip_debug "-g")
38 set_property(TARGET bintools PROPERTY elfconvert_flag_compress_debug_sections "--compress-debug-sec…
40 set_property(TARGET bintools PROPERTY elfconvert_flag_intarget "--input-target=")
[all …]
/Zephyr-latest/cmake/bintools/gnu/
Dtarget_bintools.cmake11 # elfconvert_flag_intarget : --input-target=
12 # elfconvert_flag_outtarget : --output-target=
26 set_property(TARGET bintools PROPERTY elfconvert_command ${CMAKE_OBJCOPY})
30 set_property(TARGET bintools PROPERTY elfconvert_formats ihex srec binary)
32 set_property(TARGET bintools PROPERTY elfconvert_flag "")
33 set_property(TARGET bintools PROPERTY elfconvert_flag_final "")
35 set_property(TARGET bintools PROPERTY elfconvert_flag_strip_all "-S")
36 set_property(TARGET bintools PROPERTY elfconvert_flag_strip_debug "-g")
38 set_property(TARGET bintools PROPERTY elfconvert_flag_compress_debug_sections "--compress-debug-sec…
40 set_property(TARGET bintools PROPERTY elfconvert_flag_intarget "--input-target=")
[all …]
/Zephyr-latest/include/zephyr/sys/
Datomic_builtin.h23 static inline bool atomic_cas(atomic_t *target, atomic_val_t old_value, in atomic_cas() argument
26 return __atomic_compare_exchange_n(target, &old_value, new_value, in atomic_cas()
31 static inline bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value, in atomic_ptr_cas() argument
34 return __atomic_compare_exchange_n(target, &old_value, new_value, in atomic_ptr_cas()
39 static inline atomic_val_t atomic_add(atomic_t *target, atomic_val_t value) in atomic_add() argument
41 return __atomic_fetch_add(target, value, __ATOMIC_SEQ_CST); in atomic_add()
44 static inline atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value) in atomic_sub() argument
46 return __atomic_fetch_sub(target, value, __ATOMIC_SEQ_CST); in atomic_sub()
49 static inline atomic_val_t atomic_inc(atomic_t *target) in atomic_inc() argument
51 return atomic_add(target, 1); in atomic_inc()
[all …]
Datomic.h117 * Atomically get a value and then test whether bit number @a bit of @a target is set or not.
118 * The target may be a single atomic variable or an array of them.
122 * @param target Address of atomic variable or array.
127 static inline bool atomic_test_bit(const atomic_t *target, int bit) in atomic_test_bit() argument
129 atomic_val_t val = atomic_get(ATOMIC_ELEM(target, bit)); in atomic_test_bit()
137 * Atomically clear bit number @a bit of @a target and return its old value.
138 * The target may be a single atomic variable or an array of them.
142 * @param target Address of atomic variable or array.
147 static inline bool atomic_test_and_clear_bit(atomic_t *target, int bit) in atomic_test_and_clear_bit() argument
152 old = atomic_and(ATOMIC_ELEM(target, bit), ~mask); in atomic_test_and_clear_bit()
[all …]
Datomic_arch.h18 bool atomic_cas(atomic_t *target, atomic_val_t old_value,
21 bool atomic_ptr_cas(atomic_ptr_t *target, void *old_value,
24 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
26 atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
28 atomic_val_t atomic_inc(atomic_t *target);
30 atomic_val_t atomic_dec(atomic_t *target);
32 atomic_val_t atomic_get(const atomic_t *target);
34 void *atomic_ptr_get(const atomic_ptr_t *target);
36 atomic_val_t atomic_set(atomic_t *target, atomic_val_t value);
38 void *atomic_ptr_set(atomic_ptr_t *target, void *value);
[all …]
Datomic_c.h20 __syscall bool atomic_cas(atomic_t *target, atomic_val_t old_value,
23 __syscall bool atomic_ptr_cas(atomic_ptr_t *target, atomic_ptr_val_t old_value,
26 __syscall atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
28 __syscall atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
30 static inline atomic_val_t atomic_inc(atomic_t *target) in atomic_inc() argument
32 return atomic_add(target, 1); in atomic_inc()
36 static inline atomic_val_t atomic_dec(atomic_t *target) in atomic_dec() argument
38 return atomic_sub(target, 1); in atomic_dec()
42 atomic_val_t atomic_get(const atomic_t *target);
44 atomic_ptr_val_t atomic_ptr_get(const atomic_ptr_t *target);
[all …]
/Zephyr-latest/kernel/
Datomic_c.c43 static inline atomic_val_t z_vrfy_##name(atomic_t *target) \
45 K_OOPS(K_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_t))); \
46 return z_impl_##name((atomic_t *)target); \
50 static inline atomic_val_t z_vrfy_##name(atomic_t *target, \
53 K_OOPS(K_SYSCALL_MEMORY_WRITE(target, sizeof(atomic_t))); \
54 return z_impl_##name((atomic_t *)target, value); \
66 * <target> equals <oldValue>, then <newValue> is stored at <target> and the
69 * If the original value at <target> does not equal <oldValue>, then the store
72 * The reading of the original value at <target>, the comparison,
74 * respect to both interrupts and accesses of other processors to <target>.
[all …]
/Zephyr-latest/cmake/bintools/armclang/
Dtarget_bintools.cmake3 set_property(TARGET bintools PROPERTY elfconvert_formats ihex binary)
8 set_property(TARGET bintools PROPERTY elfconvert_command ${CMAKE_COMMAND})
10 set_property(TARGET bintools PROPERTY elfconvert_flag
14 set_property(TARGET bintools PROPERTY elfconvert_flag_final
17 set_property(TARGET bintools PROPERTY elfconvert_flag_strip_all "-DSTRIP_ALL=True")
18 set_property(TARGET bintools PROPERTY elfconvert_flag_strip_debug "-DSTRIP_DEBUG=True")
20 set_property(TARGET bintools PROPERTY elfconvert_flag_intarget "-DINTARGET=")
21 set_property(TARGET bintools PROPERTY elfconvert_flag_outtarget "-DOUTTARGET=")
23 set_property(TARGET bintools PROPERTY elfconvert_flag_section_remove "-DREMOVE_SECTION=")
24 set_property(TARGET bintools PROPERTY elfconvert_flag_section_only "-DONLY_SECTION=")
[all …]
/Zephyr-latest/cmake/bintools/
Dbintools_template.cmake8 # - memusage : Tool for reporting target memory usage
10 # - disassembly : Tool for disassemble the target
33 # set_property(TARGET bintools PROPERTY <command>_command ${CMAKE_COMMAND} -E echo "")
41 # set_property(TARGET bintools PROPERTY elfconvert_command ${CMAKE_COMMAND})
42 # set_property(TARGET bintools PROPERTY elfconvert_flag "")
43 # set_property(TARGET bintools PROPERTY elfconvert_flag_final -P custom_elfconvert.cmake)
44 # set_property(TARGET bintools PROPERTY elfconvert_flag_strip_all "-DSTRIP_ALL=True")
45 # set_property(TARGET bintools PROPERTY elfconvert_flag_infile "-DINFILE=")
46 # set_property(TARGET bintools PROPERTY elfconvert_flag_outfile "-DOUT_FILE=")
70 # elfconvert_flag_intarget : Flag for specifying target used for infile
[all …]
/Zephyr-latest/tests/kernel/common/src/
Datomic.c54 * judge the change of function return value and target operands.
80 * - The change of function return value and target operands is correct.
101 atomic_t target, orig; in ZTEST_USER() local
112 target = 4; in ZTEST_USER()
117 zassert_false(atomic_cas(&target, oldvalue, value), "atomic_cas"); in ZTEST_USER()
118 target = 6; in ZTEST_USER()
119 zassert_true(atomic_cas(&target, oldvalue, value), "atomic_cas"); in ZTEST_USER()
120 zassert_true((target == value), "atomic_cas"); in ZTEST_USER()
134 target = 1; in ZTEST_USER()
136 zassert_true((atomic_add(&target, value) == 1), "atomic_add"); in ZTEST_USER()
[all …]
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dstate_binding.c56 if (ctl->light->target > 0 && in constrain_target_lightness2()
57 ctl->light->target < ctl->light->range_min) { in constrain_target_lightness2()
59 ctl->light->target = 0U; in constrain_target_lightness2()
61 ctl->light->target = ctl->light->range_min; in constrain_target_lightness2()
63 } else if (ctl->light->target > ctl->light->range_max) { in constrain_target_lightness2()
64 ctl->light->target = ctl->light->range_max; in constrain_target_lightness2()
118 ctl->light->target = 0U; in set_target()
121 ctl->light->target = ctl->light->last; in set_target()
123 ctl->light->target = ctl->light->def; in set_target()
129 ctl->light->target = *((int16_t *) dptr) - INT16_MIN; in set_target()
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dcm.c106 PR("Valid target specifiers are 'ifi [index]', 'if [name]', or '[index]'.\n"); in cm_target_help()
113 struct cm_target *target) in parse_ifi_target() argument
119 /* At least one remaining argument is required to specify a target index */ in parse_ifi_target()
121 PR_ERROR("Please specify the target iface index.\n"); in parse_ifi_target()
134 target->iface = net_if_get_by_index(iface_index); in parse_ifi_target()
136 if (target->iface == NULL) { in parse_ifi_target()
142 target->type = CM_TARG_IFACE; in parse_ifi_target()
146 target->type = CM_TARG_INVALID; in parse_ifi_target()
151 struct cm_target *target) in parse_if_target() argument
155 /* At least one remaining argument is required to specify a target name */ in parse_if_target()
[all …]
/Zephyr-latest/include/zephyr/arch/riscv/
Datomic.h21 static ALWAYS_INLINE atomic_val_t atomic_swap(const atomic_t *target, atomic_val_t newval) in atomic_swap() argument
27 : "r"(newval), "A"(*target) in atomic_swap()
33 static ALWAYS_INLINE atomic_val_t atomic_max(atomic_t *target, atomic_val_t value) in atomic_max() argument
39 : "r"(value), "A"(*target) in atomic_max()
45 static ALWAYS_INLINE atomic_val_t atomic_min(atomic_t *target, atomic_val_t value) in atomic_min() argument
51 : "r"(value), "A"(*target) in atomic_min()
57 static ALWAYS_INLINE atomic_val_t atomic_maxu(unsigned long *target, unsigned long value) in atomic_maxu() argument
63 : "r"(value), "A"(*target) in atomic_maxu()
69 static ALWAYS_INLINE atomic_val_t atomic_minu(unsigned long *target, unsigned long value) in atomic_minu() argument
75 : "r"(value), "A"(*target) in atomic_minu()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Demul_sensor.h30 int (*set_channel)(const struct emul *target, struct sensor_chan_spec ch,
33 int (*get_sample_range)(const struct emul *target, struct sensor_chan_spec ch, q31_t *lower,
36 int (*set_attribute)(const struct emul *target, struct sensor_chan_spec ch,
39 int (*get_attribute_metadata)(const struct emul *target, struct sensor_chan_spec ch,
50 * @param target Pointer to emulator instance to query
52 * @return True if supported, false if unsupported or if \p target is NULL.
54 static inline bool emul_sensor_backend_is_supported(const struct emul *target) in emul_sensor_backend_is_supported() argument
56 return target && target->backend_api; in emul_sensor_backend_is_supported()
62 * @param target Pointer to emulator instance to operate on
71 static inline int emul_sensor_backend_set_channel(const struct emul *target, in emul_sensor_backend_set_channel() argument
[all …]
Demul_bbram.h28 int (*set_data)(const struct emul *target, size_t offset, size_t count,
31 int (*get_data)(const struct emul *target, size_t offset, size_t count, uint8_t *data);
41 * @param target Pointer to the emulator instance to operate on
49 static inline int emul_bbram_backend_set_data(const struct emul *target, size_t offset, in emul_bbram_backend_set_data() argument
52 if (target == NULL || target->backend_api == NULL) { in emul_bbram_backend_set_data()
56 struct emul_bbram_driver_api *api = (struct emul_bbram_driver_api *)target->backend_api; in emul_bbram_backend_set_data()
62 return api->set_data(target, offset, count, data); in emul_bbram_backend_set_data()
68 * @param target Pointer to the emulator instance to operate on
76 static inline int emul_bbram_backend_get_data(const struct emul *target, size_t offset, in emul_bbram_backend_get_data() argument
79 if (target == NULL || target->backend_api == NULL) { in emul_bbram_backend_get_data()
[all …]
/Zephyr-latest/scripts/west_commands/zspdx/
Dcmakefileapijson.py124 # parse and add each target
136 cfgTarget.target = parseTarget(os.path.join(replyDir, cfgTarget.jsonFile))
138 cfgTarget.target = None
149 target = zspdx.cmakefileapi.Target()
151 target.name = js.get("name", "")
152 target.id = js.get("id", "")
153 target.type = parseTargetType(js.get("type", "UNKNOWN"))
154 target.backtrace = js.get("backtrace", -1)
155 target.folder = js.get("folder", "")
159 target.paths_source = paths_dict.get("source", "")
[all …]
/Zephyr-latest/include/zephyr/arch/xtensa/
Datomic_xtensa.h18 static ALWAYS_INLINE atomic_val_t atomic_get(const atomic_t *target) in atomic_get() argument
29 : "=r"(ret) : "r"(target) : "memory"); in atomic_get()
62 bool atomic_cas(atomic_t *target, atomic_val_t oldval, atomic_val_t newval) in atomic_cas() argument
64 return oldval == xtensa_cas(target, oldval, newval); in atomic_cas()
69 bool atomic_ptr_cas(atomic_ptr_t *target, void *oldval, void *newval) in atomic_ptr_cas() argument
72 == xtensa_cas((atomic_t *) target, (atomic_val_t) oldval, in atomic_ptr_cas()
77 * address "target", whose old value is read to be "cur", with the
84 cur = *target; \
85 res = xtensa_cas(target, cur, (expr)); \
91 atomic_val_t atomic_set(atomic_t *target, atomic_val_t value) in atomic_set() argument
[all …]
/Zephyr-latest/cmake/linker/
Dlinker_flags_template.cmake7 set_property(TARGET linker PROPERTY base)
12 set_property(TARGET linker PROPERTY cpp_base)
14 # Base properties when building Zephyr for an embedded target (baremetal).
15 set_property(TARGET linker PROPERTY baremetal)
18 set_property(TARGET linker PROPERTY orphan_warning)
19 set_property(TARGET linker PROPERTY orphan_error)
24 set_property(TARGET linker PROPERTY coverage)
31 check_set_linker_property(TARGET linker PROPERTY memusage)
34 set_property(TARGET linker PROPERTY warnings_as_errors)
38 set_property(TARGET linker PROPERTY no_position_independent)
[all …]
/Zephyr-latest/tests/drivers/sensor/adltc2990/src/
Dmain.c58 const struct emul *target; member
65 .target = EMUL_DT_GET(DT_NODELABEL(adltc2990_0_0)), in adltc2990_0_0_setup()
69 zassert_not_null(fixture.target); in adltc2990_0_0_setup()
77 adltc2990_emul_reset(fixture->target); in adltc2990_0_0_before()
96 const struct emul *target; member
103 .target = EMUL_DT_GET(DT_NODELABEL(adltc2990_4_3)), in adltc2990_4_3_setup()
107 zassert_not_null(fixture.target); in adltc2990_4_3_setup()
115 adltc2990_emul_reset(fixture->target); in adltc2990_4_3_before()
136 const struct emul *target; member
143 .target = EMUL_DT_GET(DT_NODELABEL(adltc2990_1_3)), in adltc2990_1_3_setup()
[all …]
/Zephyr-latest/include/zephyr/drivers/i3c/
Dccc.h155 * Target Reset Action
233 * @brief Payload structure for Direct CCC to one target.
236 /** Target address */
257 * A Target can issue an EoD or the Controller can abort a transfer
298 * Each element describes the target and associated
311 * @brief Payload for ENEC/DISEC CCC (Target Events Command).
317 * - Target Interrupt Requests
326 /** Enable Events (ENEC) - Target Interrupt Requests. */
338 /** Disable Events (DISEC) - Target Interrupt Requests. */
355 /** Events - Target Interrupt Requests. */
[all …]
/Zephyr-latest/tests/subsys/emul/src/
Demul_tester.h13 int (*set_action)(const struct emul *target, int action);
14 int (*get_action)(const struct emul *target, int *action);
17 static inline int emul_tester_backend_set_action(const struct emul *target, int action) in emul_tester_backend_set_action() argument
20 (const struct emul_tester_backend_api *)target->backend_api; in emul_tester_backend_set_action()
22 return api->set_action(target, action); in emul_tester_backend_set_action()
25 static inline int emul_tester_backend_get_action(const struct emul *target, int *action) in emul_tester_backend_get_action() argument
28 (const struct emul_tester_backend_api *)target->backend_api; in emul_tester_backend_get_action()
30 return api->get_action(target, action); in emul_tester_backend_get_action()
/Zephyr-latest/cmake/linker/ld/
Dlinker_flags.cmake5 check_set_linker_property(TARGET linker PROPERTY base
10 check_set_linker_property(TARGET linker PROPERTY baremetal
17 check_set_linker_property(TARGET linker PROPERTY orphan_warning
21 check_set_linker_property(TARGET linker PROPERTY orphan_error
25 check_set_linker_property(TARGET linker PROPERTY memusage "${LINKERFLAGPREFIX},--print-memory-usage…
32 set_property(TARGET linker PROPERTY no_position_independent "${LINKERFLAGPREFIX},-no-pie")
34 set_property(TARGET linker PROPERTY no_position_independent)
37 set_property(TARGET linker PROPERTY partial_linking "-r")
39 set_property(TARGET linker PROPERTY lto_arguments -flto=auto -fno-ipa-sra -ffunction-sections -fdat…
41 check_set_linker_property(TARGET linker PROPERTY no_relax ${LINKERFLAGPREFIX},--no-relax)
[all …]
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/
Dakm09918c_emul.h14 * @param target The target emulator to modify
19 void akm09918c_emul_set_reg(const struct emul *target, uint8_t reg_addr, const uint8_t *val,
25 * @param target The target emulator to read
30 void akm09918c_emul_get_reg(const struct emul *target, uint8_t reg_addr, uint8_t *val,
36 * @param target The target emulator to reset
38 void akm09918c_emul_reset(const struct emul *target);
/Zephyr-latest/cmake/linker/xt-ld/
Dlinker_flags.cmake5 check_set_linker_property(TARGET linker PROPERTY base
11 set_property(TARGET linker PROPERTY cpp_base -lstdc++)
14 check_set_linker_property(TARGET linker PROPERTY baremetal
21 check_set_linker_property(TARGET linker PROPERTY orphan_warning
25 check_set_linker_property(TARGET linker PROPERTY orphan_error
29 set_property(TARGET linker PROPERTY partial_linking "-r")
31 check_set_linker_property(TARGET linker PROPERTY no_relax ${LINKERFLAGPREFIX},--no-relax)
33 check_set_linker_property(TARGET linker PROPERTY sort_alignment

12345678910>>...68