Lines Matching refs:adb_request
113 static void printADBreply(struct adb_request *req)
129 struct adb_request req; in adb_scan_bus()
134 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus()
153 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus()
160 adb_request(&req, NULL, ADBREQ_SYNC, 3, in adb_scan_bus()
168 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus()
175 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus()
198 adb_request(&req, NULL, ADBREQ_SYNC, 3, in adb_scan_bus()
209 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in adb_scan_bus()
412 static void adb_sync_req_done(struct adb_request *req) in adb_sync_req_done()
420 adb_request(struct adb_request *req, void (*done)(struct adb_request *), in adb_request() argument
460 EXPORT_SYMBOL(adb_request);
557 struct adb_request req; in try_handler_change()
561 adb_request(&req, NULL, ADBREQ_SYNC, 3, in try_handler_change()
563 adb_request(&req, NULL, ADBREQ_SYNC | ADBREQ_REPLY, 1, in try_handler_change()
609 struct adb_request *completed;
614 static void adb_write_done(struct adb_request *req) in adb_write_done()
633 struct adb_request **ap = &state->completed; in adb_write_done()
644 do_adb_query(struct adb_request *req) in do_adb_query()
719 struct adb_request *req; in adb_read()
777 struct adb_request *req; in adb_write()
784 req = kmalloc(sizeof(struct adb_request), in adb_write()