Lines Matching refs:gpio_drdy
34 gpio_pin_interrupt_configure_dt(&cfg->gpio_drdy, in setup_int1()
49 if (cfg->gpio_drdy.port == NULL) { in lis2dh_trigger_drdy_set()
426 if (cfg->gpio_drdy.port && in lis2dh_thread_cb()
448 if (cfg->gpio_drdy.port && in lis2dh_thread_cb()
563 if (!gpio_is_ready_dt(&cfg->gpio_drdy)) { in lis2dh_init_interrupt()
565 if (cfg->gpio_drdy.port != NULL) { in lis2dh_init_interrupt()
566 LOG_ERR("device %s is not ready", cfg->gpio_drdy.port->name); in lis2dh_init_interrupt()
576 status = gpio_pin_configure_dt(&cfg->gpio_drdy, GPIO_INPUT); in lis2dh_init_interrupt()
579 cfg->gpio_drdy.port->name, cfg->gpio_drdy.pin); in lis2dh_init_interrupt()
585 BIT(cfg->gpio_drdy.pin)); in lis2dh_init_interrupt()
587 status = gpio_add_callback(cfg->gpio_drdy.port, &lis2dh->gpio_int1_cb); in lis2dh_init_interrupt()
594 cfg->gpio_drdy.port->name, in lis2dh_init_interrupt()
595 cfg->gpio_drdy.pin); in lis2dh_init_interrupt()