Lines Matching defs:Result
219 pub fn init(&self) -> Result<(), SystemError> { in init()
257 pub fn get_mouse_id(&self) -> Result<(), SystemError> { in get_mouse_id()
266 pub fn set_sample_rate(&self, hz: u8) -> Result<(), SystemError> { in set_sample_rate()
292 pub fn process_packet(&self) -> Result<(), SystemError> { in process_packet()
361 fn send_command_to_ps2mouse(&self, command: PsMouseCommand) -> Result<(), SystemError> { in send_command_to_ps2mouse()
367 fn do_send_command(&self, ctrl: u8, command: u8) -> Result<(), SystemError> { in do_send_command()
373 fn write_data_port(&self, data: u8) -> Result<(), SystemError> { in write_data_port()
381 fn write_control_port(&self, command: u8) -> Result<(), SystemError> { in write_control_port()
389 fn wait_for_read(&self) -> Result<(), SystemError> { in wait_for_read()
400 fn wait_for_write(&self) -> Result<(), SystemError> { in wait_for_write()
486 ) -> Result<(), system_error::SystemError> { in write()
493 ) -> Result<(), system_error::SystemError> { in open()
500 ) -> Result<(), system_error::SystemError> { in close()
507 ) -> Result<(), system_error::SystemError> { in start()
514 ) -> Result<(), system_error::SystemError> { in stop()
586 ) -> Result<(), SystemError> { in open()
592 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close()
649 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize()
656 pub fn rs_ps2_mouse_device_init(parent: Arc<dyn KObject>) -> Result<(), SystemError> { in rs_ps2_mouse_device_init()