Home
last modified time | relevance | path

Searched refs:active (Results 1 – 25 of 257) sorted by relevance

1234567891011

/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_session.c26 struct session *active = NULL; in get_session() local
38 while (!active && i < SESSION_MAX) { in get_session()
47 active = ptr; in get_session()
57 active = ptr; in get_session()
71 if (!active && free) { in get_session()
72 active = free; in get_session()
75 active->port = addr4->sin_port; in get_session()
76 active->ip.family = AF_INET; in get_session()
77 net_ipaddr_copy(&active->ip.in_addr, &addr4->sin_addr); in get_session()
80 active->port = addr6->sin6_port; in get_session()
[all …]
/Zephyr-latest/subsys/fs/fcb/
Dfcb_append.c63 struct fcb_entry *active; in fcb_append() local
84 active = &fcb->f_active; in fcb_append()
85 if (active->fe_elem_off + len + cnt > active->fe_sector->fs_size) { in fcb_append()
101 rc = fcb_flash_write(fcb, active->fe_sector, active->fe_elem_off, tmp_str, cnt); in fcb_append()
106 append_loc->fe_sector = active->fe_sector; in fcb_append()
107 append_loc->fe_elem_off = active->fe_elem_off; in fcb_append()
108 append_loc->fe_data_off = active->fe_elem_off + cnt; in fcb_append()
110 active->fe_elem_off = append_loc->fe_data_off + len; in fcb_append()
/Zephyr-latest/subsys/bluetooth/audio/
Dcsip_set_coordinator.c68 } active; variable
111 for (size_t i = 0U; i < active.members_count; i++) { in active_members_reset()
112 const struct bt_csip_set_coordinator_set_member *member = active.members[i]; in active_members_reset()
119 (void)memset(&active, 0, sizeof(active)); in active_members_reset()
185 member = active.members[active.members_handled]; in get_next_active_instance()
187 svc_inst = lookup_instance_by_set_info(member, &active.info); in get_next_active_instance()
204 svc_inst_1 = lookup_instance_by_set_info(member_1, &active.info); in member_rank_compare_asc()
205 svc_inst_2 = lookup_instance_by_set_info(member_2, &active.info); in member_rank_compare_asc()
233 (void)memcpy(active.members, members, count * sizeof(members[0U])); in active_members_store_ordered()
234 active.members_count = count; in active_members_store_ordered()
[all …]
/Zephyr-latest/subsys/logging/
Dlog_cache.c26 sys_slist_init(&cache->active); in log_cache_init()
60 SYS_SLIST_FOR_EACH_CONTAINER(&cache->active, entry, node) { in log_cache_get()
68 if (&entry->node == sys_slist_peek_tail(&cache->active)) { in log_cache_get()
76 sys_slist_remove(&cache->active, prev_node, &entry->node); in log_cache_get()
77 sys_slist_prepend(&cache->active, &entry->node); in log_cache_get()
87 sys_slist_remove(&cache->active, prev_node, &entry->node); in log_cache_get()
102 sys_slist_prepend(&cache->active, &entry->node); in log_cache_put()
/Zephyr-latest/tests/subsys/logging/log_backend_init/src/
Dmain.c24 bool active; member
68 context->active = true; in expire_cb()
84 return context->active ? 0 : -EBUSY; in backend_is_ready()
134 zassert_false(context1.active); in ZTEST()
135 zassert_false(context2.active); in ZTEST()
139 zassert_true(context1.active); in ZTEST()
140 zassert_true(context2.active); in ZTEST()
/Zephyr-latest/samples/userspace/prod_consumer/src/
Dsample_driver.h25 bool active);
59 __syscall int sample_driver_state_set(const struct device *dev, bool active);
62 bool active) in z_impl_sample_driver_state_set() argument
66 return api->state_set(dev, active); in z_impl_sample_driver_state_set()
Dsample_driver_handlers.c11 int z_vrfy_sample_driver_state_set(const struct device *dev, bool active) in z_vrfy_sample_driver_state_set() argument
17 return z_impl_sample_driver_state_set(dev, active); in z_vrfy_sample_driver_state_set()
Dsample_driver_foo.c52 static int sample_driver_foo_state_set(const struct device *dev, bool active) in sample_driver_foo_state_set() argument
56 LOG_DBG("%s(%p, %d)", __func__, dev, active); in sample_driver_foo_state_set()
59 if (active) { in sample_driver_foo_state_set()
/Zephyr-latest/boards/shields/rk043fn02h_ct/
Drk043fn02h_ct.overlay42 de-active= <1>;
43 pixelclk-active = <1>;
44 hsync-active = <0>;
45 vsync-active = <0>;
/Zephyr-latest/boards/shields/rk043fn66hs_ctg/
Drk043fn66hs_ctg.overlay43 de-active= <1>;
44 pixelclk-active = <1>;
45 hsync-active = <0>;
46 vsync-active = <0>;
/Zephyr-latest/tests/subsys/pm/policy_api/src/
Dmain.c80 bool active; in ZTEST() local
86 active = pm_policy_state_lock_is_active(PM_STATE_RUNTIME_IDLE, PM_ALL_SUBSTATES); in ZTEST()
87 zassert_false(active); in ZTEST()
97 active = pm_policy_state_lock_is_active(PM_STATE_RUNTIME_IDLE, PM_ALL_SUBSTATES); in ZTEST()
98 zassert_true(active); in ZTEST()
108 active = pm_policy_state_lock_is_active(PM_STATE_RUNTIME_IDLE, PM_ALL_SUBSTATES); in ZTEST()
109 zassert_false(active); in ZTEST()
118 zassert_false(active); in ZTEST()
128 active = pm_policy_state_lock_is_active(PM_STATE_RUNTIME_IDLE, 1); in ZTEST()
129 zassert_true(active); in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/audio/cap_commander/uut/
Daics.c12 bool active; member
41 if (!aics_clients[i].active) { in bt_aics_client_free_instance_get()
42 aics_clients[i].active = true; in bt_aics_client_free_instance_get()
73 aics_clients[i].active = false; in mock_bt_aics_cleanup()
Dvocs.c12 bool active; member
41 if (!vocs_clients[i].active) { in bt_vocs_client_free_instance_get()
42 vocs_clients[i].active = true; in bt_vocs_client_free_instance_get()
73 vocs_clients[i].active = false; in mock_bt_vocs_cleanup()
/Zephyr-latest/boards/shields/weact_ov2640_cam_module/
Dweact_ov2640_cam_module.overlay34 hsync-active = <0>;
35 vsync-active = <0>;
36 pixelclk-active = <1>;
/Zephyr-latest/boards/shields/rtkmipilcdb00000be/
Drtkmipilcdb00000be.overlay55 hsync-active = <0>;
56 vsync-active = <0>;
57 de-active = <1>;
58 pixelclk-active = <0>;
/Zephyr-latest/boards/shields/st_b_lcd40_dsi1_mb1166/
Dst_b_lcd40_dsi1_mb1166.overlay45 hsync-active = <0>;
46 vsync-active = <0>;
47 de-active = <0>;
48 pixelclk-active = <0>;
Dst_b_lcd40_dsi1_mb1166_a09.overlay45 hsync-active = <0>;
46 vsync-active = <0>;
47 de-active = <0>;
48 pixelclk-active = <0>;
/Zephyr-latest/boards/renesas/da1469x_dk_pro/dts/
Dda1469x_dk_pro_lcdc.overlay76 hsync-active = <0>;
77 vsync-active = <0>;
78 de-active = <1>;
79 pixelclk-active = <1>;
/Zephyr-latest/tests/drivers/uart/uart_pm/src/
Dmain.c15 static void polling_verify(const struct device *dev, bool is_async, bool active) in polling_verify() argument
42 if (active) { in polling_verify()
66 static bool async_verify(const struct device *dev, bool active) in async_verify() argument
78 if (!active) { in async_verify()
115 static void communication_verify(const struct device *dev, bool active) in communication_verify() argument
117 bool is_async = async_verify(dev, active); in communication_verify()
119 polling_verify(dev, is_async, active); in communication_verify()
/Zephyr-latest/boards/shields/st_b_lcd40_dsi1_mb1166/boards/
Dstm32h747i_disco_stm32h747xx_m7.overlay43 vs-active-high;
44 hs-active-high;
45 de-active-high;
/Zephyr-latest/tests/lib/p4workq/src/
Dmain.c25 bool active; member
47 item->active = true; in stress_sub()
81 &items[ii] != titem && !items[ii].active) { in stress_handler()
90 titem->active = false; in stress_handler()
200 bool active = add_new_item(pri); in ZTEST() local
202 if (!active) { in ZTEST()
/Zephyr-latest/boards/shields/rk055hdmipi4m/
Drk055hdmipi4m.overlay50 hsync-active = <0>;
51 vsync-active = <0>;
52 de-active = <1>;
53 pixelclk-active = <0>;
/Zephyr-latest/boards/shields/rk055hdmipi4ma0/
Drk055hdmipi4ma0.overlay50 hsync-active = <0>;
51 vsync-active = <0>;
52 de-active = <1>;
53 pixelclk-active = <0>;
/Zephyr-latest/include/zephyr/logging/
Dlog_backend.h85 bool active; member
116 .active = false, \
282 backend->cb->active = true; in log_backend_activate()
294 backend->cb->active = false; in log_backend_deactivate()
308 return backend->cb->active; in log_backend_is_active()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dipso_buzzer.c56 bool active; /* digital state */ member
107 if (buzzer->active) { in start_buzzer()
134 if (!buzzer->active) { in stop_buzzer()
159 if (!buzzer_data[i].onoff && buzzer_data[i].active) { in onoff_post_write_cb()
161 } else if (buzzer_data[i].onoff && !buzzer_data[i].active) { in onoff_post_write_cb()
229 res_inst[avail], j, &buzzer_data[avail].active, in buzzer_create()
230 sizeof(buzzer_data[avail].active)); in buzzer_create()

1234567891011