Lines Matching defs:Result

215     pub fn init(&self) -> Result<(), SystemError> {  in init()
253 pub fn get_mouse_id(&self) -> Result<(), SystemError> { in get_mouse_id()
262 pub fn set_sample_rate(&self, hz: u8) -> Result<(), SystemError> { in set_sample_rate()
288 pub fn process_packet(&self) -> Result<(), SystemError> { in process_packet()
357 fn send_command_to_ps2mouse(&self, command: PsMouseCommand) -> Result<(), SystemError> { in send_command_to_ps2mouse()
363 fn do_send_command(&self, ctrl: u8, command: u8) -> Result<(), SystemError> { in do_send_command()
369 fn write_data_port(&self, data: u8) -> Result<(), SystemError> { in write_data_port()
377 fn write_control_port(&self, command: u8) -> Result<(), SystemError> { in write_control_port()
386 fn wait_for_read(&self) -> Result<(), SystemError> { in wait_for_read()
397 fn wait_for_write(&self) -> Result<(), SystemError> { in wait_for_write()
496 ) -> Result<(), system_error::SystemError> { in write()
503 ) -> Result<(), system_error::SystemError> { in open()
510 ) -> Result<(), system_error::SystemError> { in close()
517 ) -> Result<(), system_error::SystemError> { in start()
524 ) -> Result<(), system_error::SystemError> { in stop()
596 ) -> Result<(), SystemError> { in open()
602 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
659 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize()
670 pub fn rs_ps2_mouse_device_init(dev_parent: Arc<dyn Device>) -> Result<(), SystemError> { in rs_ps2_mouse_device_init()