Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs51 const ADDRESS_PORT_ADDRESS: u16 = 0x64; constant
347 let cmd = unsafe { CurrentPortIOArch::in8(ADDRESS_PORT_ADDRESS) }; in read_data_port()
380 CurrentPortIOArch::out8(ADDRESS_PORT_ADDRESS, command); in write_control_port()
389 let value = unsafe { CurrentPortIOArch::in8(ADDRESS_PORT_ADDRESS) }; in wait_for_read()
400 let value = unsafe { CurrentPortIOArch::in8(ADDRESS_PORT_ADDRESS) }; in wait_for_write()