Lines Matching refs:mdm_ctx
50 struct ms_context *mdm_ctx; in cmd_modem_list() local
56 mdm_ctx = ms_context_from_id(i); in cmd_modem_list()
57 if (mdm_ctx) { in cmd_modem_list()
77 UART_DEV_NAME(mdm_ctx), in cmd_modem_list()
78 mdm_ctx->data_manufacturer, in cmd_modem_list()
79 mdm_ctx->data_model, in cmd_modem_list()
80 mdm_ctx->data_revision, in cmd_modem_list()
81 mdm_ctx->data_imei, in cmd_modem_list()
83 mdm_ctx->data_imsi, in cmd_modem_list()
84 mdm_ctx->data_iccid, in cmd_modem_list()
87 mdm_ctx->data_operator, in cmd_modem_list()
88 mdm_ctx->data_lac, in cmd_modem_list()
89 mdm_ctx->data_cellid, in cmd_modem_list()
90 mdm_ctx->data_act, in cmd_modem_list()
92 mdm_ctx->data_rssi ? *mdm_ctx->data_rssi : 0); in cmd_modem_list()
106 struct ms_context *mdm_ctx; in cmd_modem_send() local
125 mdm_ctx = ms_context_from_id(i); in cmd_modem_send()
126 if (!mdm_ctx) { in cmd_modem_send()
132 ret = ms_send(mdm_ctx, argv[i], strlen(argv[i])); in cmd_modem_send()
140 ret = ms_send(mdm_ctx, "\r", 1); in cmd_modem_send()
142 ret = ms_send(mdm_ctx, " ", 1); in cmd_modem_send()
158 struct ms_context *mdm_ctx; in cmd_modem_info() local
177 mdm_ctx = ms_context_from_id(i); in cmd_modem_info()
178 if (!mdm_ctx) { in cmd_modem_info()
192 UART_DEV_NAME(mdm_ctx), in cmd_modem_info()
193 mdm_ctx->data_manufacturer, in cmd_modem_info()
194 mdm_ctx->data_model, in cmd_modem_info()
195 mdm_ctx->data_revision, in cmd_modem_info()
196 mdm_ctx->data_imei, in cmd_modem_info()
197 mdm_ctx->data_rssi ? *mdm_ctx->data_rssi : 0); in cmd_modem_info()