/Zephyr-Core-3.7.0/tests/net/socket/socketpair/src/ |
D | poll.c | 33 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-Core-3.7.0/tests/posix/headers/src/ |
D | poll_h.c | 10 #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-Core-3.7.0/dts/bindings/espi/ |
D | microchip,xec-espi-saf-v2.yaml | 26 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
|
D | microchip,xec-espi-saf.yaml | 22 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-Core-3.7.0/drivers/net/ |
D | nsos_sockets.c | 58 struct nsos_socket_poll poll; member 199 sock->poll.mid.fd = nsos_adapt_socket(family_mid, type_mid, proto_mid); in nsos_socket_create() 200 if (sock->poll.mid.fd < 0) { in nsos_socket_create() 201 errno = errno_from_nsos_mid(-sock->poll.mid.fd); in nsos_socket_create() 228 ret = nsi_host_read(sock->poll.mid.fd, buf, sz); in nsos_read() 241 ret = nsi_host_write(sock->poll.mid.fd, buf, sz); in nsos_write() 254 ret = nsi_host_close(sock->poll.mid.fd); in nsos_close() 264 struct nsos_socket_poll *poll = CONTAINER_OF(mid, struct nsos_socket_poll, mid); in pollcb() local 266 k_poll_signal_raise(&poll->signal, poll->mid.revents); in pollcb() 271 struct nsos_socket_poll *poll) in nsos_poll_prepare() argument [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/input/gpio_kbd_matrix/boards/ |
D | native_sim.overlay | 20 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-Core-3.7.0/dts/bindings/input/ |
D | kbd-matrix-common.yaml | 19 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 poll-timeout-ms:
|
D | gpio-qdec.yaml | 49 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
|
D | gpio-kbd-matrix.yaml | 58 - "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-Core-3.7.0/tests/bsim/bluetooth/mesh/src/ |
D | test_friendship.c | 73 /* 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-Core-3.7.0/tests/net/socket/poll/ |
D | testcase.yaml | 11 net.socket.poll: 16 - poll
|
/Zephyr-Core-3.7.0/tests/kernel/poll/ |
D | testcase.yaml | 2 kernel.poll: 11 kernel.poll.minimallibc:
|
D | CMakeLists.txt | 5 project(poll) project
|
/Zephyr-Core-3.7.0/tests/drivers/input/kbd_matrix/boards/ |
D | native_sim.overlay | 12 poll-period-ms = <5>; 15 poll-timeout-ms = <500>;
|
/Zephyr-Core-3.7.0/doc/kernel/services/ |
D | polling.rst | 17 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 211 signal to a poll event. This can be seen as a lightweight binary semaphore only 214 A poll signal is a separate object of type :c:struct:`k_poll_signal` that [all …]
|
/Zephyr-Core-3.7.0/lib/os/zvfs/ |
D | Kconfig | 19 select POLL 23 like read, write and poll.
|
/Zephyr-Core-3.7.0/drivers/led/ |
D | Kconfig.ht16k33 | 50 int "Keyscan poll interval in milliseconds" 54 Keyscan poll interval in milliseconds. Polling is only used
|
/Zephyr-Core-3.7.0/subsys/mgmt/osdp/ |
D | Kconfig.cp | 38 int "Number Peripheral Device POLL commands per second" 43 defined the number of times such a POLL command is sent per second.
|
/Zephyr-Core-3.7.0/samples/net/sockets/echo_async/ |
D | README.rst | 2 :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-Core-3.7.0/tests/kernel/poll/src/ |
D | test_poll.c | 38 * @brief Test cases to verify poll 40 * @defgroup kernel_poll_tests Poll tests 49 * @brief Test poll events with no wait 330 * - Test the poll operation which enables waiting concurrently 349 * -# Use FIFO/semaphore/signal/message queue object to define poll event. 362 * - FIFO/semaphore/signal/message queue events available/waitable in poll. 483 /* poll signal */ in ZTEST() 530 * as events in poll. 578 * generate poll events, it may get multiple poll events in test_poll_cancel() 644 * - Test the multiple semaphore events as waitable events in poll. [all …]
|
D | test_poll_fail.c | 52 * @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
|
/Zephyr-Core-3.7.0/subsys/modem/backends/ |
D | modem_backend_tty.c | 14 #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-Core-3.7.0/modules/thrift/src/thrift/server/ |
D | TFDServer.cpp | 11 #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-Core-3.7.0/drivers/counter/ |
D | Kconfig.maxim_ds3231 | 11 select POLL
|
/Zephyr-Core-3.7.0/drivers/serial/ |
D | uart_native_ptty_bottom.c | 24 #include <poll.h> 31 * @brief Poll the device for input. 88 ret = poll(&pfd, 1, 0); in np_uart_slave_connected() 98 ERROR("%s: unexpected error during poll, errno=%i,%s\n", in np_uart_slave_connected() 216 * possible to detect a client connection using poll. in np_uart_open_ptty()
|