Home
last modified time | relevance | path

Searched refs:set_state (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dplatform_device.rs24 fn set_state(&self, set_state: DeviceState); in set_state() method
Dmod.rs166 device.set_state(DeviceState::Initialized) in driver_match_device()
195 device.set_state(DeviceState::Initialized); in device_match_driver()
304 fn set_state(&self, set_state: BusState) { in set_state() method
306 *state = set_state; in set_state()
393 platform_device.set_state(BusState::Initialized); in platform_bus_init()
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs143 fn set_state(&self, set_state: DeviceState) { in set_state() method
145 *state = set_state; in set_state()
465 UART_DEV.set_state(DeviceState::Initialized); in uart_init()