Lines Matching refs:req
676 static void leds_done(struct adb_request *req) in leds_done() argument
752 struct adb_request req; in mackeyb_probe() local
766 adb_request(&req, NULL, ADBREQ_SYNC, 3, in mackeyb_probe()
832 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in mackeyb_probe()
835 if ((req.reply_len) && in mackeyb_probe()
836 (req.reply[1] == 0x9a) && ((req.reply[2] == 0x21) in mackeyb_probe()
837 || (req.reply[2] == 0x20))) in mackeyb_probe()
839 else if ((req.reply_len >= 4) && in mackeyb_probe()
840 (req.reply[1] == 0x74) && (req.reply[2] == 0x70) && in mackeyb_probe()
841 (req.reply[3] == 0x61) && (req.reply[4] == 0x64)) in mackeyb_probe()
843 else if ((req.reply_len >= 4) && in mackeyb_probe()
844 (req.reply[1] == 0x4b) && (req.reply[2] == 0x4d) && in mackeyb_probe()
845 (req.reply[3] == 0x4c) && (req.reply[4] == 0x31)) in mackeyb_probe()
847 else if ((req.reply_len == 9) && in mackeyb_probe()
848 (req.reply[1] == 0x4b) && (req.reply[2] == 0x4f) && in mackeyb_probe()
849 (req.reply[3] == 0x49) && (req.reply[4] == 0x54)){ in mackeyb_probe()
863 struct adb_request req; in init_trackpad() local
870 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in init_trackpad()
872 if (req.reply_len < 8) in init_trackpad()
876 memcpy(r1_buffer, &req.reply[1], 8); in init_trackpad()
877 adb_request(&req, NULL, ADBREQ_SYNC, 9, in init_trackpad()
888 adb_request(&req, NULL, ADBREQ_SYNC, 9, in init_trackpad()
899 adb_request(&req, NULL, ADBREQ_SYNC, 9, in init_trackpad()
911 adb_request(&req, NULL, ADBREQ_SYNC, 1, ADB_FLUSH(id)); in init_trackpad()
918 struct adb_request req; in init_trackball() local
924 adb_request(&req, NULL, ADBREQ_SYNC, 3, in init_trackball()
927 adb_request(&req, NULL, ADBREQ_SYNC, 3, in init_trackball()
930 adb_request(&req, NULL, ADBREQ_SYNC, 3, in init_trackball()
933 adb_request(&req, NULL, ADBREQ_SYNC, 3, in init_trackball()
936 adb_request(&req, NULL, ADBREQ_SYNC, 3, in init_trackball()
939 adb_request(&req, NULL, ADBREQ_SYNC, 3, in init_trackball()
942 adb_request(&req, NULL, ADBREQ_SYNC, 3, in init_trackball()
945 adb_request(&req, NULL, ADBREQ_SYNC, 3, in init_trackball()
952 struct adb_request req; in init_turbomouse() local
958 adb_request(&req, NULL, ADBREQ_SYNC, 1, ADB_FLUSH(id)); in init_turbomouse()
960 adb_request(&req, NULL, ADBREQ_SYNC, 1, ADB_FLUSH(3)); in init_turbomouse()
962 adb_request(&req, NULL, ADBREQ_SYNC, 9, in init_turbomouse()
973 adb_request(&req, NULL, ADBREQ_SYNC, 1, ADB_FLUSH(3)); in init_turbomouse()
975 adb_request(&req, NULL, ADBREQ_SYNC, 9, in init_turbomouse()
990 struct adb_request req; in init_microspeed() local
994 adb_request(&req, NULL, ADBREQ_SYNC, 1, ADB_FLUSH(id)); in init_microspeed()
1016 adb_request(&req, NULL, ADBREQ_SYNC, 5, in init_microspeed()
1024 adb_request(&req, NULL, ADBREQ_SYNC, 1, ADB_FLUSH(id)); in init_microspeed()
1030 struct adb_request req; in init_ms_a3() local
1033 adb_request(&req, NULL, ADBREQ_SYNC, 3, in init_ms_a3()
1038 adb_request(&req, NULL, ADBREQ_SYNC, 1, ADB_FLUSH(id)); in init_ms_a3()