Lines Matching refs:button
102 struct f30_data *f30, unsigned int button) in rmi_f30_report_button() argument
104 unsigned int reg_num = button >> 3; in rmi_f30_report_button()
105 unsigned int bit_num = button & 0x07; in rmi_f30_report_button()
106 u16 key_code = f30->gpioled_key_map[button]; in rmi_f30_report_button()
110 button >= TRACKSTICK_RANGE_START && in rmi_f30_report_button()
111 button <= TRACKSTICK_RANGE_END) { in rmi_f30_report_button()
210 static bool rmi_f30_is_valid_button(int button, struct rmi_f30_ctrl_data *ctrl) in rmi_f30_is_valid_button() argument
212 int byte_position = button >> 3; in rmi_f30_is_valid_button()
213 int bit_position = button & 0x07; in rmi_f30_is_valid_button()
229 unsigned int button = BTN_LEFT; in rmi_f30_map_gpios() local
252 f30->gpioled_key_map[i] = button; in rmi_f30_map_gpios()
253 input_set_capability(input, EV_KEY, button++); in rmi_f30_map_gpios()
267 if (pdata->gpio_data.buttonpad || (button - BTN_LEFT == 1)) in rmi_f30_map_gpios()