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