Lines Matching refs:pin_cfg
43 const struct gpio_keys_pin_config *pin_cfg; member
62 const struct gpio_keys_pin_config *pin_cfg = &cfg->pin_cfg[key_index]; in gpio_keys_poll_pin() local
67 ret = gpio_pin_get_dt(&pin_cfg->spec); in gpio_keys_poll_pin()
81 pin_cfg->zephyr_code); in gpio_keys_poll_pin()
82 input_report_key(dev, pin_cfg->zephyr_code, new_pressed, true, K_FOREVER); in gpio_keys_poll_pin()
175 const struct gpio_dt_spec *gpio = &cfg->pin_cfg[i].spec; in gpio_keys_init()
195 ret = gpio_keys_interrupt_configure(&cfg->pin_cfg[i].spec, in gpio_keys_init()
197 cfg->pin_cfg[i].zephyr_code); in gpio_keys_init()
232 const struct gpio_dt_spec *gpio = &cfg->pin_cfg[i].spec; in gpio_keys_pm_action()
256 const struct gpio_dt_spec *gpio = &cfg->pin_cfg[i].spec; in gpio_keys_pm_action()
307 .pin_cfg = gpio_keys_pin_config_##i, \