Home
last modified time | relevance | path

Searched refs:packet_count (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/bsim/net/sockets/echo_test/src/
Decho_test.c54 int packet_count = 0; in test_echo_client_tick() local
57 packet_count = conf.ipv6.tcp.counter; in test_echo_client_tick()
59 packet_count = conf.ipv6.udp.counter; in test_echo_client_tick()
63 packet_count, PASS_THRESHOLD); in test_echo_client_tick()
65 if (packet_count >= PASS_THRESHOLD) { in test_echo_client_tick()
/Zephyr-latest/drivers/modem/
Dmodem_socket.c28 if (!sock || !sock->packet_count) { in modem_socket_next_packet_size()
44 if (!sock || !sock->packet_count) { in modem_socket_packet_get_total()
48 for (i = 0; i < sock->packet_count; i++) { in modem_socket_packet_get_total()
59 if (!sock || !sock->packet_count) { in modem_socket_packet_drop_first()
63 sock->packet_count--; in modem_socket_packet_drop_first()
64 for (i = 0; i < sock->packet_count; i++) { in modem_socket_packet_drop_first()
68 sock->packet_sizes[sock->packet_count] = 0U; in modem_socket_packet_drop_first()
89 sock->packet_count = 0U; in modem_socket_packet_size_update()
104 while (old_total > new_total && sock->packet_count > 0) { in modem_socket_packet_size_update()
119 if (sock->packet_count >= CONFIG_MODEM_SOCKET_PACKET_COUNT) { in modem_socket_packet_size_update()
[all …]
Dmodem_socket.h41 uint16_t packet_count; member
/Zephyr-latest/drivers/sensor/tdk/icm42670/
Dicm42670.c660 uint16_t packet_count; in icm42670_fetch_from_fifo() local
666 status |= inv_imu_get_frame_count(&data->driver, &packet_count); in icm42670_fetch_from_fifo()
675 status |= inv_imu_read_reg(&data->driver, FIFO_DATA, packet_size * packet_count, in icm42670_fetch_from_fifo()
685 for (uint16_t i = 0; i < packet_count; i++) { in icm42670_fetch_from_fifo()