Home
last modified time | relevance | path

Searched refs:latency (Results 1 – 25 of 201) sorted by relevance

123456789

/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_prof.c63 uint8_t latency, cputime, prev; in lll_prof_send() local
70 latency = timestamp_latency - timestamp_radio_end; in lll_prof_send()
72 latency = timestamp_latency - radio_tmr_end_get(); in lll_prof_send()
76 if (latency > latency_max) { in lll_prof_send()
77 latency_max = latency; in lll_prof_send()
80 if (latency < latency_min) { in lll_prof_send()
81 latency_min = latency; in lll_prof_send()
86 prev = ((uint16_t)latency_prev + latency) >> 1; in lll_prof_send()
88 latency_prev = latency; in lll_prof_send()
130 p->lcur = latency; in lll_prof_send()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_prof.c121 uint16_t latency; in lll_prof_latency_get() local
132 latency = latency_get(); in lll_prof_latency_get()
134 return latency; in lll_prof_latency_get()
203 uint16_t latency, cputime, prev; in send() local
211 latency = latency_get(); in send()
214 if (latency > latency_max) { in send()
215 latency_max = latency; in send()
218 if (latency < latency_min) { in send()
219 latency_min = latency; in send()
224 prev = ((uint16_t)latency_prev + latency) >> 1; in send()
[all …]
/Zephyr-latest/boards/nordic/nrf5340_audio_dk/
Dnrf5340_audio_dk_config.c16 nrf_gpiote_latency_t latency; in core_config() local
18 latency = nrf_gpiote_latency_get(NRF_GPIOTE); in core_config()
20 if (latency != NRF_GPIOTE_LATENCY_LOWPOWER) { in core_config()
/Zephyr-latest/samples/subsys/pm/latency/src/
Dtest.c20 static void on_latency_changed(int32_t latency) in on_latency_changed() argument
22 if (latency == SYS_FOREVER_US) { in on_latency_changed()
26 latency / USEC_PER_MSEC); in on_latency_changed()
Dmain.c16 static void on_latency_changed(int32_t latency) in on_latency_changed() argument
18 if (latency == SYS_FOREVER_US) { in on_latency_changed()
22 latency / USEC_PER_MSEC); in on_latency_changed()
/Zephyr-latest/samples/subsys/pm/latency/boards/
Dnative_sim.overlay12 exit-latency-us = <10000>;
18 exit-latency-us = <20000>;
24 exit-latency-us = <30000>;
/Zephyr-latest/tests/subsys/pm/policy_api/
Dapp.overlay20 exit-latency-us = <10000>;
28 exit-latency-us = <100000>;
36 exit-latency-us = <50000>;
/Zephyr-latest/tests/subsys/pm/power_states_api/boards/
Dnative_sim.overlay18 exit-latency-us = <100>;
25 exit-latency-us = <200>;
32 exit-latency-us = <500>;
/Zephyr-latest/soc/nordic/common/
DKconfig15 bool "MRAM latency manager"
29 bool "Request MRAM without latency at start"
31 When enabled then MRAM configuration without latency is requested
/Zephyr-latest/samples/boards/st/power_mgmt/suspend_to_ram/boards/
Dnucleo_wba55cg.overlay17 exit-latency-us = <50>;
21 exit-latency-us = <100>;
25 exit-latency-us = <1000>;
/Zephyr-latest/samples/bluetooth/iso_broadcast_benchmark/src/
Dbroadcaster.c60 .latency = DEFAULT_BIS_LATENCY_MS, /* milliseconds */
185 uint64_t latency; in parse_latency_arg() local
188 big_create_param.latency, DEFAULT_BIS_LATENCY_MS); in parse_latency_arg()
195 latency = strtoul(buffer, NULL, 0); in parse_latency_arg()
196 if (latency < BT_ISO_LATENCY_MIN || latency > BT_ISO_LATENCY_MAX) { in parse_latency_arg()
197 printk("Invalid latency %llu", latency); in parse_latency_arg()
201 return (int)latency; in parse_latency_arg()
474 int latency; in parse_args() local
501 latency = parse_latency_arg(); in parse_args()
502 if (latency < 0) { in parse_args()
[all …]
/Zephyr-latest/subsys/bluetooth/host/shell/
Diso.c172 unsigned long latency; in parse_latency() local
176 latency = shell_strtoul(latency_str, 0, &err); in parse_latency()
183 if (!IN_RANGE(latency, in parse_latency()
186 shell_error(sh, "Invalid latency %lu", latency); in parse_latency()
191 return latency; in parse_latency()
299 long latency; in cmd_cig_create() local
301 latency = parse_latency(sh, argv[6]); in cmd_cig_create()
303 if (latency < 0) { in cmd_cig_create()
304 return latency; in cmd_cig_create()
307 param.c_to_p_latency = latency; in cmd_cig_create()
[all …]
/Zephyr-latest/soc/nordic/nrf54l/
DKconfig70 bool "Force constant-latency mode"
72 In constant latency mode the CPU wakeup latency and the PPI task response
75 and predictable latency will be at the cost of having increased power consumption.
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_common.c58 prio = MAX(-127, prio - hdr->score - hdr->latency); in lll_prepare()
92 hdr->latency = 0; in lll_done_score()
Dull_llcp_conn_upd.c153 static bool cu_have_params_changed(struct ll_conn *conn, uint16_t interval, uint16_t latency, in cu_have_params_changed() argument
158 if ((interval != lll->interval) || (latency != lll->latency) || in cu_have_params_changed()
168 conn, ctx->data.cu.interval_max, ctx->data.cu.latency, ctx->data.cu.timeout); in cu_update_conn_parameters()
172 ctx->data.cu.latency, ctx->data.cu.timeout, in cu_update_conn_parameters()
182 const uint16_t latency = ctx->data.cu.latency; in cu_check_conn_parameters() local
189 (latency > CONN_UPDATE_LATENCY_MAX) || in cu_check_conn_parameters()
192 ((latency + 1) * interval_max)) || in cu_check_conn_parameters()
203 const uint16_t latency = ctx->data.cu.latency; in cu_check_conn_ind_parameters() local
208 (latency <= CONN_UPDATE_LATENCY_MAX) && in cu_check_conn_ind_parameters()
212 ((latency + 1U) * interval_max)); in cu_check_conn_ind_parameters()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_isoal/src/sub_sets/
Disoal_test_rx.c280 int32_t latency; in calc_rx_latency_by_role() local
283 latency = 0; in calc_rx_latency_by_role()
289 latency = stream_sync_delay + sdu_interval + (flush_timeout * iso_interval); in calc_rx_latency_by_role()
291 latency = stream_sync_delay + ((flush_timeout - 1) * iso_interval); in calc_rx_latency_by_role()
297 latency = stream_sync_delay - group_sync_delay; in calc_rx_latency_by_role()
299 latency = stream_sync_delay - group_sync_delay - in calc_rx_latency_by_role()
306 latency = group_sync_delay + sdu_interval + iso_interval; in calc_rx_latency_by_role()
308 latency = group_sync_delay; in calc_rx_latency_by_role()
318 PRINT("Latency %s calculated %dus.\n", framed ? "framed" : "unframed", latency); in calc_rx_latency_by_role()
328 return latency; in calc_rx_latency_by_role()
[all …]
/Zephyr-latest/tests/bluetooth/df/common/src/
Dbt_conn_common.c38 conn->lll.latency = 0; in ut_bt_create_connection()
82 conn->lll.latency = periph_latency; in ut_bt_set_periph_latency()
/Zephyr-latest/subsys/pm/policy/
DKconfig37 bool "Allow gathering latency requirements in standalone mode"
40 This option allows using the pm_policy_latency* APIs to gather latency
43 be useful to perform system-level adjustments based on latency
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/
Dcommon.c61 static void conn_param_updated_cb(struct bt_conn *conn, uint16_t interval, uint16_t latency, in conn_param_updated_cb() argument
65 BT_CONN_INTERVAL_TO_US(interval), latency, timeout); in conn_param_updated_cb()
/Zephyr-latest/subsys/bluetooth/audio/
Dascs_internal.h59 uint16_t latency; member
79 uint16_t latency; member
132 uint8_t latency; member
169 uint16_t latency; member
/Zephyr-latest/samples/boards/microchip/mec15xxevb_assy6853/power_management/src/
Dpower_mgmt.c73 int64_t latency; in pm_latency_check() local
77 latency = k_uptime_delta(&trigger_time); in pm_latency_check()
78 secs = (int)(latency / SEC_TO_MSEC); in pm_latency_check()
79 msecs = (int)(latency % SEC_TO_MSEC); in pm_latency_check()
/Zephyr-latest/tests/subsys/pm/power_mgmt_soc/src/
Dpower_mgmt.c61 int64_t latency; in pm_latency_check() local
65 latency = k_uptime_get() - trigger_time; in pm_latency_check()
66 secs = (int)(latency / SEC_TO_MSEC); in pm_latency_check()
67 msecs = (int)(latency % SEC_TO_MSEC); in pm_latency_check()
/Zephyr-latest/samples/subsys/pm/latency/
DCMakeLists.txt7 project(latency) project
/Zephyr-latest/samples/bluetooth/hci_ipc/dts/arm/nordic/
Doverride.dtsi1 /* Keep default IRQ priority low for peripherals to reduce Radio ISR latency.
/Zephyr-latest/samples/bluetooth/central_gatt_write/src/
Dgatt_write_common.c153 param->interval_min, param->interval_max, param->latency, in le_param_req()
160 uint16_t latency, uint16_t timeout) in le_param_updated() argument
163 latency, timeout); in le_param_updated()

123456789