Lines Matching refs:gpio_keys
159 struct gpio_keys_button *gpio_keys; in soc_button_device_create() local
172 sizeof(*gpio_keys) * n_buttons, in soc_button_device_create()
177 gpio_keys = (void *)(gpio_keys_pdata + 1); in soc_button_device_create()
211 gpio_keys[n_buttons].irq = irq; in soc_button_device_create()
212 gpio_keys[n_buttons].gpio = -ENOENT; in soc_button_device_create()
214 gpio_keys[n_buttons].gpio = gpio; in soc_button_device_create()
217 gpio_keys[n_buttons].type = info->event_type; in soc_button_device_create()
218 gpio_keys[n_buttons].code = info->event_code; in soc_button_device_create()
219 gpio_keys[n_buttons].active_low = info->active_low; in soc_button_device_create()
220 gpio_keys[n_buttons].desc = info->name; in soc_button_device_create()
221 gpio_keys[n_buttons].wakeup = info->wakeup; in soc_button_device_create()
223 gpio_keys[n_buttons].debounce_interval = 50; in soc_button_device_create()
232 gpio_keys_pdata->buttons = gpio_keys; in soc_button_device_create()