Home
last modified time | relevance | path

Searched full:wait (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/nrf52832-nimble/packages/NimBLE-latest/porting/npl/linux/src/
H A Dos_sem.c61 struct timespec wait; in ble_npl_sem_pend() local
67 err = clock_gettime(CLOCK_REALTIME, &wait); in ble_npl_sem_pend()
72 wait.tv_sec += timeout / 1000; in ble_npl_sem_pend()
73 wait.tv_nsec += (timeout % 1000) * 1000000; in ble_npl_sem_pend()
74 wait.tv_nsec %= 1000000000; in ble_npl_sem_pend()
81 if (sem_timedwait(&sem->lock, &wait)) { in ble_npl_sem_pend()
H A Dos_mutex.c60 struct timespec wait; in ble_npl_mutex_pend() local
68 wait.tv_sec = timeout / 1000; in ble_npl_mutex_pend()
69 wait.tv_nsec = (timeout % 1000) * 1000000; in ble_npl_mutex_pend()
70 wait.tv_nsec %= 1000000000; in ble_npl_mutex_pend()
72 if (pthread_mutex_timedlock(&mu->lock, &wait)) { in ble_npl_mutex_pend()
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/kernel/linux/
H A Dwait.h13 #define init_waitqueue_head(wait) do{} while (0) argument
14 #define add_wait_queue(wait,new_wait) do{} while (0) argument
15 #define remove_wait_queue(wait,old_wait) do{} while (0) argument
16 #define DECLARE_WAITQUEUE(wait,current) do{} while (0) argument
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/
H A Dsys.h143 /** Wait for a semaphore for the specified timeout
144 * @param sem the semaphore to wait for
145 * @param timeout timeout in milliseconds to wait (0 = wait forever)
152 /** Wait for a semaphore - forever/no timeout */
184 /** Wait for a new message to arrive in the mbox
187 * @param timeout maximum time (in milliseconds) to wait for a message
194 /** Wait for a new message to arrive in the mbox
197 * @param timeout maximum time (in milliseconds) to wait for a message
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/
H A Dos_cputime.h136 * Wait until 'nsecs' nanoseconds has elapsed. This is a blocking delay.
140 * @param nsecs The number of nanoseconds to wait.
170 * Wait until the number of ticks has elapsed. This is a blocking delay.
172 * @param ticks The number of ticks to wait.
177 * Wait until 'usecs' microseconds has elapsed. This is a blocking delay.
179 * @param usecs The number of usecs to wait.
/nrf52832-nimble/rt-thread/components/CMSIS/RTOS/
H A Dcmsis_rtthread.c103 // Generic Wait API
105 /// Wait for Timeout (Time Delay)
120 /// Wait for Signal, Message, Mail, or Timeout
186 /// Wait until a Mutex becomes available
234 /// Wait until a Semaphore becomes available
310 /// Get a Message or Wait for a Message from a Queue
/nrf52832-nimble/rt-thread/components/cplusplus/
H A DSemaphore.h28 /** Wait until a Semaphore resource becomes available.
32 bool wait(int32_t millisec = -1);
34 /** Release a Semaphore resource that was obtain with Semaphore::wait.
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/
H A Dsys.h184 * Wait for a semaphore for the specified timeout
185 * @param sem the semaphore to wait for
186 * @param timeout timeout in milliseconds to wait (0 = wait forever)
197 /** Wait for a semaphore - forever/no timeout */
261 * Wait for a new message to arrive in the mbox
264 * @param timeout maximum time (in milliseconds) to wait for a message (0 = wait forever)
274 * Wait for a new message to arrive in the mbox
/nrf52832-nimble/rt-thread/components/drivers/include/ipc/
H A Dwaitqueue.h8 * 2018/06/26 Bernard Fix the wait queue issue when wakeup a soon
21 typedef int (*rt_wqueue_func_t)(struct rt_wqueue_node *wait, void *key);
33 int __wqueue_default_wake(struct rt_wqueue_node *wait, void *key);
/nrf52832-nimble/rt-thread/libcpu/arm/lpc214x/
H A Dstart_rvds.S165 ;// <o1.5..9> WST1: Wait States 1 <0-31>
166 ;// <o1.11..15> WST2: Wait States 2 <0-31>
178 ;// <o1.5..9> WST1: Wait States 1 <0-31>
179 ;// <o1.11..15> WST2: Wait States 2 <0-31>
191 ;// <o1.5..9> WST1: Wait States 1 <0-31>
192 ;// <o1.11..15> WST2: Wait States 2 <0-31>
204 ;// <o1.5..9> WST1: Wait States 1 <0-31>
205 ;// <o1.11..15> WST2: Wait States 2 <0-31>
327 ; Wait until PLL Locked
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/test/unit/arch/
H A Dsys_arch.c104 /* need to wait */ in sys_arch_sem_wait()
107 /* wait infinite */ in sys_arch_sem_wait()
108 LWIP_ASSERT("cannot wait without waiting callback", the_waiting_fn != NULL); in sys_arch_sem_wait()
304 /* need to wait */ in sys_arch_mbox_fetch()
305 /* need to wait */ in sys_arch_mbox_fetch()
308 /* wait infinite */ in sys_arch_mbox_fetch()
309 LWIP_ASSERT("cannot wait without waiting callback", the_waiting_fn != NULL); in sys_arch_mbox_fetch()
/nrf52832-nimble/rt-thread/libcpu/arm/lpc24xx/
H A Dstart_rvds.S774 ;// <o0.8> EW: Extended wait enable
791 ;// <o.0..3> WAITWEN: Wait write enable <1-16> <#-1>
798 ;// <o.0..3> WAITOEN: Wait output enable <0-15>
805 …/ <o.0..4> WAITRD: Non-page mode read wait states or asynchronous page mode read first acc…
812 ;// <o.0..4> WAITPAGE: Asynchronous page mode read after the first read wait states <1-32> …
819 ;// <o.0..4> WAITWR: Write wait states <2-33> <#-2>
841 ;// <o0.8> EW: Extended wait enable
858 ;// <o.0..3> WAITWEN: Wait write enable <1-16> <#-1>
865 ;// <o.0..3> WAITOEN: Wait output enable <0-15>
872 …/ <o.0..4> WAITRD: Non-page mode read wait states or asynchronous page mode read first acc…
[all …]
/nrf52832-nimble/rt-thread/components/dfs/src/
H A Dpoll.c39 static int __wqueue_pollwake(struct rt_wqueue_node *wait, void *key) in __wqueue_pollwake() argument
43 if (key && !((rt_ubase_t)key & wait->key)) in __wqueue_pollwake()
46 pn = rt_container_of(wait, struct rt_poll_node, wqn); in __wqueue_pollwake()
49 return __wqueue_default_wake(wait, key); in __wqueue_pollwake()
/nrf52832-nimble/rt-thread/libcpu/ppc/ppc405/
H A Dcache_gcc.S33 sync /* wait for dcbst's to get to ram */
62 sync /* wait for dcbst's to get to ram */
84 sync /* wait for dcbst's to get to ram */
107 sync /* wait for dcbi's to get to ram */
H A Ddcr_gcc.S72 sync /* Wait for write to complete */
74 isync /* Wait for icbi to complete */
117 sync /* Wait for write to complete */
119 isync /* Wait for icbi to complete */
/nrf52832-nimble/rt-thread/components/net/uip/uip/
H A Dpt.h133 * \name Blocked wait
138 * Block and wait until condition is true.
157 * Block and wait while condition is true.
177 * Block and wait until a child protothread completes.
195 * Spawn a child protothread and wait until it exits.
/nrf52832-nimble/rt-thread/examples/libc/
H A Dex5.c34 /* Wait until buffer is not full */ in put()
49 /* Wait until buffer is not empty */ in get()
98 /* Wait until producer and consumer finish. */ in libc_ex5()
H A Dex2.c36 /* Wait until buffer is not full */ in put()
56 /* Wait until buffer is not empty */ in get()
108 /* Wait until producer and consumer finish. */ in libc_ex2()
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/src/
H A Dgcthread.c70 /* Stop the thread and wait for it if necessary */
74 D1(printk("jffs2_stop_garbage_collect_thread wait\n"));
195 /* Stop the thread and wait for it if necessary */ in jffs2_stop_garbage_collect_thread()
199 D1(printk("jffs2_stop_garbage_collect_thread wait\n")); in jffs2_stop_garbage_collect_thread()
/nrf52832-nimble/rt-thread/libcpu/c-sky/common/
H A Dcsi_instr.h42 \brief Wait For Interrupt
43 …\details Wait For Interrupt is a hint instruction that suspends execution until one of a number of…
47 __ASM volatile("wait"); in __WFI()
51 \brief Wait For Interrupt
52 …\details Wait For Interrupt is a hint instruction that suspends execution until one interrupt occu…
56 __ASM volatile("wait"); in __WAIT()
/nrf52832-nimble/rt-thread/components/drivers/i2c/
H A Di2c-bit-ops.c39 * release scl line, and wait scl line to high.
60 bit_dbg("wait %ld tick for SCL line to go high\n", in SCL_H()
117 bit_dbg("wait ack timeout\n"); in i2c_waitack()
146 "wait scl pin high timeout at bit %d\n", in i2c_writeb()
172 bit_dbg("i2c_readb: wait scl pin high " in i2c_readb()
/nrf52832-nimble/rt-thread/libcpu/arm/s3c44b0/
H A Dstart_rvds.S245 ;// <o8.6> WS: WAIT Status
246 ;// <0=> WAIT Disable
247 ;// <1=> WAIT Enable
271 ;// <o8.10> WS: WAIT Status
272 ;// <0=> WAIT Disable
273 ;// <1=> WAIT Enable
297 ;// <o8.14> WS: WAIT Status
298 ;// <0=> WAIT Disable
299 ;// <1=> WAIT Enable
323 ;// <o8.18> WS: WAIT Status
[all …]
/nrf52832-nimble/rt-thread/components/CMSIS/Include/
H A Dcore_cmInstr.h63 /** \brief Wait For Interrupt
65 Wait For Interrupt is a hint instruction that suspends execution
71 /** \brief Wait For Event
73 Wait For Event is a hint instruction that permits the processor to enter
331 /** \brief Wait For Interrupt
333 Wait For Interrupt is a hint instruction that suspends execution
342 /** \brief Wait For Event
344 Wait For Event is a hint instruction that permits the processor to enter
/nrf52832-nimble/packages/NimBLE-latest/nimble/drivers/nrf51/src/
H A Dble_phy.c156 * -> Wait until a packet is received and the ADDRESS event occurs.
273 * Called when we want to wait if the radio is in either the rx or tx
274 * disable states. We want to wait until that state is over before doing
391 * is no additional time to wait; we know when we should receive the address of
396 * @param wfr_usecs Amount of usecs to wait.
422 /* Enable wait for response PPI */ in ble_phy_wfr_enable()
486 /* Reset the rx started flag. Used for the wait for response */ in ble_phy_rx_xcvr_setup()
557 * Enable the wait for response timer. Note that cc #1 on in ble_phy_tx_end_isr()
702 /* Wait to get 1st byte of frame */ in ble_phy_rx_start_isr()
826 * XXX: I do not think we need to wait for settling time here since in ble_phy_init()
[all …]
/nrf52832-nimble/rt-thread/components/dfs/filesystems/nfs/rpc/
H A Dclnt_udp.c108 * wait is the amount of time used between retransmitting a call if
118 struct timeval wait, in clntudp_bufcreate() argument
162 cu->cu_wait = wait; in clntudp_bufcreate()
206 struct timeval wait, in clntudp_create() argument
209 return (clntudp_bufcreate(raddr, program, version, wait, sockp, in clntudp_create()

12345678910>>...14