Home
last modified time | relevance | path

Searched defs:usb (Results 1 – 12 of 12) sorted by relevance

/system/core/fastboot/
Dprotocol.c50 static int check_response(usb_handle *usb, unsigned int size, char *response) in check_response()
109 static int _command_start(usb_handle *usb, const char *cmd, unsigned size, in _command_start()
133 static int _command_data(usb_handle *usb, const void *data, unsigned size) in _command_data()
152 static int _command_end(usb_handle *usb) in _command_end()
162 static int _command_send(usb_handle *usb, const char *cmd, in _command_send()
189 static int _command_send_no_data(usb_handle *usb, const char *cmd, in _command_send_no_data()
197 int fb_command(usb_handle *usb, const char *cmd) in fb_command()
202 int fb_command_response(usb_handle *usb, const char *cmd, char *response) in fb_command_response()
207 int fb_download_data(usb_handle *usb, const void *data, unsigned size) in fb_download_data()
229 usb_handle *usb = priv; in fb_download_data_sparse_write() local
[all …]
Dusbtest.c89 int test_null(usb_handle *usb) in test_null()
108 int test_zero(usb_handle *usb) in test_zero()
180 usb_handle *usb; in main() local
Dfastboot.c70 static usb_handle *usb = 0; variable
268 static usb_handle *usb = 0; in open_device() local
569 static int64_t get_target_sparse_limit(struct usb_handle *usb) in get_target_sparse_limit()
586 static int64_t get_sparse_limit(struct usb_handle *usb, int64_t size) in get_sparse_limit()
624 static int load_buf_fd(usb_handle *usb, int fd, in load_buf_fd()
655 static int load_buf(usb_handle *usb, const char *fname, in load_buf()
688 void do_flash(usb_handle *usb, const char *pname, const char *fname) in do_flash()
708 void do_update(usb_handle *usb, char *fn, int erase_first) in do_update()
786 void do_flashall(usb_handle *usb, int erase_first) in do_flashall()
Dengine.c113 int fb_getvar(struct usb_handle *usb, char *response, const char *fmt, ...) in fb_getvar()
153 int fb_format_supported(usb_handle *usb, const char *partition) in fb_format_supported()
299 int fb_format(Action *a, usb_handle *usb, int skip_if_not_supported) in fb_format()
576 int fb_execute_queue(usb_handle *usb) in fb_execute_queue()
Dusb_linux.c246 usb_handle *usb = 0; in find_usb_device() local
/system/core/adb/
Dusb_libusb.c332 struct usb_handle *usb= NULL; in register_device() local
358 struct usb_handle *usb= NULL; in already_registered() local
562 struct usb_handle *usb= NULL; in kick_disconnected() local
Dusb_linux.c87 usb_handle *usb; in known_device() local
104 usb_handle *usb; in kick_disconnected_devices() local
564 usb_handle* usb = 0; in register_device() local
Dusb_linux_client.c151 struct usb_handle *usb = (struct usb_handle *)x; in usb_adb_open_thread() local
318 struct usb_handle *usb = (struct usb_handle *)x; in usb_ffs_open_thread() local
Dusb_windows.c117 usb_handle* usb; in known_device_locked() local
Dtransport.c1099 void register_usb_transport(usb_handle *usb, const char *serial, const char *devpath, unsigned writ… in register_usb_transport()
1123 void unregister_usb_transport(usb_handle *usb) in unregister_usb_transport()
Dadb.h188 usb_handle *usb; member
Dadb.c1342 int usb = 0; in adb_main() local