Lines Matching refs:cts_state
442 int cts_state; member
665 iface_ctx.cts_state = read_pin(1, &hl7800_cfg.gpio[MDM_UART_CTS]); in is_cmd_ready()
667 return iface_ctx.vgpio_state && iface_ctx.gpio6_state && !iface_ctx.cts_state; in is_cmd_ready()
4986 iface_ctx.cts_state = read_pin(0, &hl7800_cfg.gpio[MDM_UART_CTS]); in mdm_uart_cts_callback_isr()
5001 if (iface_ctx.cts_state != resample_state) { in mdm_uart_cts_callback_isr()
5003 iface_ctx.cts_state = resample_state; in mdm_uart_cts_callback_isr()
5006 iface_ctx.cts_state = resample_state; in mdm_uart_cts_callback_isr()
5007 if (iface_ctx.cts_state != iface_ctx.last_cts_state) { in mdm_uart_cts_callback_isr()
5008 iface_ctx.last_cts_state = iface_ctx.cts_state; in mdm_uart_cts_callback_isr()
5013 HL7800_IO_DBG_LOG("MDM_UART_CTS:%d(%llu)", iface_ctx.cts_state, elapsed); in mdm_uart_cts_callback_isr()
5016 if (iface_ctx.cts_state && iface_ctx.allow_sleep) { in mdm_uart_cts_callback_isr()
5040 iface_ctx.cts_callback(iface_ctx.cts_state); in mdm_uart_cts_callback_isr()
6326 iface_ctx.cts_state = iface_ctx.last_cts_state = 0; in hl7800_init()