Home
last modified time | relevance | path

Searched refs:sockets_len (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/modem/
Dmodem_socket.c156 for (i = 0; i < cfg->sockets_len; i++) { in modem_socket_get()
162 if (i >= cfg->sockets_len) { in modem_socket_get()
177 (cfg->base_socket_id + cfg->sockets_len); in modem_socket_get()
191 for (i = 0; i < cfg->sockets_len; i++) { in modem_socket_from_fd()
213 for (i = 0; i < cfg->sockets_len; i++) { in modem_socket_from_id()
227 return modem_socket_from_id(cfg, cfg->base_socket_id + cfg->sockets_len); in modem_socket_from_newid()
415 size_t sockets_len, int base_socket_id, bool assign_id, in modem_socket_init() argument
419 if (cfg == NULL || sockets == NULL || sockets_len < 1 || vtable == NULL) { in modem_socket_init()
425 cfg->sockets_len = sockets_len; in modem_socket_init()
432 for (int i = 0; i < cfg->sockets_len; i++) { in modem_socket_init()
[all …]
Dmodem_socket.h58 size_t sockets_len; member
104 size_t sockets_len, int base_socket_id, bool assign_id,