Home
last modified time | relevance | path

Searched refs:local (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/Zephyr-latest/tests/bsim/
Dcompile.source19 local app_root="${app_root:-${ZEPHYR_BASE}}"
20 local BOARD_ROOT="${BOARD_ROOT:-${ZEPHYR_BASE}}"
21 local conf_file="${conf_file:-prj.conf}"
22 local extra_conf_file="${extra_conf_file:-""}"
23 local conf_overlay="${conf_overlay:-""}"
24 local snippet="${snippet:-""}"
28 local cmake_args=(${cmake_args:-"${default_cmake_args[@]}"})
29 local cmake_extra_args=(${cmake_extra_args:-""})
30 local ninja_args="${ninja_args:-""}"
31 local cc_flags="${cc_flags:-""}"
[all …]
/Zephyr-latest/tests/cmake/zephyr_get/
DCMakeLists.txt98 # Test with a local variable not controlled by sysbuild.
101 set(VARIABLE "local")
120 set(VARIABLE "local")
123 assert_equal(VARIABLE "local")
136 set(TESTCASE_VARIABLE "local")
173 set(TESTCASE_VARIABLE "local")
178 IMAGE no_sysbuild "local"
187 # Test with a local variable not controlled by sysbuild.
190 set(VARIABLE "local")
193 assert_equal(VARIABLE "cmake cache;environment;local")
[all …]
/Zephyr-latest/tests/unit/timeutil/
Dtest_sync.c71 zassert_equal(ss.base.local, 0, in test_state_update()
83 si.local += 20; in test_state_update()
89 zassert_equal(ss.base.local, 0, in test_state_update()
93 zassert_equal(ss.latest.local, si.local, in test_state_update()
132 zassert_equal(ss.base.local, si.local, in test_state_set_skew()
137 si.local += 3; in test_state_set_skew()
146 zassert_equal(ss.base.local, si.local, in test_state_set_skew()
150 zassert_equal(ss.latest.local, 0, in test_state_set_skew()
164 .local = si0.local + cfg1.local_Hz, in test_estimate_skew()
187 zassert_equal(ss.base.local, si0.local, in test_estimate_skew()
[all …]
/Zephyr-latest/samples/net/dsa/boards/
Dip_k66f.overlay8 local-mac-address = [00 00 12 13 00 10];
12 local-mac-address = [00 00 12 13 00 37];
16 local-mac-address = [00 00 12 13 00 27];
20 local-mac-address = [00 00 12 13 00 17];
/Zephyr-latest/subsys/bluetooth/audio/
DKconfig.mctl15 Enables support for control of local and remote media players
16 To enable support for control of a local media player, support for
17 local media player must be enabled
22 bool "Support for control of local media player"
24 This option enables support for control of a local media player
27 bool "Support for local control of local media player"
31 This option enables support for local application control of local
35 bool "Support for remote control of local media players"
38 This option enables support for remote control of local media
/Zephyr-latest/subsys/net/lib/shell/
Dnet_shell.c89 if (IS_ENABLED(CONFIG_NET_IPV6) && context->local.family == AF_INET6) { in get_addresses()
92 net_sin6_ptr(&context->local)->sin6_addr), in get_addresses()
93 ntohs(net_sin6_ptr(&context->local)->sin6_port)); in get_addresses()
99 } else if (IS_ENABLED(CONFIG_NET_IPV4) && context->local.family == AF_INET) { in get_addresses()
102 net_sin_ptr(&context->local)->sin_addr), in get_addresses()
103 ntohs(net_sin_ptr(&context->local)->sin_port)); in get_addresses()
120 } else if (context->local.family == AF_UNSPEC) { in get_addresses()
122 } else if (context->local.family == AF_PACKET) { in get_addresses()
124 } else if (context->local.family == AF_CAN) { in get_addresses()
128 context->local.family); in get_addresses()
Dcapture.c60 get_address_str(info->local, addr_local, sizeof(addr_local)); in capture_cb()
111 const char *remote, *local, *peer; in cmd_net_capture_setup() local
119 local = argv[arg++]; in cmd_net_capture_setup()
120 if (!local) { in cmd_net_capture_setup()
137 ret = net_capture_setup(remote, local, peer, &capture_dev); in cmd_net_capture_setup()
/Zephyr-latest/tests/bluetooth/controller/ctrl_data_length_update/src/
Dmain.c836 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
837 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST()
839 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
840 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST()
843 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
844 zassert_equal(conn.lll.dle.local.max_tx_time, 1800, "max_tx_time mismatch.\n"); in ZTEST()
854 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
855 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST()
857 zassert_equal(conn.lll.dle.local.max_rx_time, 2120, "max_rx_time mismatch.\n"); in ZTEST()
858 zassert_equal(conn.lll.dle.local.max_tx_time, 2120, "max_tx_time mismatch.\n"); in ZTEST()
[all …]
/Zephyr-latest/lib/utils/
Dtimeutil.c82 && (inst->local > tsp->base.local))) { in timeutil_sync_state_update()
119 && (tsp->latest.local > tsp->base.local)) { in timeutil_sync_estimate_skew()
122 double local_delta = tsp->latest.local - tsp->base.local; in timeutil_sync_estimate_skew()
131 uint64_t local, uint64_t *refp) in timeutil_sync_ref_from_local() argument
137 int64_t local_delta = local - tsp->base.local; in timeutil_sync_ref_from_local()
174 int64_t local_abs = (int64_t)tsp->base.local in timeutil_sync_local_from_ref()
/Zephyr-latest/scripts/west_commands/completion/
Dwest-completion.zsh12 local -a builtin_cmds=(
19 'forall[run a command in one or more local projects]'
25 local -a zephyr_ext_cmds=(
40 local -a all_cmds=(${builtin_cmds} ${zephyr_ext_cmds})
59 local -a global_opts=(
69 local curcontext="$curcontext" context state state_descr line
70 local -a orig_words
97 local extra_args
108 local name="${_west_boards[$i]%%|*}"
109 local transformed_board="${_west_boards[$i]//|//}"
[all …]
/Zephyr-latest/samples/net/mdns_responder/
DREADME.rst41 $ avahi-resolve -4 -n zephyr.local
47 zephyr.local 192.0.2.1
53 $ avahi-resolve -6 -n zephyr.local
59 zephyr.local 2001:db8::1
71 + zeth IPv6 zephyr _zephyr._tcp local
72 = zeth IPv6 zephyr _zephyr._tcp local
73 hostname = [zephyr.local]
/Zephyr-latest/subsys/net/lib/capture/
Dcapture.c85 struct sockaddr local; member
132 info.local = &ctx->local; in net_capture_foreach()
285 struct sockaddr local = { 0 }; in net_capture_setup() local
382 ret = setup_iface(ipip_iface, my_local_addr, &local, &local_addr_len); in net_capture_setup()
389 if (peer.sa_family != local.sa_family) { in net_capture_setup()
391 "(%d vs %d)", peer.sa_family, local.sa_family); in net_capture_setup()
412 memcpy(&ctx->local, &local, local_addr_len); in net_capture_setup()
418 if (net_sin(&ctx->local)->sin_port == 0) { in net_capture_setup()
419 net_sin(&ctx->local)->sin_port = htons(DEFAULT_PORT); in net_capture_setup()
458 (void)cleanup_iface(ctx->tunnel_iface, &ctx->local); in capture_cleanup()
[all …]
/Zephyr-latest/tests/drivers/build_all/ethernet/
Dspi_devices.overlay49 local-mac-address = [00 00 00 00 00 00];
57 local-mac-address = [00 00 00 00 00 00];
76 local-mac-address = [ CA 2F B7 10 23 63 ];
101 local-mac-address = [ CA 2F B7 10 23 63 ];
104 local-mac-address = [ 3C 82 D4 A2 29 8E ];
139 local-mac-address = [00 00 00 01 02 03];
147 local-mac-address = [00 00 00 00 00 00];
/Zephyr-latest/doc/kernel/services/other/
Dthread_local_storage.rst16 To enable thread local storage in Zephyr, :kconfig:option:`CONFIG_THREAD_LOCAL_STORAGE`
21 thread local storage and/or the toolchain does not support TLS.
24 :kconfig:option:`CONFIG_ERRNO` to let the variable ``errno`` be a thread local
32 The macro ``Z_THREAD_LOCAL`` can be used to declare thread local variables.
34 For example, to declare a thread local variable in header files:
52 Using the thread local variable is the same as using other variable, for example:
/Zephyr-latest/tests/lib/cpp/libcxx/src/
Dmain.cpp25 std::array<uint8_t, 2> local = {1, 2}; in ZTEST() local
26 zassert_equal(local.size(), 2, "unexpected size"); in ZTEST()
27 zassert_equal(local[0], 1, "local[0] wrong"); in ZTEST()
28 zassert_equal(local[1], 2, "local[1] wrong"); in ZTEST()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_local.c130 conn->llcp.local.state = state; in lr_set_state()
141 sys_slist_append(&conn->llcp.local.pend_proc_list, &ctx->node); in llcp_lr_enqueue()
156 ctx = (struct proc_ctx *)sys_slist_get(&conn->llcp.local.pend_proc_list); in lr_dequeue()
172 ctx = (struct proc_ctx *)sys_slist_peek_head(&conn->llcp.local.pend_proc_list); in llcp_lr_peek()
189 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&conn->llcp.local.pend_proc_list, ctx, tmp, node) { in llcp_lr_peek_proc()
202 return conn->llcp.local.pause == 1U; in llcp_lr_ispaused()
207 conn->llcp.local.pause = 1U; in llcp_lr_pause()
212 conn->llcp.local.pause = 0U; in llcp_lr_resume()
217 conn->llcp.local.prt_expire = conn->llcp.prt_reload; in llcp_lr_prt_restart()
222 conn->llcp.local.prt_expire = value; in llcp_lr_prt_restart_with_value()
[all …]
/Zephyr-latest/drivers/timer/
DKconfig.x8632 Use the x86 local APIC in periodic mode as the system time
44 Extremely simple timer driver based the local APIC TSC
63 local APIC in one-shot mode as the timeout event source.
64 You must know the ratio of the TSC frequency to the local APIC
75 This option specifies the IRQ used by the local APIC timer.
78 local vector table). This footgun is not intended to be
87 int "TSC to local APIC timer frequency multiplier (N)"
91 int "TSC to local APIC timer frequency divisor (M)"
102 local APIC timer.
/Zephyr-latest/samples/boards/nordic/clock_skew/src/
Dmain.c25 uint64_t local_to_us(uint64_t local) in local_to_us() argument
27 return z_tmcvt(local, sync_config.local_Hz, USEC_PER_SEC, false, in local_to_us()
128 inst.local = k_uptime_ticks(); in sync_work_handler()
138 printf("\nLF %s", us_to_text(local_to_us(inst.local))); in sync_work_handler()
144 printf(" %s", us_to_text(local_to_us(base->local))); in sync_work_handler()
146 local_span_us = local_to_us(latest->local - base->local); in sync_work_handler()
170 (void)timeutil_sync_ref_from_local(&st2, latest->local, in sync_work_handler()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_hostname.rst7 :local:
15 details) and needs to respond to ``<hostname>.local`` DNS queries.
25 postfix to the hostname. By default the link local address of the first network
26 interface is used as a postfix. In Ethernet networks, the link local address
27 refers to MAC address. For example, if the link local address is
/Zephyr-latest/samples/net/sockets/txtime/src/
Dmain.c219 struct sockaddr *local, socklen_t *addrlen) in get_local_ipv6() argument
233 memcpy(&net_sin6(local)->sin6_addr, addr, sizeof(*addr)); in get_local_ipv6()
234 local->sa_family = AF_INET6; in get_local_ipv6()
241 struct sockaddr *local, socklen_t *addrlen) in get_local_ipv4() argument
255 memcpy(&net_sin(local)->sin_addr, addr, sizeof(*addr)); in get_local_ipv4()
256 local->sa_family = AF_INET; in get_local_ipv4()
264 struct sockaddr local; in create_socket() local
271 memset(&local, 0, sizeof(local)); in create_socket()
283 addr = (struct sockaddr_ll *)&local; in create_socket()
303 ret = get_local_ipv6(iface, peer, &local, &addrlen); in create_socket()
[all …]
/Zephyr-latest/include/zephyr/sys/
Dtimeutil.h129 uint64_t local; member
258 uint64_t local, uint64_t *refp);
/Zephyr-latest/samples/modules/tflite-micro/hello_world/
DCMakeLists.txt6 # These samples use local static initialization. Since Zephyr doesn't support the
7 # C++ ABI for thread-safe initialization of local statics and the constructors don't
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/
DCMakeLists.txt6 # These samples use local static initialization. Since Zephyr doesn't support the
7 # C++ ABI for thread-safe initialization of local statics and the constructors don't
/Zephyr-latest/subsys/net/ip/
Dnet_context.c197 contexts[i].local)->sin_port == local_port)) { in check_used_port()
209 if (net_sin6_ptr(&contexts[i].local)->sin6_addr == NULL || in check_used_port()
210 net_sin6_ptr(&contexts[i].local)->sin6_family != AF_INET6) { in check_used_port()
215 net_sin6_ptr(&contexts[i].local)->sin6_addr) || in check_used_port()
227 net_sin6_ptr(&contexts[i].local)->sin6_addr) && in check_used_port()
243 net_sin6_ptr(&contexts[i].local)-> in check_used_port()
269 if (net_sin_ptr(&contexts[i].local)->sin_addr == NULL || in check_used_port()
272 net_sin_ptr(&contexts[i].local)->sin_family != AF_INET)) { in check_used_port()
277 net_sin_ptr(&contexts[i].local)->sin_addr) || in check_used_port()
289 net_sin_ptr(&contexts[i].local)->sin_addr) && in check_used_port()
[all …]
/Zephyr-latest/tests/kernel/workq/user_work/src/
Dmain.c43 K_WORK_USER_DEFINE(local, common_work_handler); in test_k_work_user_init()
44 zassert_equal(local.handler, common_work_handler); in test_k_work_user_init()
45 zassert_equal(local.flags, 0); in test_k_work_user_init()

12345678910>>...18