Home
last modified time | relevance | path

Searched full:ms (Results 1 – 25 of 166) sorted by relevance

1234567

/nrf52832-nimble/packages/NimBLE-latest/porting/npl/rtthread/src/
H A Dnpl_os_rtthread.c19 static ble_npl_error_t npl_rtthread_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks);
275 ble_npl_error_t ble_npl_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks) in ble_npl_time_ms_to_ticks() argument
277 return npl_rtthread_time_ms_to_ticks(ms, out_ticks); in ble_npl_time_ms_to_ticks()
285 ble_npl_time_t ble_npl_time_ms_to_ticks32(uint32_t ms) in ble_npl_time_ms_to_ticks32() argument
287 return ms * RT_TICK_PER_SECOND / 1000; in ble_npl_time_ms_to_ticks32()
373 static ble_npl_error_t npl_rtthread_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks) in npl_rtthread_time_ms_to_ticks() argument
377 ticks = rt_tick_from_millisecond(ms); in npl_rtthread_time_ms_to_ticks()
390 uint64_t ms; in npl_rtthread_time_ticks_to_ms() local
392 ms = ((uint64_t)ticks * 1000) / RT_TICK_PER_SECOND; in npl_rtthread_time_ticks_to_ms()
393 if (ms > UINT32_MAX) in npl_rtthread_time_ticks_to_ms()
[all …]
/nrf52832-nimble/rt-thread/examples/libc/
H A Dex7.c30 long ms = (long) ms_param; in test_thread() local
38 printf("waiting %ld ms ...\n", ms); in test_thread()
40 time.tv_sec = now.tv_sec + ms / 1000 + (now.tv_usec + (ms % 1000) * 1000) in test_thread()
42 time.tv_nsec = ((now.tv_usec + (ms % 1000) * 1000) % 1000000) * 1000; in test_thread()
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/linux/src/
H A Dos_time.c30 * Return ticks [ms] since system start as uint32_t.
43 ble_npl_error_t ble_npl_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks) in ble_npl_time_ms_to_ticks() argument
45 *out_ticks = ms; in ble_npl_time_ms_to_ticks()
58 ble_npl_time_t ble_npl_time_ms_to_ticks32(uint32_t ms) in ble_npl_time_ms_to_ticks32() argument
60 return ms; in ble_npl_time_ms_to_ticks32()
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/ppp/
H A Dchap_ms.c2 * chap_ms.c - Microsoft MS-CHAP compatible implementation.
34 * Implemented LANManager type password response to MS-CHAP challenges.
36 * prefered is set by option "ms-lanman". Default is to use NT.
45 * Implemented MS-CHAPv2 functionality, heavily based on sample
104 #define MS_CHAP_RESPONSE_LEN 49 /* Response length for MS-CHAP */
105 #define MS_CHAP2_RESPONSE_LEN 49 /* Response length for MS-CHAPv2 */
106 #define MS_AUTH_RESPONSE_LENGTH 40 /* MS-CHAPv2 authenticator response, */
109 /* Error codes for MS-CHAP failure messages. */
118 * Offsets within the response field for MS-CHAP
127 * Offsets within the response field for MS-CHAP2
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/netif/ppp/
H A Dchap_ms.c2 * chap_ms.c - Microsoft MS-CHAP compatible implementation.
34 * Implemented LANManager type password response to MS-CHAP challenges.
36 * prefered is set by option "ms-lanman". Default is to use NT.
45 * Implemented MS-CHAPv2 functionality, heavily based on sample
104 #define MS_CHAP_RESPONSE_LEN 49 /* Response length for MS-CHAP */
105 #define MS_CHAP2_RESPONSE_LEN 49 /* Response length for MS-CHAPv2 */
106 #define MS_AUTH_RESPONSE_LENGTH 40 /* MS-CHAPv2 authenticator response, */
109 /* Error codes for MS-CHAP failure messages. */
118 * Offsets within the response field for MS-CHAP
127 * Offsets within the response field for MS-CHAP2
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/
H A Dsys.c50 * Sleep for some ms. Timeouts are NOT processed while sleeping.
52 * @param ms number of milliseconds to sleep
55 sys_msleep(u32_t ms) in sys_msleep() argument
57 if (ms > 0) { in sys_msleep()
61 sys_arch_sem_wait(&delaysem, ms); in sys_msleep()
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/
H A Dsys.c88 * Sleep for some ms. Timeouts are NOT processed while sleeping.
90 * @param ms number of milliseconds to sleep
93 sys_msleep(u32_t ms) in sys_msleep() argument
95 if (ms > 0) { in sys_msleep()
99 sys_arch_sem_wait(&delaysem, ms); in sys_msleep()
/nrf52832-nimble/nordic/nrfx/drivers/src/
H A Dnrfx_systick.c106 static inline uint32_t nrfx_systick_ms_tick(uint32_t ms) in nrfx_systick_ms_tick() argument
108 return ms * ((SystemCoreClock) / NRFX_SYSTICK_MS); in nrfx_systick_ms_tick()
150 void nrfx_systick_delay_ms(uint32_t ms) in nrfx_systick_delay_ms() argument
152 uint32_t n = ms / NRFX_SYSTICK_MS_STEP; in nrfx_systick_delay_ms()
153 uint32_t r = ms % NRFX_SYSTICK_MS_STEP; in nrfx_systick_delay_ms()
/nrf52832-nimble/rt-thread/src/
H A Dclock.c105 * @param ms the specified millisecond
112 int rt_tick_from_millisecond(rt_int32_t ms) in rt_tick_from_millisecond() argument
116 if (ms < 0) in rt_tick_from_millisecond()
119 tick = (RT_TICK_PER_SECOND * ms + 999) / 1000; in rt_tick_from_millisecond()
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/
H A Dsys.c130 * Sleep for some ms. Timeouts are NOT processed while sleeping.
132 * @param ms number of milliseconds to sleep
135 sys_msleep(u32_t ms) in sys_msleep() argument
137 if (ms > 0) { in sys_msleep()
141 sys_arch_sem_wait(&delaysem, ms); in sys_msleep()
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/freertos/src/
H A Dnpl_os_freertos.c324 npl_freertos_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks) in npl_freertos_time_ms_to_ticks() argument
328 ticks = ((uint64_t)ms * configTICK_RATE_HZ) / 1000; in npl_freertos_time_ms_to_ticks()
341 uint64_t ms; in npl_freertos_time_ticks_to_ms() local
343 ms = ((uint64_t)ticks * 1000) / configTICK_RATE_HZ; in npl_freertos_time_ticks_to_ms()
344 if (ms > UINT32_MAX) { in npl_freertos_time_ticks_to_ms()
348 *out_ms = ms; in npl_freertos_time_ticks_to_ms()
/nrf52832-nimble/nordic/nrfx/drivers/include/
H A Dnrfx_systick.h53 * It means that it overflows around 4 times per second and around 250&nbsp;ms
112 * @brief Blocking delay in ms
116 * @param[in] ms Number of milliseconds to delay.
118 void nrfx_systick_delay_ms(uint32_t ms);
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/src/
H A Dadv.c28 /* Convert from ms to 0.625ms units */
37 /* Pre-5.0 controllers enforce a minimum interval of 100ms
38 * whereas 5.0+ controllers can go down to 20ms.
133 BT_DBG("Advertising started. Sleeping %u ms", duration); in adv_send()
163 BT_DBG("Proxy Advertising up to %d ms", timeout); in mesh_adv_thread()
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/freertos/include/nimble/
H A Dnimble_npl_os.h244 ble_npl_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks) in ble_npl_time_ms_to_ticks() argument
246 return npl_freertos_time_ms_to_ticks(ms, out_ticks); in ble_npl_time_ms_to_ticks()
256 ble_npl_time_ms_to_ticks32(uint32_t ms) in ble_npl_time_ms_to_ticks32() argument
258 return ms * configTICK_RATE_HZ / 1000; in ble_npl_time_ms_to_ticks32()
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/riot/include/nimble/
H A Dnimble_npl_os.h222 ble_npl_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks) in ble_npl_time_ms_to_ticks() argument
224 *out_ticks = ms; in ble_npl_time_ms_to_ticks()
236 ble_npl_time_ms_to_ticks32(uint32_t ms) in ble_npl_time_ms_to_ticks32() argument
238 return ms; in ble_npl_time_ms_to_ticks32()
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/mynewt/include/nimble/
H A Dnimble_npl_os.h246 ble_npl_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks) in ble_npl_time_ms_to_ticks() argument
248 return os_time_ms_to_ticks(ms, out_ticks); in ble_npl_time_ms_to_ticks()
258 ble_npl_time_ms_to_ticks32(uint32_t ms) in ble_npl_time_ms_to_ticks32() argument
260 return os_time_ms_to_ticks32(ms); in ble_npl_time_ms_to_ticks32()
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/priv/
H A Dnd6_priv.h86 u32_t reachable_time; /* in ms since value may originate from network packet */
103 u32_t invalidation_timer; /* in ms since value may originate from network packet */
114 u32_t invalidation_timer; /* in ms since value may originate from network packet */
/nrf52832-nimble/rt-thread/components/drivers/include/drivers/
H A Dmmcsd_host.h110 rt_inline void mmcsd_delay_ms(rt_uint32_t ms) in mmcsd_delay_ms() argument
112 if (ms < 1000 / RT_TICK_PER_SECOND) in mmcsd_delay_ms()
118 rt_thread_delay(ms/(1000 / RT_TICK_PER_SECOND)); in mmcsd_delay_ms()
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/include/mesh/
H A Dglue.h146 #define K_MSEC(ms) (ms) argument
157 #define BT_GAP_ADV_FAST_INT_MIN_1 0x0030 /* 30 ms */
158 #define BT_GAP_ADV_FAST_INT_MAX_1 0x0060 /* 60 ms */
159 #define BT_GAP_ADV_FAST_INT_MIN_2 0x00a0 /* 100 ms */
160 #define BT_GAP_ADV_FAST_INT_MAX_2 0x00f0 /* 150 ms */
292 void k_delayed_work_submit(struct k_delayed_work *w, uint32_t ms);
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/include/host/
H A Dble_gap.h42 /** 30 ms. */
45 /** 60 ms. */
48 /** 100 ms. */
51 /** 150 ms. */
54 /** 30 ms; active scanning. */
57 /** 60 ms; active scanning. */
60 /** 11.25 ms; limited discovery interval. */
63 /** 11.25 ms; limited discovery window (not from the spec). */
66 /** 30 ms; active scanning. */
75 /** 11.25 ms; background scanning. */
[all …]
/nrf52832-nimble/rt-thread/libcpu/ppc/ppc405/include/
H A Dconfig.h51 #define CONFIG_SYS_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
52 #define CONFIG_SYS_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
/nrf52832-nimble/rt-thread/components/drivers/
H A DKconfig53 /* and get the ms of delta tick with API: */
255 int "Set scan timeout time(ms)"
259 int "Set connect timeout time(ms)"
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/dummy/src/
H A Dnpl_os_dummy.c167 ble_npl_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks) in ble_npl_time_ms_to_ticks() argument
179 ble_npl_time_ms_to_ticks32(uint32_t ms) in ble_npl_time_ms_to_ticks32() argument
/nrf52832-nimble/packages/NimBLE-latest/nimble/include/nimble/
H A Dnimble_npl.h142 ble_npl_error_t ble_npl_time_ms_to_ticks(uint32_t ms, ble_npl_time_t *out_ticks);
146 ble_npl_time_t ble_npl_time_ms_to_ticks32(uint32_t ms);
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/test/src/
H A Dble_os_test.c218 /* Initiate the general discovery procedure with a 300 ms timeout. */ in ble_os_disc_test_task_handler()
233 /* Wait 100 ms; verify scan still in progress. */ in ble_os_disc_test_task_handler()
244 /* Wait 250 more ms; verify scan completed. */ in ble_os_disc_test_task_handler()

1234567