Lines Matching +full:device +full:- +full:select
15 /// An instance of the virtio device represents one such input device.
16 /// Device behavior mirrors that of the evdev layer in Linux,
17 /// making pass-through implementations on top of evdev easy.
27 /// Create a new VirtIO-Input driver.
28 pub fn new(mut transport: T) -> Result<Self> { in new()
68 pub fn ack_interrupt(&mut self) -> bool { in ack_interrupt()
73 pub fn pop_pending_event(&mut self) -> Option<InputEvent> { in pop_pending_event()
101 /// Query a specific piece of information by `select` and `subsel`, and write
105 select: InputConfigSelect, in query_config_select()
108 ) -> u8 { in query_config_select()
113 volwrite!(self.config, select, select as u8); in query_config_select()
137 // Clear any pointers pointing to DMA regions, so the device doesn't try to access them in drop()
144 /// Select value used for [`VirtIOInput::query_config_select()`].
148 /// Returns the name of the device, in u.string. subsel is zero.
150 /// Returns the serial number of the device, in u.string. subsel is zero.
152 /// Returns ID information of the device, in u.ids. subsel is zero.
154 /// Returns input properties of the device, in u.bitmap. subsel is zero.
159 /// evdev implementation. If size is non-zero the event type is supported
161 /// bits in the bitmap correspond to implementation-defined input event codes,
162 /// for example keys or pointing device axes.
171 select: WriteOnly<u8>, field