Lines Matching refs:Mode
231 // Set the Serial I/O mode and update the device path
237 // Set the Serial I/O mode
239 This->Mode->ReceiveFifoDepth = PcdGet16 (PcdUartDefaultReceiveFifoDepth);
240 This->Mode->Timeout = 1000 * 1000;
241 This->Mode->BaudRate = PcdGet64 (PcdUartDefaultBaudRate);
242 This->Mode->DataBits = (UINT32) PcdGet8 (PcdUartDefaultDataBits);
243 This->Mode->Parity = (UINT32) PcdGet8 (PcdUartDefaultParity);
244 This->Mode->StopBits = (UINT32) PcdGet8 (PcdUartDefaultStopBits);
249 if (mSerialDevicePath.Uart.BaudRate == This->Mode->BaudRate &&
250 mSerialDevicePath.Uart.DataBits == (UINT8) This->Mode->DataBits &&
251 mSerialDevicePath.Uart.Parity == (UINT8) This->Mode->Parity &&
252 mSerialDevicePath.Uart.StopBits == (UINT8) This->Mode->StopBits
261 mSerialDevicePath.Uart.BaudRate = This->Mode->BaudRate;
262 mSerialDevicePath.Uart.DataBits = (UINT8) This->Mode->DataBits;
263 mSerialDevicePath.Uart.Parity = (UINT8) This->Mode->Parity;
264 mSerialDevicePath.Uart.StopBits = (UINT8) This->Mode->StopBits;
325 // Set the Serial I/O mode and update the device path
331 // Set the Serial I/O mode
333 This->Mode->ReceiveFifoDepth = ReceiveFifoDepth;
334 This->Mode->Timeout = Timeout;
335 This->Mode->BaudRate = BaudRate;
336 This->Mode->DataBits = (UINT32) DataBits;
337 This->Mode->Parity = (UINT32) Parity;
338 This->Mode->StopBits = (UINT32) StopBits;