Searched refs:iface_ctx (Results 1 – 1 of 1) sorted by relevance
552 static struct hl7800_iface_ctx iface_ctx; variable592 if (!iface_ctx.stale_sockets[i].allocated) { in alloc_stale_socket()593 sock = &iface_ctx.stale_sockets[i]; in alloc_stale_socket()618 k_queue_append(&iface_ctx.stale_socket_queue, (void *)sock); in queue_stale_socket()631 sock = (struct stale_socket *)k_queue_get(&iface_ctx.stale_socket_queue, K_NO_WAIT); in dequeue_stale_socket()656 iface_ctx.vgpio_state = read_pin(0, &hl7800_cfg.gpio[MDM_VGPIO]); in is_cmd_ready()658 iface_ctx.gpio6_state = read_pin(0, &hl7800_cfg.gpio[MDM_GPIO6]); in is_cmd_ready()660 iface_ctx.cts_state = read_pin(1, &hl7800_cfg.gpio[MDM_UART_CTS]); in is_cmd_ready()662 return iface_ctx.vgpio_state && iface_ctx.gpio6_state && !iface_ctx.cts_state; in is_cmd_ready()675 if (is_cmd_rdy && (iface_ctx.sleep_state != HL7800_SLEEP_AWAKE) && in check_hl7800_awake()[all …]