Lines Matching refs:mctx

164 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()
719 mctx.data_cellid); in MODEM_CMD_DEFINE()
947 modem_iface_uart_rx_wait(&mctx.iface, K_FOREVER); in modem_rx()
949 modem_cmd_handler_process(&mctx.cmd_handler, &mctx.iface); in modem_rx()
1050 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work()
1061 ret = modem_cmd_handler_setup_cmds_nolock(&mctx.iface, in modem_rssi_query_work()
1062 &mctx.cmd_handler, in modem_rssi_query_work()
1095 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_rssi_query_work()
1104 ret = modem_cmd_handler_setup_cmds_nolock(&mctx.iface, in modem_rssi_query_work()
1105 &mctx.cmd_handler, in modem_rssi_query_work()
1216 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1229 ret = modem_cmd_handler_setup_cmds(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1244 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1250 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1259 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1268 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1293 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1300 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1341 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_reset()
1347 ret = modem_cmd_handler_setup_cmds(&mctx.iface, in modem_reset()
1348 &mctx.cmd_handler, in modem_reset()
1355 ret = modem_cmd_handler_setup_cmds(&mctx.iface, in modem_reset()
1356 &mctx.cmd_handler, in modem_reset()
1412 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in create_socket()
1424 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, atbuf, in create_socket()
1431 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, atbuf, in create_socket()
1438 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, atbuf, in create_socket()
1445 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, atbuf, in create_socket()
1452 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, NULL, 0U, atbuf, in create_socket()
1504 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in offload_close()
1588 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in offload_connect()
1662 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in offload_recvfrom()
2019 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in offload_getaddrinfo()
2167 ret = modem_cmd_handler_init(&mctx.cmd_handler, &mdata.cmd_handler_data, in modem_init()
2181 ret = modem_iface_uart_init(&mctx.iface, &mdata.iface_data, &uart_config); in modem_init()
2187 mctx.data_manufacturer = mdata.mdm_manufacturer; in modem_init()
2188 mctx.data_model = mdata.mdm_model; in modem_init()
2189 mctx.data_revision = mdata.mdm_revision; in modem_init()
2190 mctx.data_imei = mdata.mdm_imei; in modem_init()
2191 mctx.data_rssi = &mdata.mdm_rssi; in modem_init()
2216 mctx.driver_data = &mdata; in modem_init()
2218 ret = modem_context_register(&mctx); in modem_init()