Home
last modified time | relevance | path

Searched refs:poll_timeout (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/lib/os/zvfs/
Dzvfs_poll.c94 int poll_timeout; in zvfs_poll_internal() local
97 poll_timeout = SYS_FOREVER_MS; in zvfs_poll_internal()
99 poll_timeout = k_ticks_to_ms_floor32(timeout.ticks); in zvfs_poll_internal()
103 nfds, poll_timeout); in zvfs_poll_internal()
172 int z_impl_zvfs_poll(struct zvfs_pollfd *fds, int nfds, int poll_timeout) in z_impl_zvfs_poll() argument
176 if (poll_timeout < 0) { in z_impl_zvfs_poll()
179 timeout = K_MSEC(poll_timeout); in z_impl_zvfs_poll()
Dzvfs_select.c81 k_timeout_t poll_timeout; in z_impl_zvfs_select() local
141 poll_timeout = K_FOREVER; in z_impl_zvfs_select()
143 poll_timeout = in z_impl_zvfs_select()
147 res = zvfs_poll_internal(pfds, num_pfds, poll_timeout); in z_impl_zvfs_select()
/Zephyr-latest/tests/net/lib/coap_client/src/
Dstubs.c37 int z_impl_zvfs_poll(struct zvfs_pollfd *fds, int nfds, int poll_timeout) in z_impl_zvfs_poll() argument
49 k_sleep(K_MSEC(poll_timeout)); in z_impl_zvfs_poll()
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Devent_flags.c111 k_timeout_t poll_timeout; in osEventFlagsWait() local
170 poll_timeout = Z_FOREVER; in osEventFlagsWait()
180 poll_timeout = Z_TIMEOUT_TICKS((k_ticks_t)( in osEventFlagsWait()
187 retval = k_poll(&events->poll_event, 1, poll_timeout); in osEventFlagsWait()
/Zephyr-latest/subsys/bluetooth/mesh/
Dlpn.c118 static int32_t poll_timeout(struct bt_mesh_lpn *lpn) in poll_timeout() function
126 if (lpn->poll_timeout < POLL_TIMEOUT_MAX(lpn)) { in poll_timeout()
127 lpn->poll_timeout *= 2; in poll_timeout()
128 lpn->poll_timeout = in poll_timeout()
129 MIN(lpn->poll_timeout, POLL_TIMEOUT_MAX(lpn)); in poll_timeout()
132 LOG_DBG("Poll Timeout is %ums", lpn->poll_timeout); in poll_timeout()
134 return lpn->poll_timeout; in poll_timeout()
580 int32_t timeout = poll_timeout(lpn); in friend_response_received()
1093 lpn->poll_timeout = MIN(POLL_TIMEOUT_MAX(lpn), in bt_mesh_lpn_friend_update()
Dnet.h138 int32_t poll_timeout; member
/Zephyr-latest/include/zephyr/sys/
Dfdtable.h224 __syscall int zvfs_poll(struct zvfs_pollfd *fds, int nfds, int poll_timeout);
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/
Dstubs.c126 int z_impl_zvfs_poll(struct zvfs_pollfd *fds, int nfds, int poll_timeout) in z_impl_zvfs_poll() argument
/Zephyr-latest/drivers/espi/
Despi_saf_mchp_xec.c52 uint32_t poll_timeout; member
279 regs->SAF_POLL_TMOUT = cfg->poll_timeout; in saf_flash_timing_init()
838 .poll_timeout = DT_INST_PROP_OR(inst, poll_timeout,
Despi_saf_mchp_xec_v2.c71 uint32_t poll_timeout; member
314 regs->SAF_POLL_TMOUT = cfg->poll_timeout; in saf_flash_timing_init()
1126 .poll_timeout = DT_INST_PROP_OR(n, poll_timeout, \
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dcfg.c423 int32_t poll_timeout; in cmd_polltimeout_get() local
433 bt_mesh_shell_target_ctx.dst, lpn_address, &poll_timeout); in cmd_polltimeout_get()
439 shell_print(sh, "PollTimeout value %d", poll_timeout); in cmd_polltimeout_get()