Lines Matching full:dev1

205 				   struct input_dev *dev1);
207 struct input_dev *dev1);
209 struct input_dev *dev1);
211 struct input_dev *dev1);
221 static void alps_report_buttons(struct input_dev *dev1, struct input_dev *dev2, in alps_report_buttons() argument
231 dev = (dev2 && test_bit(BTN_LEFT, dev2->key)) ? dev2 : dev1; in alps_report_buttons()
234 dev = (dev2 && test_bit(BTN_RIGHT, dev2->key)) ? dev2 : dev1; in alps_report_buttons()
237 dev = (dev2 && test_bit(BTN_MIDDLE, dev2->key)) ? dev2 : dev1; in alps_report_buttons()
2988 struct input_dev *dev1) in alps_set_abs_params_st() argument
2990 input_set_abs_params(dev1, ABS_X, 0, priv->x_max, 0, 0); in alps_set_abs_params_st()
2991 input_set_abs_params(dev1, ABS_Y, 0, priv->y_max, 0, 0); in alps_set_abs_params_st()
2992 input_set_abs_params(dev1, ABS_PRESSURE, 0, 127, 0, 0); in alps_set_abs_params_st()
2996 struct input_dev *dev1) in alps_set_abs_params_mt_common() argument
2998 input_set_abs_params(dev1, ABS_MT_POSITION_X, 0, priv->x_max, 0, 0); in alps_set_abs_params_mt_common()
2999 input_set_abs_params(dev1, ABS_MT_POSITION_Y, 0, priv->y_max, 0, 0); in alps_set_abs_params_mt_common()
3001 input_abs_set_res(dev1, ABS_MT_POSITION_X, priv->x_res); in alps_set_abs_params_mt_common()
3002 input_abs_set_res(dev1, ABS_MT_POSITION_Y, priv->y_res); in alps_set_abs_params_mt_common()
3004 set_bit(BTN_TOOL_TRIPLETAP, dev1->keybit); in alps_set_abs_params_mt_common()
3005 set_bit(BTN_TOOL_QUADTAP, dev1->keybit); in alps_set_abs_params_mt_common()
3009 struct input_dev *dev1) in alps_set_abs_params_semi_mt() argument
3011 alps_set_abs_params_mt_common(priv, dev1); in alps_set_abs_params_semi_mt()
3012 input_set_abs_params(dev1, ABS_PRESSURE, 0, 127, 0, 0); in alps_set_abs_params_semi_mt()
3014 input_mt_init_slots(dev1, MAX_TOUCHES, in alps_set_abs_params_semi_mt()
3020 struct input_dev *dev1) in alps_set_abs_params_v7() argument
3022 alps_set_abs_params_mt_common(priv, dev1); in alps_set_abs_params_v7()
3023 set_bit(BTN_TOOL_QUINTTAP, dev1->keybit); in alps_set_abs_params_v7()
3025 input_mt_init_slots(dev1, MAX_TOUCHES, in alps_set_abs_params_v7()
3029 set_bit(BTN_TOOL_QUINTTAP, dev1->keybit); in alps_set_abs_params_v7()
3033 struct input_dev *dev1) in alps_set_abs_params_ss4_v2() argument
3035 alps_set_abs_params_mt_common(priv, dev1); in alps_set_abs_params_ss4_v2()
3036 input_set_abs_params(dev1, ABS_PRESSURE, 0, 127, 0, 0); in alps_set_abs_params_ss4_v2()
3037 set_bit(BTN_TOOL_QUINTTAP, dev1->keybit); in alps_set_abs_params_ss4_v2()
3039 input_mt_init_slots(dev1, MAX_TOUCHES, in alps_set_abs_params_ss4_v2()
3047 struct input_dev *dev1 = psmouse->dev; in alps_init() local
3058 __clear_bit(EV_REL, dev1->evbit); in alps_init()
3059 __clear_bit(REL_X, dev1->relbit); in alps_init()
3060 __clear_bit(REL_Y, dev1->relbit); in alps_init()
3065 dev1->evbit[BIT_WORD(EV_KEY)] |= BIT_MASK(EV_KEY); in alps_init()
3066 dev1->keybit[BIT_WORD(BTN_TOUCH)] |= BIT_MASK(BTN_TOUCH); in alps_init()
3067 dev1->keybit[BIT_WORD(BTN_TOOL_FINGER)] |= BIT_MASK(BTN_TOOL_FINGER); in alps_init()
3068 dev1->keybit[BIT_WORD(BTN_LEFT)] |= in alps_init()
3071 dev1->evbit[BIT_WORD(EV_ABS)] |= BIT_MASK(EV_ABS); in alps_init()
3073 priv->set_abs_params(priv, dev1); in alps_init()
3076 dev1->evbit[BIT_WORD(EV_REL)] |= BIT_MASK(EV_REL); in alps_init()
3077 dev1->relbit[BIT_WORD(REL_WHEEL)] |= BIT_MASK(REL_WHEEL); in alps_init()
3081 dev1->keybit[BIT_WORD(BTN_FORWARD)] |= BIT_MASK(BTN_FORWARD); in alps_init()
3082 dev1->keybit[BIT_WORD(BTN_BACK)] |= BIT_MASK(BTN_BACK); in alps_init()
3086 dev1->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_0); in alps_init()
3087 dev1->keybit[BIT_WORD(BTN_1)] |= BIT_MASK(BTN_1); in alps_init()
3088 dev1->keybit[BIT_WORD(BTN_2)] |= BIT_MASK(BTN_2); in alps_init()
3089 dev1->keybit[BIT_WORD(BTN_3)] |= BIT_MASK(BTN_3); in alps_init()
3091 set_bit(INPUT_PROP_BUTTONPAD, dev1->propbit); in alps_init()
3092 clear_bit(BTN_RIGHT, dev1->keybit); in alps_init()
3094 dev1->keybit[BIT_WORD(BTN_MIDDLE)] |= BIT_MASK(BTN_MIDDLE); in alps_init()