Lines Matching refs:mctx

17 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()
981 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate()
987 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate()
996 ret = modem_cmd_send(&mctx.iface, &mctx.cmd_handler, in modem_pdp_context_activate()
1039 ret = modem_cmd_handler_setup_cmds(&mctx.iface, &mctx.cmd_handler, in modem_setup()
1198 ret = modem_cmd_handler_init(&mctx.cmd_handler, &mdata.cmd_handler_data, in modem_init()
1212 ret = modem_iface_uart_init(&mctx.iface, &mdata.iface_data, &uart_config); in modem_init()
1218 mctx.data_manufacturer = mdata.mdm_manufacturer; in modem_init()
1219 mctx.data_model = mdata.mdm_model; in modem_init()
1220 mctx.data_revision = mdata.mdm_revision; in modem_init()
1221 mctx.data_imei = mdata.mdm_imei; in modem_init()
1223 mctx.data_imsi = mdata.mdm_imsi; in modem_init()
1224 mctx.data_iccid = mdata.mdm_iccid; in modem_init()
1226 mctx.data_rssi = &mdata.mdm_rssi; in modem_init()
1260 mctx.driver_data = &mdata; in modem_init()
1262 ret = modem_context_register(&mctx); in modem_init()