Searched refs:ictx (Results 1 – 3 of 3) sorted by relevance
179 static struct wncm14a2a_iface_ctx ictx; variable244 if (!ictx.sockets[i].context) { in socket_get()245 sock = &ictx.sockets[i]; in socket_get()263 if (ictx.sockets[i].socket_id == socket_id) { in socket_from_id()264 sock = &ictx.sockets[i]; in socket_from_id()312 ictx.last_error = 0; in send_at_cmd()315 mdm_receiver_send(&ictx.mdm_ctx, data, strlen(data)); in send_at_cmd()316 mdm_receiver_send(&ictx.mdm_ctx, "\r\n", 2); in send_at_cmd()323 k_sem_reset(&ictx.response_sem); in send_at_cmd()324 ret = k_sem_take(&ictx.response_sem, K_MSEC(timeout)); in send_at_cmd()[all …]
576 static void hl7800_build_mac(struct hl7800_iface_ctx *ictx);6249 static void hl7800_build_mac(struct hl7800_iface_ctx *ictx) in hl7800_build_mac() argument6251 ictx->mac_addr[0] = ictx->mdm_imei[MDM_HL7800_IMEI_STRLEN - 6]; in hl7800_build_mac()6252 ictx->mac_addr[1] = ictx->mdm_imei[MDM_HL7800_IMEI_STRLEN - 5]; in hl7800_build_mac()6253 ictx->mac_addr[2] = ictx->mdm_imei[MDM_HL7800_IMEI_STRLEN - 4]; in hl7800_build_mac()6254 ictx->mac_addr[3] = ictx->mdm_imei[MDM_HL7800_IMEI_STRLEN - 3]; in hl7800_build_mac()6255 ictx->mac_addr[4] = ictx->mdm_imei[MDM_HL7800_IMEI_STRLEN - 2]; in hl7800_build_mac()6256 ictx->mac_addr[5] = ictx->mdm_imei[MDM_HL7800_IMEI_STRLEN - 1]; in hl7800_build_mac()
35 #define ICTX_CBOR_R_SZ(pos, ictx) ((size_t)pos - (size_t)(ictx)->in_cpkt->data - (ictx)->offset) argument