/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL011Uart/ |
D | PL011Uart.c | 265 IN UINT32 Control in PL011UartSetControl() argument 270 if (Control & (mInvalidControlBits)) { in PL011UartSetControl() 276 if (Control & EFI_SERIAL_REQUEST_TO_SEND) { in PL011UartSetControl() 282 if (Control & EFI_SERIAL_DATA_TERMINAL_READY) { in PL011UartSetControl() 288 if (Control & EFI_SERIAL_HARDWARE_LOOPBACK_ENABLE) { in PL011UartSetControl() 294 if (Control & EFI_SERIAL_HARDWARE_FLOW_CONTROL_ENABLE) { in PL011UartSetControl() 342 OUT UINT32 *Control in PL011UartGetControl() argument 352 *Control = 0; in PL011UartGetControl() 355 *Control |= EFI_SERIAL_CLEAR_TO_SEND; in PL011UartGetControl() 359 *Control |= EFI_SERIAL_DATA_SET_READY; in PL011UartGetControl() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserProfileManagerDxe/ |
D | ModifyAccessPolicy.c | 30 EFI_USER_INFO_ACCESS_CONTROL Control; in SaveAccessPolicy() local 50 Control.Type = mAccessInfo.AccessRight; in SaveAccessPolicy() 51 Control.Size = (UINT32) Size; in SaveAccessPolicy() 52 CopyMem (mUserInfo.AccessPolicy + OffSet, &Control, sizeof (Control)); in SaveAccessPolicy() 53 OffSet += sizeof (Control); in SaveAccessPolicy() 63 Control.Type = EFI_USER_INFO_ACCESS_SETUP; in SaveAccessPolicy() 64 Control.Size = (UINT32) Size; in SaveAccessPolicy() 65 CopyMem (mUserInfo.AccessPolicy + OffSet, &Control, sizeof (Control)); in SaveAccessPolicy() 66 OffSet += sizeof (Control); in SaveAccessPolicy() 85 Control.Type = EFI_USER_INFO_ACCESS_BOOT_ORDER; in SaveAccessPolicy() [all …]
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/SerialIoLib/ |
D | SerialPortLib.c | 241 IN UINT32 Control in SerialPortSetControl() argument 249 if ((Control & (~(EFI_SERIAL_REQUEST_TO_SEND | EFI_SERIAL_DATA_TERMINAL_READY))) != 0) { in SerialPortSetControl() 259 if ((Control & EFI_SERIAL_DATA_TERMINAL_READY) == EFI_SERIAL_DATA_TERMINAL_READY) { in SerialPortSetControl() 263 if ((Control & EFI_SERIAL_REQUEST_TO_SEND) == EFI_SERIAL_REQUEST_TO_SEND) { in SerialPortSetControl() 288 OUT UINT32 *Control in SerialPortGetControl() argument 295 *Control = 0; in SerialPortGetControl() 303 *Control |= EFI_SERIAL_CLEAR_TO_SEND; in SerialPortGetControl() 307 *Control |= EFI_SERIAL_DATA_SET_READY; in SerialPortGetControl() 311 *Control |= EFI_SERIAL_RING_INDICATE; in SerialPortGetControl() 315 *Control |= EFI_SERIAL_CARRIER_DETECT; in SerialPortGetControl() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
D | IScsiIbft.c | 56 EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE *Control; in IScsiInitControlSection() local 59 Control = (EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE *) (Table + 1); in IScsiInitControlSection() 61 Control->Header.StructureId = EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE_ID; in IScsiInitControlSection() 62 Control->Header.Version = EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE_VERSION; in IScsiInitControlSection() 63 …Control->Header.Length = (UINT16) sizeof (EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTUR… in IScsiInitControlSection() 73 Control->Header.Flags = 0; in IScsiInitControlSection() 88 Control->Header.Length = (UINT16) (Control->Header.Length + (NumOffset - 4) * sizeof (UINT16)); in IScsiInitControlSection() 132 EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE *Control; in IScsiFillInitiatorSection() local 135 Control = (EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE *) (Table + 1); in IScsiFillInitiatorSection() 141 ((UINT8 *) Control + IBFT_ROUNDUP (Control->Header.Length)); in IScsiFillInitiatorSection() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
D | IScsiIbft.c | 58 EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE *Control; in IScsiInitControlSection() local 61 Control = (EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE *) (Table + 1); in IScsiInitControlSection() 63 ZeroMem (Control, sizeof (EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE)); in IScsiInitControlSection() 65 Control->Header.StructureId = EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE_ID; in IScsiInitControlSection() 66 Control->Header.Version = EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE_VERSION; in IScsiInitControlSection() 67 …Control->Header.Length = (UINT16) sizeof (EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTUR… in IScsiInitControlSection() 79 Control->Header.Length = (UINT16) (Control->Header.Length + (NumOffset - 4) * sizeof (UINT16)); in IScsiInitControlSection() 121 EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE *Control; in IScsiFillInitiatorSection() local 128 Control = (EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE *) (Table + 1); in IScsiFillInitiatorSection() 133 …_ISCSI_BOOT_FIRMWARE_TABLE_INITIATOR_STRUCTURE *) ((UINT8 *) Control + IBFT_ROUNDUP (Control->Head… in IScsiFillInitiatorSection() [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/ |
D | DxeEmuSerialPortLib.c | 132 IN UINT32 Control in SerialPortSetControl() argument 151 OUT UINT32 *Control in SerialPortGetControl() argument 154 *Control = 0; in SerialPortGetControl() 156 *Control = EFI_SERIAL_INPUT_BUFFER_EMPTY; in SerialPortGetControl()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/ |
D | OhciReg.c | 234 HcCONTROL Control; in OhciSetHcControl() local 238 *(UINT32 *) &Control = OhciGetOperationalReg (Ohc, HC_CONTROL); in OhciSetHcControl() 241 Control.ControlBulkRatio = Value; in OhciSetHcControl() 245 Control.FunctionalState = Value; in OhciSetHcControl() 249 Control.PeriodicEnable = Value; in OhciSetHcControl() 253 Control.ControlEnable = Value; in OhciSetHcControl() 257 Control.IsochronousEnable = Value; in OhciSetHcControl() 261 Control.BulkEnable = Value; in OhciSetHcControl() 265 Control.InterruptRouting = Value; in OhciSetHcControl() 268 Status = OhciSetOperationalReg (Ohc, HC_CONTROL, (UINT32*)&Control); in OhciSetHcControl() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/ |
D | SerialIo.c | 470 UINT32 Control; in SerialReset() local 554 Control = 0; in SerialReset() 556 Control |= EFI_SERIAL_HARDWARE_FLOW_CONTROL_ENABLE; in SerialReset() 559 Control |= EFI_SERIAL_SOFTWARE_LOOPBACK_ENABLE; in SerialReset() 563 Control in SerialReset() 805 IN UINT32 Control in SerialSetControl() argument 827 if ((Control & (~(EFI_SERIAL_REQUEST_TO_SEND | EFI_SERIAL_DATA_TERMINAL_READY | in SerialSetControl() 842 if ((Control & EFI_SERIAL_DATA_TERMINAL_READY) == EFI_SERIAL_DATA_TERMINAL_READY) { in SerialSetControl() 846 if ((Control & EFI_SERIAL_REQUEST_TO_SEND) == EFI_SERIAL_REQUEST_TO_SEND) { in SerialSetControl() 850 if ((Control & EFI_SERIAL_HARDWARE_LOOPBACK_ENABLE) == EFI_SERIAL_HARDWARE_LOOPBACK_ENABLE) { in SerialSetControl() [all …]
|
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSerialIoDxe/ |
D | WinNtSerialIo.c | 395 UINT32 Control; in WinNtSerialIoDriverBindingStart() local 483 Status = SerialIo->GetControl (SerialIo, &Control); in WinNtSerialIoDriverBindingStart() 486 Control |= EFI_SERIAL_HARDWARE_FLOW_CONTROL_ENABLE; in WinNtSerialIoDriverBindingStart() 488 Control &= ~EFI_SERIAL_HARDWARE_FLOW_CONTROL_ENABLE; in WinNtSerialIoDriverBindingStart() 493 Control &= (EFI_SERIAL_REQUEST_TO_SEND | EFI_SERIAL_DATA_TERMINAL_READY | in WinNtSerialIoDriverBindingStart() 496 Status = SerialIo->SetControl (SerialIo, Control); in WinNtSerialIoDriverBindingStart() 1153 IN UINT32 Control in WinNtSerialIoSetControl() argument 1184 if (Control & (~(EFI_SERIAL_REQUEST_TO_SEND | EFI_SERIAL_DATA_TERMINAL_READY | in WinNtSerialIoSetControl() 1209 if (Control & EFI_SERIAL_REQUEST_TO_SEND) { in WinNtSerialIoSetControl() 1213 if (Control & EFI_SERIAL_DATA_TERMINAL_READY) { in WinNtSerialIoSetControl() [all …]
|
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/SerialPortLib/ |
D | SerialPortLib.c | 139 IN UINT32 Control in SerialPortSetControl() argument 158 OUT UINT32 *Control in SerialPortGetControl() argument 161 *Control = 0; in SerialPortGetControl() 163 *Control = EFI_SERIAL_INPUT_BUFFER_EMPTY; in SerialPortGetControl()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/PL011SerialPortLib/ |
D | PL011SerialPortLib.c | 198 IN UINT32 Control in SerialPortSetControl() argument 201 return PL011UartSetControl ((UINTN)FixedPcdGet64 (PcdSerialRegisterBase), Control); in SerialPortSetControl() 239 OUT UINT32 *Control in SerialPortGetControl() argument 242 return PL011UartGetControl ((UINTN)FixedPcdGet64 (PcdSerialRegisterBase), Control); in SerialPortGetControl()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/ |
D | OhciReg.c | 238 HcCONTROL Control; in OhciSetHcControl() local 242 *(UINT32 *) &Control = OhciGetOperationalReg (Ohc->PciIo, HC_CONTROL); in OhciSetHcControl() 245 Control.ControlBulkRatio = Value; in OhciSetHcControl() 249 Control.FunctionalState = Value; in OhciSetHcControl() 253 Control.PeriodicEnable = Value; in OhciSetHcControl() 257 Control.ControlEnable = Value; in OhciSetHcControl() 261 Control.IsochronousEnable = Value; in OhciSetHcControl() 265 Control.BulkEnable = Value; in OhciSetHcControl() 269 Control.InterruptRouting = Value; in OhciSetHcControl() 272 Status = OhciSetOperationalReg (Ohc->PciIo, HC_CONTROL, &Control); in OhciSetHcControl() [all …]
|
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/Arm/ |
D | ArmV7ArchTimerSupport.asm | 32 mrc p15, 0, r0, c14, c1, 0 ; Read CNTK_CTL (Timer PL1 Control Register) 36 mcr p15, 0, r0, c14, c1, 0 ; Write to CNTK_CTL (Timer PL1 Control Register) 48 mrc p15, 0, r0, c14, c2, 1 ; Read CNTP_CTL (PL1 Physical Timer Control Register) 52 mcr p15, 0, r0, c14, c2, 1 ; Write to CNTP_CTL (PL1 Physical Timer Control Register) 64 mrc p15, 0, r0, c14, c3, 1 ; Read CNTV_CTL (Virtual Timer Control Register) 68 mcr p15, 0, r0, c14, c3, 1 ; Write to CNTV_CTL (Virtual Timer Control Register)
|
D | ArmV7ArchTimerSupport.S | 31 mrc p15, 0, r0, c14, c1, 0 @ Read CNTK_CTL (Timer PL1 Control Register) 35 mcr p15, 0, r0, c14, c1, 0 @ Write to CNTK_CTL (Timer PL1 Control Register) 47 mrc p15, 0, r0, c14, c2, 1 @ Read CNTP_CTL (PL1 Physical Timer Control Register) 51 mcr p15, 0, r0, c14, c2, 1 @ Write to CNTP_CTL (PL1 Physical Timer Control Register) 63 mrc p15, 0, r0, c14, c3, 1 @ Read CNTV_CTL (Virtual Timer Control Register) 67 mcr p15, 0, r0, c14, c3, 1 @ Write to CNTV_CTL (Virtual Timer Control Register)
|
/device/linaro/bootloader/edk2/CorebootModulePkg/Library/BaseSerialPortLib16550/ |
D | BaseSerialPortLib16550.c | 782 IN UINT32 Control in SerialPortSetControl() argument 791 if ((Control & (~(EFI_SERIAL_REQUEST_TO_SEND | EFI_SERIAL_DATA_TERMINAL_READY | in SerialPortSetControl() 807 if ((Control & EFI_SERIAL_DATA_TERMINAL_READY) == EFI_SERIAL_DATA_TERMINAL_READY) { in SerialPortSetControl() 811 if ((Control & EFI_SERIAL_REQUEST_TO_SEND) == EFI_SERIAL_REQUEST_TO_SEND) { in SerialPortSetControl() 836 OUT UINT32 *Control in SerialPortGetControl() argument 849 *Control = 0; in SerialPortGetControl() 857 *Control |= EFI_SERIAL_CLEAR_TO_SEND; in SerialPortGetControl() 861 *Control |= EFI_SERIAL_DATA_SET_READY; in SerialPortGetControl() 865 *Control |= EFI_SERIAL_RING_INDICATE; in SerialPortGetControl() 869 *Control |= EFI_SERIAL_CARRIER_DETECT; in SerialPortGetControl() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSerialPortLib16550/ |
D | BaseSerialPortLib16550.c | 781 IN UINT32 Control in SerialPortSetControl() argument 790 if ((Control & (~(EFI_SERIAL_REQUEST_TO_SEND | EFI_SERIAL_DATA_TERMINAL_READY | in SerialPortSetControl() 806 if ((Control & EFI_SERIAL_DATA_TERMINAL_READY) == EFI_SERIAL_DATA_TERMINAL_READY) { in SerialPortSetControl() 810 if ((Control & EFI_SERIAL_REQUEST_TO_SEND) == EFI_SERIAL_REQUEST_TO_SEND) { in SerialPortSetControl() 835 OUT UINT32 *Control in SerialPortGetControl() argument 848 *Control = 0; in SerialPortGetControl() 856 *Control |= EFI_SERIAL_CLEAR_TO_SEND; in SerialPortGetControl() 860 *Control |= EFI_SERIAL_DATA_SET_READY; in SerialPortGetControl() 864 *Control |= EFI_SERIAL_RING_INDICATE; in SerialPortGetControl() 868 *Control |= EFI_SERIAL_CARRIER_DETECT; in SerialPortGetControl() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ |
D | Serial.c | 413 UINT32 Control; in SerialControllerDriverStart() local 502 Status = SerialIo->GetControl (SerialIo, &Control); in SerialControllerDriverStart() 505 Control |= EFI_SERIAL_HARDWARE_FLOW_CONTROL_ENABLE; in SerialControllerDriverStart() 507 Control &= ~EFI_SERIAL_HARDWARE_FLOW_CONTROL_ENABLE; in SerialControllerDriverStart() 512 Control &= (EFI_SERIAL_REQUEST_TO_SEND | EFI_SERIAL_DATA_TERMINAL_READY | in SerialControllerDriverStart() 515 Status = SerialIo->SetControl (SerialIo, Control); in SerialControllerDriverStart() 1129 UINT32 Control; in IsaSerialReset() local 1201 Control = 0; in IsaSerialReset() 1203 Control |= EFI_SERIAL_HARDWARE_FLOW_CONTROL_ENABLE; in IsaSerialReset() 1206 Control |= EFI_SERIAL_SOFTWARE_LOOPBACK_ENABLE; in IsaSerialReset() [all …]
|
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/ |
D | FtdiUsbSerialDriver.c | 1209 IN CONTROL_BITS *Control in SetControlBitsInternal() argument 1220 Control->HardwareLoopBack = FALSE; in SetControlBitsInternal() 1221 Control->SoftwareLoopBack = FALSE; in SetControlBitsInternal() 1228 Control->HardwareFlowControl in SetControlBitsInternal() 1237 Status = SetDtrInternal (UsbSerialDevice->UsbIo, Control->DtrState); in SetControlBitsInternal() 1245 Status = SetRtsInternal (UsbSerialDevice->UsbIo, Control->RtsState); in SetControlBitsInternal() 1253 UsbSerialDevice->ControlValues.DtrState = Control->DtrState; in SetControlBitsInternal() 1254 UsbSerialDevice->ControlValues.RtsState = Control->RtsState; in SetControlBitsInternal() 1255 UsbSerialDevice->ControlValues.HardwareFlowControl = Control->HardwareFlowControl; in SetControlBitsInternal() 1313 OUT UINT32 *Control in GetControlBitsInternal() argument [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/Dw8250SerialPortLib/ |
D | Dw8250SerialPortLib.c | 272 IN UINT32 Control in SerialPortSetControl() argument 290 OUT UINT32 *Control in SerialPortGetControl() argument 296 *Control = EFI_SERIAL_OUTPUT_BUFFER_EMPTY; in SerialPortGetControl() 298 *Control = EFI_SERIAL_INPUT_BUFFER_EMPTY | EFI_SERIAL_OUTPUT_BUFFER_EMPTY; in SerialPortGetControl()
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/XenConsoleSerialPortLib/ |
D | XenConsoleSerialPortLib.c | 222 IN UINT32 Control in SerialPortSetControl() argument 241 OUT UINT32 *Control in SerialPortGetControl() argument 248 *Control = 0; in SerialPortGetControl() 250 *Control = EFI_SERIAL_INPUT_BUFFER_EMPTY; in SerialPortGetControl()
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/ |
D | SerialIo.c | 77 IN UINT32 Control 93 OUT UINT32 *Control 477 IN UINT32 Control in SerialSetControl() argument 484 if ((Control & (~EFI_SERIAL_SOFTWARE_LOOPBACK_ENABLE)) != 0) { in SerialSetControl() 487 mSerialIoMode.ControlMask = Control; in SerialSetControl() 504 OUT UINT32 *Control in SerialGetControl() argument 526 *Control = mSerialIoMode.ControlMask | EFI_SERIAL_OUTPUT_BUFFER_EMPTY; in SerialGetControl() 533 *Control &= ~EFI_SERIAL_INPUT_BUFFER_EMPTY; in SerialGetControl()
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/Dw8250SerialPortRuntimeLib/ |
D | Dw8250SerialPortRuntimeLib.c | 326 IN UINT32 Control in SerialPortSetControl() argument 344 OUT UINT32 *Control in SerialPortGetControl() argument 350 *Control = EFI_SERIAL_OUTPUT_BUFFER_EMPTY; in SerialPortGetControl() 352 *Control = EFI_SERIAL_INPUT_BUFFER_EMPTY | EFI_SERIAL_OUTPUT_BUFFER_EMPTY; in SerialPortGetControl()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SerialDxe/ |
D | SerialIo.c | 100 IN UINT32 Control 117 OUT UINT32 *Control 387 IN UINT32 Control in SerialSetControl() argument 390 return SerialPortSetControl (Control); in SerialSetControl() 407 OUT UINT32 *Control in SerialGetControl() argument 410 return SerialPortGetControl (Control); in SerialGetControl()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | SerialPortLib.h | 117 IN UINT32 Control 133 OUT UINT32 *Control
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSerialPortLibNull/ |
D | BaseSerialPortLibNull.c | 126 IN UINT32 Control in SerialPortSetControl() argument 145 OUT UINT32 *Control in SerialPortGetControl() argument
|