Searched refs:motion_gpio (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.7.0/drivers/input/ |
D | input_pat912x.c | 62 struct gpio_dt_spec motion_gpio; member 253 if (!gpio_is_ready_dt(&cfg->motion_gpio)) { in pat912x_init() 254 LOG_ERR("%s is not ready", cfg->motion_gpio.port->name); in pat912x_init() 258 ret = gpio_pin_configure_dt(&cfg->motion_gpio, GPIO_INPUT); in pat912x_init() 264 ret = gpio_pin_interrupt_configure_dt(&cfg->motion_gpio, in pat912x_init() 272 BIT(cfg->motion_gpio.pin)); in pat912x_init() 280 ret = gpio_add_callback_dt(&cfg->motion_gpio, &data->motion_cb); in pat912x_init() 338 .motion_gpio = GPIO_DT_SPEC_INST_GET(n, motion_gpios), \
|
D | input_paw32xx.c | 65 struct gpio_dt_spec motion_gpio; member 225 if (gpio_pin_get_dt(&cfg->motion_gpio)) { in paw32xx_motion_work_handler() 372 if (!gpio_is_ready_dt(&cfg->motion_gpio)) { in paw32xx_init() 373 LOG_ERR("%s is not ready", cfg->motion_gpio.port->name); in paw32xx_init() 377 ret = gpio_pin_configure_dt(&cfg->motion_gpio, GPIO_INPUT); in paw32xx_init() 384 BIT(cfg->motion_gpio.pin)); in paw32xx_init() 386 ret = gpio_add_callback_dt(&cfg->motion_gpio, &data->motion_cb); in paw32xx_init() 398 ret = gpio_pin_interrupt_configure_dt(&cfg->motion_gpio, in paw32xx_init() 451 .motion_gpio = GPIO_DT_SPEC_INST_GET(n, motion_gpios), \
|
D | input_pmw3610.c | 100 struct gpio_dt_spec motion_gpio; member 487 if (!gpio_is_ready_dt(&cfg->motion_gpio)) { in pmw3610_init() 488 LOG_ERR("%s is not ready", cfg->motion_gpio.port->name); in pmw3610_init() 492 ret = gpio_pin_configure_dt(&cfg->motion_gpio, GPIO_INPUT); in pmw3610_init() 499 BIT(cfg->motion_gpio.pin)); in pmw3610_init() 501 ret = gpio_add_callback_dt(&cfg->motion_gpio, &data->motion_cb); in pmw3610_init() 513 ret = gpio_pin_interrupt_configure_dt(&cfg->motion_gpio, in pmw3610_init() 565 .motion_gpio = GPIO_DT_SPEC_INST_GET(n, motion_gpios), \
|