Searched refs:Mcr (Results 1 – 4 of 4) sorted by relevance
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/ |
D | SerialIo.c | 308 SERIAL_PORT_MCR Mcr; in SerialReceiveTransmit() local 338 Mcr.Data = READ_MCR (SerialDevice); in SerialReceiveTransmit() 339 Mcr.Bits.Rts = 1; in SerialReceiveTransmit() 340 WRITE_MCR (SerialDevice, Mcr.Data); in SerialReceiveTransmit() 375 Mcr.Data = READ_MCR (SerialDevice); in SerialReceiveTransmit() 376 Mcr.Bits.Rts = 0; in SerialReceiveTransmit() 377 WRITE_MCR (SerialDevice, Mcr.Data); in SerialReceiveTransmit() 402 Mcr.Data = READ_MCR (SerialDevice); in SerialReceiveTransmit() 403 Mcr.Bits.Rts= 0; in SerialReceiveTransmit() 404 WRITE_MCR (SerialDevice, Mcr.Data); in SerialReceiveTransmit() [all …]
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/SerialIoLib/ |
D | SerialPortLib.c | 244 UINT8 Mcr; in SerialPortSetControl() local 256 Mcr = IoRead8 ((UINT16) gUartBase + MCR_OFFSET); in SerialPortSetControl() 257 Mcr &= (~(MCR_DTRC | MCR_RTS)); in SerialPortSetControl() 260 Mcr |= MCR_DTRC; in SerialPortSetControl() 264 Mcr |= MCR_RTS; in SerialPortSetControl() 270 IoWrite8 ((UINT16) gUartBase + MCR_OFFSET, Mcr); in SerialPortSetControl() 292 UINT8 Mcr; in SerialPortGetControl() local 321 Mcr = IoRead8 ((UINT16) gUartBase + MCR_OFFSET); in SerialPortGetControl() 323 if ((Mcr & MCR_DTRC) == MCR_DTRC) { in SerialPortGetControl() 327 if ((Mcr & MCR_RTS) == MCR_RTS) { in SerialPortGetControl()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ |
D | Serial.c | 967 SERIAL_PORT_MCR Mcr; in IsaSerialReceiveTransmit() local 997 Mcr.Data = READ_MCR (SerialDevice->IsaIo, SerialDevice->BaseAddress); in IsaSerialReceiveTransmit() 998 Mcr.Bits.Rts = 1; in IsaSerialReceiveTransmit() 999 WRITE_MCR (SerialDevice->IsaIo, SerialDevice->BaseAddress, Mcr.Data); in IsaSerialReceiveTransmit() 1034 Mcr.Data = READ_MCR (SerialDevice->IsaIo, SerialDevice->BaseAddress); in IsaSerialReceiveTransmit() 1035 Mcr.Bits.Rts = 0; in IsaSerialReceiveTransmit() 1036 WRITE_MCR (SerialDevice->IsaIo, SerialDevice->BaseAddress, Mcr.Data); in IsaSerialReceiveTransmit() 1061 Mcr.Data = READ_MCR (SerialDevice->IsaIo, SerialDevice->BaseAddress); in IsaSerialReceiveTransmit() 1062 Mcr.Bits.Rts= 0; in IsaSerialReceiveTransmit() 1063 WRITE_MCR (SerialDevice->IsaIo, SerialDevice->BaseAddress, Mcr.Data); in IsaSerialReceiveTransmit() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSerialPortLib16550/ |
D | BaseSerialPortLib16550.c | 679 UINT8 Mcr; in SerialPortRead() local 690 Mcr = (UINT8)(SerialPortReadRegister (SerialRegisterBase, R_UART_MCR) & ~B_UART_MCR_RTS); in SerialPortRead() 701 SerialPortWriteRegister (SerialRegisterBase, R_UART_MCR, (UINT8)(Mcr | B_UART_MCR_RTS)); in SerialPortRead() 708 SerialPortWriteRegister (SerialRegisterBase, R_UART_MCR, Mcr); in SerialPortRead() 785 UINT8 Mcr; in SerialPortSetControl() local 803 Mcr = SerialPortReadRegister (SerialRegisterBase, R_UART_MCR); in SerialPortSetControl() 804 Mcr &= (~(B_UART_MCR_DTRC | B_UART_MCR_RTS)); in SerialPortSetControl() 807 Mcr |= B_UART_MCR_DTRC; in SerialPortSetControl() 811 Mcr |= B_UART_MCR_RTS; in SerialPortSetControl() 817 SerialPortWriteRegister (SerialRegisterBase, R_UART_MCR, Mcr); in SerialPortSetControl() [all …]
|