Home
last modified time | relevance | path

Searched refs:mctx (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/modem/
Dublox-sara-r4.c164 static struct modem_context mctx; variable
372 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, in send_socket_data()
418 mctx.iface.write(&mctx.iface, msg->msg_iov[i].iov_base, len); in send_socket_data()
475 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, in send_cert()
491 mctx.iface.write(&mctx.iface, cert_data, cert_len); in send_cert()
701 mctx.data_operator = unquoted_atoi(argv[2], 10); in MODEM_CMD_DEFINE()
703 mctx.data_operator); in MODEM_CMD_DEFINE()
715 mctx.data_lac = unquoted_atoi(argv[2], 16); in MODEM_CMD_DEFINE()
716 mctx.data_cellid = unquoted_atoi(argv[3], 16); in MODEM_CMD_DEFINE()
718 mctx.data_lac, in MODEM_CMD_DEFINE()
[all …]
Dsimcom-sim7080.c21 static struct modem_context mctx; variable
184 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), buf, in offload_connect()
261 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, NULL, 0U, send_buf, NULL, in offload_sendto()
276 mctx.iface.write(&mctx.iface, buf, len); in offload_sendto()
277 mctx.iface.write(&mctx.iface, &ctrlz, 1); in offload_sendto()
422 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, data_cmd, ARRAY_SIZE(data_cmd), in offload_recvfrom()
507 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, buf, &mdata.sem_response, in socket_close()
737 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, cmd, ARRAY_SIZE(cmd), sendbuf, in offload_getaddrinfo()
813 modem_iface_uart_rx_wait(&mctx.iface, K_FOREVER); in modem_rx()
815 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx()
[all …]
Dquectel-bg9x.c17 static struct modem_context mctx; variable
205 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in socket_close()
464 ret = modem_cmd_send_nolock(&mctx.iface, &mctx.cmd_handler, in send_socket_data()
487 mctx.iface.write(&mctx.iface, buf, buf_len); in send_socket_data()
488 mctx.iface.write(&mctx.iface, &ctrlz, 1); in send_socket_data()
610 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in offload_recvfrom()
744 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in offload_connect()
858 modem_iface_uart_rx_wait(&mctx.iface, K_FOREVER); in modem_rx()
860 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx()
874 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work()
[all …]
/Zephyr-latest/drivers/wifi/esp_at/
Desp.c216 modem_iface_uart_rx_wait(&data->mctx.iface, K_FOREVER); in esp_rx()
218 modem_cmd_handler_process(&data->mctx.cmd_handler, &data->mctx.iface); in esp_rx()
1393 ret = modem_cmd_handler_setup_cmds(&dev->mctx.iface, in esp_init_work()
1394 &dev->mctx.cmd_handler, setup_cmds, in esp_init_work()
1422 ret = modem_cmd_handler_setup_cmds(&dev->mctx.iface, in esp_init_work()
1423 &dev->mctx.cmd_handler, in esp_init_work()
1486 ret = modem_cmd_send(&data->mctx.iface, &data->mctx.cmd_handler, in esp_reset()
1597 ret = modem_cmd_handler_init(&data->mctx.cmd_handler, &data->cmd_handler_data, in esp_init()
1612 data->mctx.driver_data = data; in esp_init()
1613 ret = modem_context_register(&data->mctx); in esp_init()
[all …]
Desp.h235 struct modem_context mctx; member
425 return modem_cmd_send(&data->mctx.iface, &data->mctx.cmd_handler, in esp_cmd_send()
Desp_offload.c305 ret = modem_cmd_send_ext(&dev->mctx.iface, &dev->mctx.cmd_handler, in _sock_send()
327 dev->mctx.iface.write(&dev->mctx.iface, frag->data, write_len); in _sock_send()