Home
last modified time | relevance | path

Searched refs:error_other (Results 1 - 5 of 5) sorted by relevance

/developtools/hdc/hdc_rust/src/transfer/
H A Dusb.rs84 return Err(utils::error_other("cannot access usb path".to_string())); in usb_init()
89 return Err(utils::error_other("cannot open usb ep0".to_string())); in usb_init()
94 return Err(utils::error_other("cannot open usb ep1".to_string())); in usb_init()
99 return Err(utils::error_other("cannot open usb ep2".to_string())); in usb_init()
140 utils::error_other( in read_frame()
158 Err(utils::error_other("usb read error".to_string())) in read_frame()
187 Err(utils::error_other("usb write failed".to_string())) in usb_write_all()
203 Err(utils::error_other("usb write failed".to_string())) in write_all()
H A Duart.rs60 return Err(utils::error_other("cannot access uart node".to_string())); in uart_init()
64 return Err(utils::error_other("cannot open uart node".to_string())); in uart_init()
74 return Err(utils::error_other("set uart config failed".to_string())); in uart_init()
167 Err(utils::error_other("uart write failed".to_string())) in write_all()
/developtools/hdc/hdc_rust/src/daemon_lib/
H A Dbridge.rs109 return Err(utils::error_other("bridge read error".to_string())); in read_frame()
128 Err(utils::error_other("usb write failed".to_string())) in write_all()
/developtools/hdc/hdc_rust/src/
H A Dutils.rs67 pub fn error_other(msg: String) -> Error { in error_other() functions
/developtools/hdc/hdc_rust/src/host_transfer/
H A Dhost_usb.rs156 return Err(utils::error_other("usb read error".to_string())); in read_frame()
188 Err(utils::error_other("usb write failed".to_string())) in write_all()

Completed in 4 milliseconds