Searched refs:read_pin (Results 1 – 1 of 1) sorted by relevance
645 static int read_pin(int default_state, const struct gpio_dt_spec *spec) in read_pin() function661 iface_ctx.vgpio_state = read_pin(0, &hl7800_cfg.gpio[MDM_VGPIO]); in is_cmd_ready()663 iface_ctx.gpio6_state = read_pin(0, &hl7800_cfg.gpio[MDM_GPIO6]); in is_cmd_ready()665 iface_ctx.cts_state = read_pin(1, &hl7800_cfg.gpio[MDM_UART_CTS]); in is_cmd_ready()4880 iface_ctx.vgpio_state = read_pin(1, &hl7800_cfg.gpio[MDM_VGPIO]); in mdm_vgpio_callback_isr()4918 iface_ctx.dsr_state = read_pin(1, &hl7800_cfg.gpio[MDM_UART_DSR]); in mdm_uart_dsr_callback_isr()4944 iface_ctx.gpio6_state = read_pin(1, &hl7800_cfg.gpio[MDM_GPIO6]); in mdm_gpio6_callback_isr()4986 iface_ctx.cts_state = read_pin(0, &hl7800_cfg.gpio[MDM_UART_CTS]); in mdm_uart_cts_callback_isr()5000 resample_state = read_pin(0, &hl7800_cfg.gpio[MDM_UART_CTS]); in mdm_uart_cts_callback_isr()