Lines Matching refs:hl7800_cfg

540 const static struct hl7800_config hl7800_cfg = {  variable
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()
874 gpio_pin_set_dt(&hl7800_cfg.gpio[MDM_WAKE], state); in modem_assert_wake()
885 gpio_pin_set_dt(&hl7800_cfg.gpio[MDM_PWR_ON], 1); in modem_assert_pwr_on()
888 gpio_pin_set_dt(&hl7800_cfg.gpio[MDM_PWR_ON], 0); in modem_assert_pwr_on()
896 gpio_pin_set_dt(&hl7800_cfg.gpio[MDM_FAST_SHUTD], 1); in modem_assert_fast_shutd()
899 gpio_pin_set_dt(&hl7800_cfg.gpio[MDM_FAST_SHUTD], 0); in modem_assert_fast_shutd()
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()
4902 glitch_filter(0, &hl7800_cfg.gpio[MDM_UART_CTS], in mdm_uart_cts_callback()
4949 gpio_pin_set_dt(&hl7800_cfg.gpio[MDM_RESET], 1); in modem_reset()
4972 gpio_pin_set_dt(&hl7800_cfg.gpio[MDM_RESET], 0); in modem_run()
6270 if (!gpio_is_ready_dt(&hl7800_cfg.gpio[i])) { in hl7800_init()
6272 hl7800_cfg.gpio[i].port->name); in hl7800_init()
6277 ret = gpio_pin_configure_dt(&hl7800_cfg.gpio[MDM_RESET], GPIO_OUTPUT); in hl7800_init()
6280 hl7800_cfg.gpio[MDM_RESET].pin, ret); in hl7800_init()
6284 ret = gpio_pin_configure_dt(&hl7800_cfg.gpio[MDM_WAKE], GPIO_OUTPUT); in hl7800_init()
6287 hl7800_cfg.gpio[MDM_WAKE].pin, ret); in hl7800_init()
6291 ret = gpio_pin_configure_dt(&hl7800_cfg.gpio[MDM_PWR_ON], GPIO_OUTPUT); in hl7800_init()
6294 hl7800_cfg.gpio[MDM_PWR_ON].pin, ret); in hl7800_init()
6298 ret = gpio_pin_configure_dt(&hl7800_cfg.gpio[MDM_FAST_SHUTD], GPIO_OUTPUT); in hl7800_init()
6301 hl7800_cfg.gpio[MDM_FAST_SHUTD].pin, ret); in hl7800_init()
6305 ret = gpio_pin_configure_dt(&hl7800_cfg.gpio[MDM_VGPIO], GPIO_INPUT); in hl7800_init()
6308 hl7800_cfg.gpio[MDM_VGPIO].pin, ret); in hl7800_init()
6312 ret = gpio_pin_configure_dt(&hl7800_cfg.gpio[MDM_UART_DSR], GPIO_INPUT); in hl7800_init()
6315 hl7800_cfg.gpio[MDM_UART_DSR].pin, ret); in hl7800_init()
6319 ret = gpio_pin_configure_dt(&hl7800_cfg.gpio[MDM_UART_CTS], GPIO_INPUT); in hl7800_init()
6322 hl7800_cfg.gpio[MDM_UART_CTS].pin, ret); in hl7800_init()
6326 ret = gpio_pin_configure_dt(&hl7800_cfg.gpio[MDM_GPIO6], GPIO_INPUT); in hl7800_init()
6329 hl7800_cfg.gpio[MDM_GPIO6].pin, ret); in hl7800_init()
6349 BIT(hl7800_cfg.gpio[MDM_VGPIO].pin)); in hl7800_init()
6350 ret = gpio_add_callback(hl7800_cfg.gpio[MDM_VGPIO].port, in hl7800_init()
6356 ret = gpio_pin_interrupt_configure_dt(&hl7800_cfg.gpio[MDM_VGPIO], GPIO_INT_EDGE_BOTH); in hl7800_init()
6364 BIT(hl7800_cfg.gpio[MDM_UART_DSR].pin)); in hl7800_init()
6365 ret = gpio_add_callback(hl7800_cfg.gpio[MDM_UART_DSR].port, in hl7800_init()
6371 ret = gpio_pin_interrupt_configure_dt(&hl7800_cfg.gpio[MDM_UART_DSR], GPIO_INT_EDGE_BOTH); in hl7800_init()
6379 BIT(hl7800_cfg.gpio[MDM_GPIO6].pin)); in hl7800_init()
6380 ret = gpio_add_callback(hl7800_cfg.gpio[MDM_GPIO6].port, in hl7800_init()
6386 ret = gpio_pin_interrupt_configure_dt(&hl7800_cfg.gpio[MDM_GPIO6], GPIO_INT_EDGE_BOTH); in hl7800_init()
6394 BIT(hl7800_cfg.gpio[MDM_UART_CTS].pin)); in hl7800_init()
6395 ret = gpio_add_callback(hl7800_cfg.gpio[MDM_UART_CTS].port, in hl7800_init()
6401 ret = gpio_pin_interrupt_configure_dt(&hl7800_cfg.gpio[MDM_UART_CTS], GPIO_INT_EDGE_BOTH); in hl7800_init()
6463 &hl7800_cfg, CONFIG_MODEM_HL7800_INIT_PRIORITY,