Searched refs:thandle (Results 1 - 4 of 4) sorted by relevance
/system/core/fastbootd/ |
H A D | transport.c | 30 ssize_t transport_handle_write(struct transport_handle *thandle, char *buffer, size_t len) argument 32 return thandle->transport->write(thandle, buffer, len); 35 void transport_handle_close(struct transport_handle *thandle) argument 37 thandle->transport->close(thandle); 40 int transport_handle_download(struct transport_handle *thandle, size_t len) argument 64 ret = thandle->transport->read(thandle, buffer + n, len - n); 81 transport_handle_close(thandle); 87 struct transport_handle *thandle = arg; local 116 struct transport_handle *thandle; local [all...] |
H A D | transport.h | 30 void (*close)(struct transport_handle *thandle); 31 ssize_t (*read)(struct transport_handle *thandle, void *data, size_t len); 32 ssize_t (*write)(struct transport_handle *thandle, const void *data, size_t len);
|
H A D | usb_linux_client.c | 235 static ssize_t usb_write(struct transport_handle *thandle, const void *data, size_t len) argument 238 struct transport *t = thandle->transport; 275 ssize_t usb_read(struct transport_handle *thandle, void *data, size_t len) argument 278 struct transport *t = thandle->transport; 291 void usb_close(struct transport_handle *thandle) argument 294 struct transport *t = thandle->transport;
|
H A D | protocol.c | 170 struct protocol_handle *create_protocol_handle(struct transport_handle *thandle) argument 176 phandle->transport_handle = thandle;
|
Completed in 429 milliseconds