Lines Matching refs:gpio_keys
69 struct gpio_keys_button *gpio_keys; in soc_button_device_create() local
81 sizeof(*gpio_keys) * n_buttons, in soc_button_device_create()
86 gpio_keys = (void *)(gpio_keys_pdata + 1); in soc_button_device_create()
97 gpio_keys[n_buttons].type = info->event_type; in soc_button_device_create()
98 gpio_keys[n_buttons].code = info->event_code; in soc_button_device_create()
99 gpio_keys[n_buttons].gpio = gpio; in soc_button_device_create()
100 gpio_keys[n_buttons].active_low = 1; in soc_button_device_create()
101 gpio_keys[n_buttons].desc = info->name; in soc_button_device_create()
102 gpio_keys[n_buttons].wakeup = info->wakeup; in soc_button_device_create()
104 gpio_keys[n_buttons].debounce_interval = 50; in soc_button_device_create()
113 gpio_keys_pdata->buttons = gpio_keys; in soc_button_device_create()