Home
last modified time | relevance | path

Searched refs:mdata (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/modem/
Dquectel-bg9x.c16 static struct modem_data mdata; variable
70 hash_value = hash32(mdata.mdm_imei, strlen(mdata.mdm_imei)); in modem_get_mac()
161 sock = modem_socket_from_fd(&mdata.socket_config, socket_fd); in on_cmd_sockread_common()
187 (void)modem_socket_packet_size_update(&mdata.socket_config, sock, in on_cmd_sockread_common()
207 &mdata.sem_response, MDM_CMD_TIMEOUT); in socket_close()
212 modem_socket_put(&mdata.socket_config, sock->sock_fd); in socket_close()
219 k_sem_give(&mdata.sem_response); in MODEM_CMD_DEFINE()
227 k_sem_give(&mdata.sem_response); in MODEM_CMD_DEFINE()
235 k_sem_give(&mdata.sem_response); in MODEM_CMD_DEFINE()
246 mdata.mdm_rssi = -51; in MODEM_CMD_DEFINE()
[all …]
Dsimcom-sim7080.c20 static struct sim7080_data mdata; variable
62 hash_value = hash32(mdata.mdm_imei, strlen(mdata.mdm_imei)); in modem_get_mac()
94 mdata.state = state; in change_state()
104 return mdata.state; in get_state()
125 k_sem_give(&mdata.sem_tx_ready); in MODEM_CMD_DIRECT_DEFINE()
147 if (modem_socket_is_allocated(&mdata.socket_config, sock) == false) { in offload_connect()
185 &mdata.sem_response, MDM_CONNECT_TIMEOUT); in offload_connect()
192 ret = modem_cmd_handler_get_error(&mdata.cmd_handler_data); in offload_connect()
256 k_sem_take(&mdata.cmd_handler_data.sem_tx_lock, K_FOREVER); in offload_sendto()
257 k_sem_reset(&mdata.sem_tx_ready); in offload_sendto()
[all …]
Dublox-sara-r4.c163 static struct modem_data mdata; variable
265 rc = find_apn(mdata.mdm_apn, in modem_detect_apn()
266 sizeof(mdata.mdm_apn), in modem_detect_apn()
270 rc = find_apn(mdata.mdm_apn, in modem_detect_apn()
271 sizeof(mdata.mdm_apn), in modem_detect_apn()
278 LOG_INF("Assign APN: \"%s\"", mdata.mdm_apn); in modem_detect_apn()
341 mdata.sock_written = 0; in send_socket_data()
367 k_sem_take(&mdata.cmd_handler_data.sem_tx_lock, K_FOREVER); in send_socket_data()
370 k_sem_reset(&mdata.sem_prompt); in send_socket_data()
379 ret = modem_cmd_handler_update_cmds(&mdata.cmd_handler_data, in send_socket_data()
[all …]