Lines Matching +full:0 +full:xf3
113 static unsigned char mousedev_imps_seq[] = { 0xf3, 200, 0xf3, 100, 0xf3, 80 };
114 static unsigned char mousedev_imex_seq[] = { 0xf3, 200, 0xf3, 200, 0xf3, 80 };
133 fx(0) = value; in mousedev_touchpad_event()
137 if (size == 0) in mousedev_touchpad_event()
149 fy(0) = value; in mousedev_touchpad_event()
154 if (size == 0) in mousedev_touchpad_event()
179 if (size == 0) in mousedev_abs_event()
193 if (size == 0) in mousedev_abs_event()
231 case BTN_LEFT: index = 0; break; in mousedev_key_event()
267 int wake_readers = 0; in mousedev_notify_readers()
280 memset(p, 0, sizeof(struct mousedev_motion)); in mousedev_notify_readers()
292 client->pos_x = clamp_val(client->pos_x, 0, xres); in mousedev_notify_readers()
295 client->pos_y = clamp_val(client->pos_y, 0, yres); in mousedev_notify_readers()
327 * We rely on the fact that mousedev_mix always has 0 in mousedev_touchpad_touch()
330 set_bit(0, &mousedev->packet.buttons); in mousedev_touchpad_touch()
331 set_bit(0, &mousedev_mix->packet.buttons); in mousedev_touchpad_touch()
335 clear_bit(0, &mousedev->packet.buttons); in mousedev_touchpad_touch()
336 clear_bit(0, &mousedev_mix->packet.buttons); in mousedev_touchpad_touch()
338 mousedev->touch = mousedev->pkt_count = 0; in mousedev_touchpad_touch()
339 mousedev->frac_dx = 0; in mousedev_touchpad_touch()
340 mousedev->frac_dy = 0; in mousedev_touchpad_touch()
389 fx(0) = fx(1); in mousedev_event()
390 fy(0) = fy(1); in mousedev_event()
397 mousedev->packet.dz = 0; in mousedev_event()
398 mousedev->packet.abs_event = 0; in mousedev_event()
476 return 0; in mixdev_open_devices()
530 return 0; in mousedev_release()
563 return 0; in mousedev_open()
582 ps2_data[0] = BIT(3); in mousedev_packet()
583 ps2_data[0] |= ((dx & BIT(7)) >> 3) | ((dy & BIT(7)) >> 2); in mousedev_packet()
584 ps2_data[0] |= p->buttons & 0x07; in mousedev_packet()
593 ps2_data[3] = (dz & 0x0f) | ((p->buttons & 0x18) << 1); in mousedev_packet()
601 ps2_data[0] |= ((p->buttons & 0x10) >> 3) | in mousedev_packet()
602 ((p->buttons & 0x08) >> 1); in mousedev_packet()
610 p->dz = 0; in mousedev_packet()
612 ps2_data[0] |= ((p->buttons & 0x10) >> 3) | in mousedev_packet()
613 ((p->buttons & 0x08) >> 1); in mousedev_packet()
621 client->ready = 0; in mousedev_packet()
631 client->ps2[0] = 0xfa; /* ACK */ in mousedev_generate_response()
635 case 0xeb: /* Poll */ in mousedev_generate_response()
640 case 0xf2: /* Get ID */ in mousedev_generate_response()
643 client->ps2[1] = 0; in mousedev_generate_response()
655 case 0xe9: /* Get info */ in mousedev_generate_response()
656 client->ps2[1] = 0x60; client->ps2[2] = 3; client->ps2[3] = 200; in mousedev_generate_response()
660 case 0xff: /* Reset */ in mousedev_generate_response()
661 client->impsseq = client->imexseq = 0; in mousedev_generate_response()
663 client->ps2[1] = 0xaa; client->ps2[2] = 0x00; in mousedev_generate_response()
681 for (i = 0; i < count; i++) { in mousedev_write()
690 client->imexseq = 0; in mousedev_write()
694 client->imexseq = 0; in mousedev_write()
698 client->impsseq = 0; in mousedev_write()
702 client->impsseq = 0; in mousedev_write()
722 int retval = 0; in mousedev_read()
830 if (minor < 0) in mousedev_reserve_minor()
835 if (minor < 0) in mousedev_reserve_minor()
851 if (minor < 0) { in mousedev_create()
867 mixdev ? SINGLE_DEPTH_NESTING : 0); in mousedev_create()
991 return 0; in mousedev_connect()
1114 return 0; in mousedev_init()