Home
last modified time | relevance | path

Searched refs:gpio_key_map (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/input/rmi4/
H A Drmi_f3a.c30 u16 *gpio_key_map; member
41 u16 key_code = f3a->gpio_key_map[button]; in rmi_f3a_report_button()
86 if (f3a->gpio_key_map[i] != KEY_RESERVED) in rmi_f3a_attention()
134 f3a->gpio_key_map = devm_kcalloc(&fn->dev, in rmi_f3a_map_gpios()
136 sizeof(f3a->gpio_key_map[0]), in rmi_f3a_map_gpios()
138 if (!f3a->gpio_key_map) { in rmi_f3a_map_gpios()
150 f3a->gpio_key_map[i] = trackstick_button++; in rmi_f3a_map_gpios()
152 f3a->gpio_key_map[i] = button; in rmi_f3a_map_gpios()
157 input->keycode = f3a->gpio_key_map; in rmi_f3a_map_gpios()
158 input->keycodesize = sizeof(f3a->gpio_key_map[0]); in rmi_f3a_map_gpios()