Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/modem/
Dmodem_socket.c157 if (cfg->sockets[i].id < cfg->base_socket_id) { in modem_socket_get()
176 cfg->sockets[i].id = (cfg->assign_id) ? (i + cfg->base_socket_id) : in modem_socket_get()
177 (cfg->base_socket_id + cfg->sockets_len); in modem_socket_get()
207 if (id < cfg->base_socket_id) { in modem_socket_from_id()
227 return modem_socket_from_id(cfg, cfg->base_socket_id + cfg->sockets_len); in modem_socket_from_newid()
240 sock->id = cfg->base_socket_id - 1; in modem_socket_put()
415 size_t sockets_len, int base_socket_id, bool assign_id, in modem_socket_init() argument
426 cfg->base_socket_id = base_socket_id; in modem_socket_init()
448 if (cfg->assign_id == false && sock->id == (cfg->base_socket_id + cfg->sockets_len)) { in modem_socket_is_allocated()
460 if ((cfg->base_socket_id <= sock->id) && in modem_socket_id_is_assigned()
[all …]
Dmodem_socket.h61 int base_socket_id; member
104 size_t sockets_len, int base_socket_id, bool assign_id,