Lines Matching refs:gpio_keys
70 struct gpio_keys_button *gpio_keys; in soc_button_device_create() local
82 sizeof(*gpio_keys) * n_buttons, in soc_button_device_create()
87 gpio_keys = (void *)(gpio_keys_pdata + 1); in soc_button_device_create()
110 gpio_keys[n_buttons].type = info->event_type; in soc_button_device_create()
111 gpio_keys[n_buttons].code = info->event_code; in soc_button_device_create()
112 gpio_keys[n_buttons].gpio = gpio; in soc_button_device_create()
113 gpio_keys[n_buttons].active_low = 1; in soc_button_device_create()
114 gpio_keys[n_buttons].desc = info->name; in soc_button_device_create()
115 gpio_keys[n_buttons].wakeup = info->wakeup; in soc_button_device_create()
117 gpio_keys[n_buttons].debounce_interval = 50; in soc_button_device_create()
126 gpio_keys_pdata->buttons = gpio_keys; in soc_button_device_create()