Lines Matching refs:NewTerminalContext
125 BM_TERMINAL_CONTEXT *NewTerminalContext; in ChangeTerminalDevicePath() local
139 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in ChangeTerminalDevicePath()
144 &NewTerminalContext->BaudRate, in ChangeTerminalDevicePath()
150 &NewTerminalContext->DataBits, in ChangeTerminalDevicePath()
156 &NewTerminalContext->Parity, in ChangeTerminalDevicePath()
162 &NewTerminalContext->StopBits, in ChangeTerminalDevicePath()
169 Node1 = NewTerminalContext->DevicePath; in ChangeTerminalDevicePath()
176 &NewTerminalContext->BaudRate, in ChangeTerminalDevicePath()
182 &NewTerminalContext->DataBits, in ChangeTerminalDevicePath()
188 &NewTerminalContext->Parity, in ChangeTerminalDevicePath()
194 &NewTerminalContext->StopBits, in ChangeTerminalDevicePath()
235 BM_TERMINAL_CONTEXT *NewTerminalContext; in ChangeVariableDevicePath() local
253 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in ChangeVariableDevicePath()
257 &NewTerminalContext->BaudRate, in ChangeVariableDevicePath()
263 &NewTerminalContext->DataBits, in ChangeVariableDevicePath()
269 &NewTerminalContext->Parity, in ChangeVariableDevicePath()
275 &NewTerminalContext->StopBits, in ChangeVariableDevicePath()
422 BM_TERMINAL_CONTEXT *NewTerminalContext; in LocateSerialIo() local
479 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in LocateSerialIo()
481 NewTerminalContext->DevicePath = DuplicateDevicePath (DevicePath); in LocateSerialIo()
506 &NewTerminalContext->BaudRate, in LocateSerialIo()
512 &NewTerminalContext->DataBits, in LocateSerialIo()
518 &NewTerminalContext->Parity, in LocateSerialIo()
524 &NewTerminalContext->StopBits, in LocateSerialIo()
560 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in LocateSerialIo()
562 NewTerminalContext->TerminalType = 0; in LocateSerialIo()
563 NewTerminalContext->IsConIn = FALSE; in LocateSerialIo()
564 NewTerminalContext->IsConOut = FALSE; in LocateSerialIo()
565 NewTerminalContext->IsStdErr = FALSE; in LocateSerialIo()
574 NewTerminalContext->DevicePath, in LocateSerialIo()
591 NewTerminalContext->IsConOut = TRUE; in LocateSerialIo()
592 NewTerminalContext->TerminalType = (UINT8) Index2; in LocateSerialIo()
596 NewTerminalContext->IsConIn = TRUE; in LocateSerialIo()
597 NewTerminalContext->TerminalType = (UINT8) Index2; in LocateSerialIo()
601 NewTerminalContext->IsStdErr = TRUE; in LocateSerialIo()
602 NewTerminalContext->TerminalType = (UINT8) Index2; in LocateSerialIo()
630 BM_TERMINAL_CONTEXT *NewTerminalContext; in UpdateComAttributeFromVariable() local
650 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in UpdateComAttributeFromVariable()
652 &NewTerminalContext->BaudRate, in UpdateComAttributeFromVariable()
658 &NewTerminalContext->DataBits, in UpdateComAttributeFromVariable()
664 &NewTerminalContext->Parity, in UpdateComAttributeFromVariable()
670 &NewTerminalContext->StopBits, in UpdateComAttributeFromVariable()
675 SerialNode = NewTerminalContext->DevicePath; in UpdateComAttributeFromVariable()
686 &NewTerminalContext->BaudRate, in UpdateComAttributeFromVariable()
692 &NewTerminalContext->DataBits, in UpdateComAttributeFromVariable()
697 &NewTerminalContext->Parity, in UpdateComAttributeFromVariable()
702 &NewTerminalContext->StopBits, in UpdateComAttributeFromVariable()
1117 BM_TERMINAL_CONTEXT *NewTerminalContext; in GetTerminalAttribute() local
1127 NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext; in GetTerminalAttribute()
1129 if (NewTerminalContext->BaudRate == (UINT64) (BaudRateList[AttributeIndex].Value)) { in GetTerminalAttribute()
1130 NewTerminalContext->BaudRateIndex = AttributeIndex; in GetTerminalAttribute()
1135 if (NewTerminalContext->DataBits == (UINT64) (DataBitsList[AttributeIndex].Value)) { in GetTerminalAttribute()
1136 NewTerminalContext->DataBitsIndex = AttributeIndex; in GetTerminalAttribute()
1142 if (NewTerminalContext->Parity == (UINT64) (ParityList[AttributeIndex].Value)) { in GetTerminalAttribute()
1143 NewTerminalContext->ParityIndex = AttributeIndex; in GetTerminalAttribute()
1149 if (NewTerminalContext->StopBits == (UINT64) (StopBitsList[AttributeIndex].Value)) { in GetTerminalAttribute()
1150 NewTerminalContext->StopBitsIndex = AttributeIndex; in GetTerminalAttribute()
1154 CurrentFakeNVMap->COMBaudRate[TerminalIndex] = NewTerminalContext->BaudRateIndex; in GetTerminalAttribute()
1155 CurrentFakeNVMap->COMDataRate[TerminalIndex] = NewTerminalContext->DataBitsIndex; in GetTerminalAttribute()
1156 CurrentFakeNVMap->COMStopBits[TerminalIndex] = NewTerminalContext->StopBitsIndex; in GetTerminalAttribute()
1157 CurrentFakeNVMap->COMParity[TerminalIndex] = NewTerminalContext->ParityIndex; in GetTerminalAttribute()
1158 CurrentFakeNVMap->COMTerminalType[TerminalIndex] = NewTerminalContext->TerminalType; in GetTerminalAttribute()
1159 CurrentFakeNVMap->COMFlowControl[TerminalIndex] = NewTerminalContext->FlowControl; in GetTerminalAttribute()