Home
last modified time | relevance | path

Searched full:poll (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/Zephyr-latest/tests/net/socket/socketpair/src/
Dpoll.c33 zassert_equal(res, 0, "poll: expected: 0 actual: %d", res); in test_socketpair_poll_timeout_common()
44 zassert_equal(res, 0, "poll: expected: 0 actual: %d", res); in test_socketpair_poll_timeout_common()
52 /* O_NONBLOCK should have no affect on poll(2) */
87 * - close remote fd while the local fd is blocking in poll. r: 1,
89 * - close remote fd while the local fd is blocking in poll. r: 1,
99 * poll until there are bytes to read. in ZTEST_F()
116 zassert_equal(res, 1, "poll() failed: %d", res); in ZTEST_F()
129 * Fill up the remote q and then poll until write space is available. in ZTEST_F()
154 zassert_equal(res, 1, "poll() failed: %d", res); in ZTEST_F()
164 * - even with a timeout value of 0 us, poll should return immediately with
[all …]
/Zephyr-latest/dts/bindings/input/
Dkbd-matrix-common.yaml19 poll-period-ms:
23 Defines the poll period in msecs between between matrix scans, set to 0
24 to never exit poll mode. Defaults to 5ms if unspecified.
26 stable-poll-period-ms:
29 Defines the poll period in msecs between matrix scans when the matrix is
30 stable, defaults to poll-period-ms value if unspecified.
32 poll-timeout-ms:
Dgpio-qdec.yaml49 idle-poll-time-us are specified, can be explicitly set to 0 for no delay.
71 idle-poll-time-us:
77 the driver will poll every idle-poll-time-us microseconds while idle, and
Dgpio-kbd-matrix.yaml58 - "poll"
62 press using GPIO interrupts on the row lines, "poll" periodically polls
64 the matrix continuously, requires "poll-timeout-ms" to be set to 0.
/Zephyr-latest/tests/posix/headers/src/
Dpoll_h.c10 #include <poll.h>
12 #include <zephyr/posix/poll.h>
16 * @brief existence test for `<poll.h>`
18 * @see <a href="https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html">poll.h</a>
40 zassert_not_null(poll); in ZTEST()
/Zephyr-latest/tests/net/lib/coap_client/src/
Dstubs.h21 * @name Options for poll()
25 /** zsock_poll: Poll for readability */
27 /** zsock_poll: Poll for exceptional condition */
29 /** zsock_poll: Poll for writability */
31 /** zsock_poll: Poll results in error condition (output value only) */
33 /** zsock_poll: Poll detected closed connection (output value only) */
/Zephyr-latest/dts/bindings/espi/
Dmicrochip,xec-espi-saf-v2.yaml26 poll-timeout:
28 description: poll flash busy timeout in 32KHz periods
30 poll-interval:
32 description: interval between flash busy poll in 20 ns units
40 description: hold off poll after suspend in 20 ns units
Dmicrochip,xec-espi-saf.yaml22 description: poll flash busy timeout in 32KHz periods
26 description: interval between flash busy poll in 20 ns units
34 description: hold off poll after suspend in 20 ns units
/Zephyr-latest/drivers/net/
Dnsos_sockets.c58 struct nsos_socket_poll poll; member
208 sock->poll.mid.fd = nsos_adapt_socket(family_mid, type_mid, proto_mid); in nsos_socket_create()
209 if (sock->poll.mid.fd < 0) { in nsos_socket_create()
210 errno = errno_from_nsos_mid(-sock->poll.mid.fd); in nsos_socket_create()
237 ret = nsi_host_read(sock->poll.mid.fd, buf, sz); in nsos_read()
250 ret = nsi_host_write(sock->poll.mid.fd, buf, sz); in nsos_write()
261 struct nsos_socket_poll *poll; in nsos_close() local
264 ret = nsi_host_close(sock->poll.mid.fd); in nsos_close()
269 SYS_DLIST_FOR_EACH_CONTAINER(&nsos_polls, poll, node) { in nsos_close()
270 if (poll == &sock->poll) { in nsos_close()
[all …]
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/boards/
Dnative_sim.overlay20 poll-timeout-ms = <500>;
23 kbd_matrix_poll: kbd-matrix-poll {
31 poll-timeout-ms = <500>;
32 idle-mode = "poll";
45 poll-timeout-ms = <0>;
/Zephyr-latest/lib/os/zvfs/
DKconfig23 like read, write and poll.
37 bool "ZVFS poll"
38 select POLL
51 Maximum number of entries supported for poll() call.
/Zephyr-latest/drivers/stepper/adi_tmc/
DKconfig.tmc_rampgen_template5 bool "$(module-str) poll ramp status"
16 int "$(module-str) poll ramp status interval in ms"
20 The interval in ms to poll the ramp status on TMC.
/Zephyr-latest/subsys/mgmt/mcumgr/transport/
DKconfig.lorawan60 int "Poll thread stack size"
63 Stack size of the thread that will poll for empty additional packets when a partial
67 int "Poll thread priority"
74 int "Poll thread retries"
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_friendship.c73 /* Let LPN poll to get the sent message */ in friend_wait_for_polls()
78 /* Wait for LPN to poll until the "no more data" message. in friend_wait_for_polls()
88 FAIL("Unexpected extra poll"); in friend_wait_for_polls()
113 * Verify that all friendships survive the first poll timeout.
129 /* Wait for all friends to do at least one poll without terminating */ in test_friend_est_multi()
152 /* LPN polls on establishment. Clear the poll state */ in test_friend_msg()
163 /* Wait for LPN to poll for message and the "no more messages" msg */ in test_friend_msg()
174 /* Send two unsegmented messages before the next poll. in test_friend_msg()
194 /* Receive a segmented message from the LPN. LPN should poll for the ack in test_friend_msg()
198 /* - 2 for each SegAck (SegAcks are sent faster than Friend Poll messages); in test_friend_msg()
[all …]
/Zephyr-latest/tests/net/socket/poll/
Dtestcase.yaml11 net.socket.poll:
16 - poll
/Zephyr-latest/tests/drivers/input/kbd_matrix/boards/
Dnative_sim.overlay12 poll-period-ms = <5>;
15 poll-timeout-ms = <500>;
/Zephyr-latest/tests/kernel/poll/
Dtestcase.yaml2 kernel.poll:
11 kernel.poll.minimallibc:
DCMakeLists.txt5 project(poll) project
/Zephyr-latest/doc/kernel/services/
Dpolling.rst17 in concept to the POSIX :c:func:`poll` function, except that it operates on
29 - a poll signal is raised
32 **poll events**, one for each condition.
48 Apart from the kernel objects, there is also a **poll signal** pseudo-object
55 nature of the kernel. The caller must look at the state of all the poll events
60 the poll event states that the semaphore is available, the caller of
72 The main API is :c:func:`k_poll`, which operates on an array of poll events
77 Poll events can be initialized using either the runtime initializers
214 signal to a poll event. This can be seen as a lightweight binary semaphore only
217 A poll signal is a separate object of type :c:struct:`k_poll_signal` that
[all …]
/Zephyr-latest/drivers/led/
DKconfig.ht16k3350 int "Keyscan poll interval in milliseconds"
54 Keyscan poll interval in milliseconds. Polling is only used
/Zephyr-latest/subsys/mgmt/osdp/
DKconfig.cp38 int "Number Peripheral Device POLL commands per second"
43 defined the number of times such a POLL command is sent per second.
/Zephyr-latest/samples/net/sockets/echo_async/
DREADME.rst2 :name: Asynchronous echo server using poll()
5 Implement an asynchronous IPv4/IPv6 TCP echo server using BSD sockets and poll()
12 with non-blocking sockets and a ``poll()`` call. This is an extension of
/Zephyr-latest/subsys/modem/backends/
Dmodem_backend_tty.c14 #include <poll.h>
39 if (poll(&pd, 1, MODEM_BACKEND_TTY_THREAD_RUN_PERIOD_MS) < 0) { in modem_backend_tty_routine()
40 LOG_ERR("Poll operation failed"); in modem_backend_tty_routine()
/Zephyr-latest/modules/thrift/src/thrift/server/
DTFDServer.cpp11 #include <zephyr/posix/poll.h>
72 r = poll(&pollfds.front(), pollfds.size(), -1); in read_virt()
79 LOG_ERR("failed to poll fds %d, %d: %d", fd, efd, errno); in read_virt()
80 throw system_error(errno, system_category(), "poll"); in read_virt()
/Zephyr-latest/tests/kernel/poll/src/
Dtest_poll_fail.c52 * @details Define a poll event, and using API k_poll with NULL sem
74 * @details Define a poll, and using API k_poll with NULL signal
96 * @details Define a poll, and using API k_poll with NULL fifo
118 * @details Define a poll, and using API k_poll with NULL message queue

12345678910>>...13