Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 25 of 110) sorted by relevance

12345

/Zephyr-Core-2.7.6/subsys/bluetooth/controller/ll_sw/
Dull_scan_internal.h21 #define ULL_SCAN_DURATION_TO_EVENTS(duration, interval) \ argument
23 SCAN_INT_UNIT_US) / (interval))
26 #define ULL_SCAN_PERIOD_TO_EVENTS(period, interval) \ argument
28 SCAN_INT_UNIT_US) / (interval))
34 void ull_scan_params_set(struct lll_scan *lll, uint8_t type, uint16_t interval,
Dull_adv_types.h31 uint32_t interval; member
42 uint16_t interval; member
72 uint16_t interval; member
89 uint16_t interval; member
Dull_sync_types.h62 uint16_t interval; member
92 uint16_t interval; member
Dull_sync_iso.c247 uint16_t interval; in ull_sync_iso_setup() local
254 interval = sys_le16_to_cpu(big_info->iso_interval); in ull_sync_iso_setup()
255 interval_us = interval * CONN_INT_UNIT_US; in ull_sync_iso_setup()
265 se->interval = interval; in ull_sync_iso_setup()
Dull_scan.c74 uint8_t ll_scan_params_set(uint8_t type, uint16_t interval, uint16_t window, in ll_scan_params_set() argument
109 if (!interval) { in ll_scan_params_set()
124 ull_scan_params_set(lll, type, interval, window, filter_policy); in ll_scan_params_set()
333 void ull_scan_params_set(struct lll_scan *lll, uint8_t type, uint16_t interval, argument
350 lll->interval = interval;
372 ticks_interval = HAL_TICKER_US_TO_TICKS((uint64_t)lll->interval *
435 HAL_TICKER_REMAINDER((uint64_t)lll->interval *
768 scan->lll.interval);
777 scan->lll.interval);
/Zephyr-Core-2.7.6/samples/bluetooth/iso_broadcast_benchmark/src/
Dbroadcaster.c43 .interval = DEFAULT_BIS_INTERVAL_US, /* in microseconds */
129 uint64_t interval; in parse_interval_arg() local
132 big_create_param.interval, DEFAULT_BIS_INTERVAL_US); in parse_interval_arg()
139 interval = strtoul(buffer, NULL, 0); in parse_interval_arg()
140 if (interval < BT_ISO_INTERVAL_MIN || interval > BT_ISO_INTERVAL_MAX) { in parse_interval_arg()
141 printk("Invalid interval %llu", interval); in parse_interval_arg()
145 return (int)interval; in parse_interval_arg()
294 int interval; in parse_args() local
309 interval = parse_interval_arg(); in parse_args()
310 if (interval < 0) { in parse_args()
[all …]
/Zephyr-Core-2.7.6/lib/posix/
Dtimer.c21 struct timespec interval; /* Reload value */ member
70 timer->interval.tv_sec = 0; in timer_create()
71 timer->interval.tv_nsec = 0; in timer_create()
116 its->it_interval = timer->interval; in timer_gettime()
157 timer->interval.tv_sec = value->it_interval.tv_sec; in timer_settime()
158 timer->interval.tv_nsec = value->it_interval.tv_nsec; in timer_settime()
/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Dscan.c195 static int start_le_scan_legacy(uint8_t scan_type, uint16_t interval, uint16_t window) in start_le_scan_legacy() argument
209 set_param.interval = sys_cpu_to_le16(interval); in start_le_scan_legacy()
249 uint16_t interval, window; in start_passive_scan() local
252 interval = BT_GAP_SCAN_FAST_INTERVAL; in start_passive_scan()
255 interval = CONFIG_BT_BACKGROUND_SCAN_INTERVAL; in start_passive_scan()
264 scan.interval = sys_cpu_to_le16(interval); in start_passive_scan()
270 return start_le_scan_legacy(BT_HCI_LE_SCAN_PASSIVE, interval, window); in start_passive_scan()
532 adv_info.interval = sys_le16_to_cpu(evt->interval); in bt_hci_le_adv_ext_report()
741 pending_per_adv_sync->interval = sys_le16_to_cpu(evt->interval); in bt_hci_le_per_adv_sync_established()
747 sync_info.interval = pending_per_adv_sync->interval; in bt_hci_le_per_adv_sync_established()
[all …]
/Zephyr-Core-2.7.6/drivers/led/
DKconfig.ht16k3342 int "Keyscan debounce interval in milliseconds"
46 Keyscan debounce interval in milliseconds.
49 int "Keyscan poll interval in milliseconds"
53 Keyscan poll interval in milliseconds. Polling is only used
/Zephyr-Core-2.7.6/subsys/net/l2/ethernet/gptp/
Dgptp.c603 void gptp_set_time_itv(struct gptp_uscaled_ns *interval, in gptp_set_time_itv() argument
610 interval->low = 0U; in gptp_set_time_itv()
611 interval->high = 0U; in gptp_set_time_itv()
615 interval->low = UINT64_MAX; in gptp_set_time_itv()
616 interval->high = UINT32_MAX; in gptp_set_time_itv()
621 interval->low = 0U; in gptp_set_time_itv()
622 interval->high = 0U; in gptp_set_time_itv()
630 interval->low = (seconds * (uint64_t)NSEC_PER_SEC) << 16; in gptp_set_time_itv()
633 interval->low >>= -log_msg_interval; in gptp_set_time_itv()
634 interval->high = 0U; in gptp_set_time_itv()
[all …]
DKconfig145 int "Set initial pdelay request interval in Log2 base"
148 Defines the interval at which a Path Delay Request will be sent.
153 int "Set initial sync interval in Log2 base"
156 Defines the interval at which a Sync message will be sent.
161 int "Set initial announce interval in Log2 base"
164 Defines the interval at which an Announce message will be sent.
/Zephyr-Core-2.7.6/samples/bluetooth/iso_connected_benchmark/src/
Dmain.c89 .interval = DEFAULT_CIS_INTERVAL_US, /* in microseconds */
153 k_work_reschedule(&iso_send_work, K_USEC(cig_create_param.interval - 100)); in iso_timer_timeout()
468 uint64_t interval; in parse_interval_arg() local
471 cig_create_param.interval, DEFAULT_CIS_INTERVAL_US); in parse_interval_arg()
478 interval = strtoul(buffer, NULL, 0); in parse_interval_arg()
480 if (interval < BT_ISO_INTERVAL_MIN || interval > BT_ISO_INTERVAL_MAX) { in parse_interval_arg()
481 printk("Invalid interval %llu", interval); in parse_interval_arg()
485 return (int)interval; in parse_interval_arg()
586 int interval; in parse_cig_args() local
597 interval = parse_interval_arg(); in parse_cig_args()
[all …]
/Zephyr-Core-2.7.6/drivers/flash/
Dsoc_flash_nrf_ticker.c30 uint32_t interval; /* timeslot interval. */ member
166 _ticker_sync_context.interval = duration - FLASH_SYNC_SWITCHING_TIME; in nrf_flash_sync_set_context()
187 _ticker_sync_context.interval), in nrf_flash_sync_exe()
189 HAL_TICKER_REMAINDER(_ticker_sync_context.interval), in nrf_flash_sync_exe()
/Zephyr-Core-2.7.6/samples/bluetooth/iso_receive/src/
Dmain.c22 #define BT_INTERVAL_TO_MS(interval) ((interval) * 5 / 4) argument
115 info->interval, BT_INTERVAL_TO_MS(info->interval), info->sid); in scan_recv()
117 if (!per_adv_found && info->interval) { in scan_recv()
121 per_interval_ms = BT_INTERVAL_TO_MS(info->interval); in scan_recv()
142 info->interval, info->interval * 5 / 4, phy2str(info->phy)); in sync_cb()
/Zephyr-Core-2.7.6/samples/bluetooth/periodic_sync/src/
Dmain.c92 info->interval, info->interval * 5 / 4, info->sid); in scan_recv()
94 if (!per_adv_found && info->interval) { in scan_recv()
118 info->interval, info->interval * 5 / 4, phy2str(info->phy)); in sync_cb()
/Zephyr-Core-2.7.6/samples/bluetooth/direction_finding_connectionless_rx/src/
Dmain.c129 info->interval, info->interval * 5 / 4, phy2str(info->phy)); in sync_cb()
195 info->interval, info->interval * 5 / 4, info->sid); in scan_recv()
197 if (!per_adv_found && info->interval != 0) { in scan_recv()
283 .interval = BT_GAP_SCAN_FAST_INTERVAL, in scan_enable()
/Zephyr-Core-2.7.6/samples/bluetooth/central_multilink/src/
Dcentral_multilink.c42 .interval = INIT_INTERVAL, in device_found()
92 .interval = SCAN_INTERVAL, in start_scan()
205 static void le_param_updated(struct bt_conn *conn, uint16_t interval, in le_param_updated() argument
213 addr, interval, latency, timeout); in le_param_updated()
/Zephyr-Core-2.7.6/tests/kernel/threads/thread_apis/src/
Dmain.c346 int join_scenario_interval(enum control_method m, int64_t *interval) in join_scenario_interval() argument
387 if (interval != NULL) { in join_scenario_interval()
388 *interval = k_uptime_get(); in join_scenario_interval()
393 if (interval != NULL) { in join_scenario_interval()
394 *interval = k_uptime_get() - *interval; in join_scenario_interval()
417 int64_t interval; in test_thread_join() local
429 zassert_equal(join_scenario_interval(OTHER_ABORT_TIMEOUT, &interval), in test_thread_join()
431 zassert_true(interval < JOIN_TIMEOUT_MS, "join took too long (%lld ms)", in test_thread_join()
432 interval); in test_thread_join()
/Zephyr-Core-2.7.6/samples/bluetooth/central_past/src/
Dmain.c81 info->interval, info->interval * 5 / 4, info->sid); in scan_recv()
106 if (!per_adv_found && info->interval) { in scan_recv()
193 info->interval, info->interval * 5 / 4, phy2str(info->phy)); in sync_cb()
/Zephyr-Core-2.7.6/drivers/gpio/
DKconfig.sx1509b31 int "Debounce time interval"
35 Debounce time interval when debounce enabled.
/Zephyr-Core-2.7.6/subsys/mgmt/hawkbit/
DKconfig30 int "Time to poll interval (in minutes)"
34 Set the interval that the hawkbit update server will be polled.
35 This time interval is zero and 43200 minutes(30 days).
/Zephyr-Core-2.7.6/dts/arm/xilinx/
Dzynqmp.dtsi102 phy-poll-interval = <1000>;
130 phy-poll-interval = <1000>;
158 phy-poll-interval = <1000>;
186 phy-poll-interval = <1000>;
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/bsim_test_app/src/
Dtest_connect1.c239 static void params_updated(struct bt_conn *conn, uint16_t interval, in params_updated() argument
245 if (interval != UPDATE_PARAM_INTERVAL_MAX || in params_updated()
250 interval, latency, timeout); in params_updated()
256 interval, latency, timeout); in params_updated()
/Zephyr-Core-2.7.6/samples/bluetooth/peripheral_past/src/
Dmain.c35 bt_le_per_adv_sync_get_index(sync), le_addr, info->interval, in sync_cb()
36 info->interval * 5 / 4, past_peer_addr); in sync_cb()
/Zephyr-Core-2.7.6/samples/subsys/usb/webusb/src/
Dwebusb.c52 #define INITIALIZER_IF_EP(addr, attr, mps, interval) \ argument
59 .bInterval = interval, \

12345