Searched refs:read_pin (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.5.0/drivers/modem/ |
D | hl7800.c | 640 static int read_pin(int default_state, const struct gpio_dt_spec *spec) in read_pin() function 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() 4776 iface_ctx.vgpio_state = read_pin(1, &hl7800_cfg.gpio[MDM_VGPIO]); in mdm_vgpio_callback_isr() 4811 iface_ctx.dsr_state = read_pin(1, &hl7800_cfg.gpio[MDM_UART_DSR]); in mdm_uart_dsr_callback_isr() 4835 iface_ctx.gpio6_state = read_pin(1, &hl7800_cfg.gpio[MDM_GPIO6]); in mdm_gpio6_callback_isr() 4875 state1 = read_pin(-1, spec); in glitch_filter() 4877 state2 = read_pin(-1, spec); in glitch_filter() 4885 state1 = read_pin(default_state, spec); in glitch_filter()
|