Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Common/Pei/
DUsbPei.c192 UINT16 CmdReg; in EnableBusMaster() local
194 CmdReg = PciRead16 (IohOhciPciReg[Index] | R_IOH_USB_COMMAND); in EnableBusMaster()
195 CmdReg = (UINT16) (CmdReg | B_IOH_USB_COMMAND_BME ); in EnableBusMaster()
196 PciWrite16 (IohOhciPciReg[Index] | R_IOH_USB_COMMAND, CmdReg); in EnableBusMaster()
199 CmdReg = PciRead16 (IohEhciPciReg[Index] | R_IOH_USB_COMMAND); in EnableBusMaster()
200 CmdReg = (UINT16) (CmdReg | B_IOH_USB_COMMAND_BME ); in EnableBusMaster()
201 PciWrite16 (IohEhciPciReg[Index] | R_IOH_USB_COMMAND, CmdReg); in EnableBusMaster()
225 UINT16 CmdReg; in PeimInitializeIchUsb() local
264 CmdReg = PciRead16 (mIohEhciPciReg[i] | R_IOH_USB_COMMAND); in PeimInitializeIchUsb()
265 CmdReg = (UINT16) (CmdReg | B_IOH_USB_COMMAND_MSE | B_IOH_USB_COMMAND_BME ); in PeimInitializeIchUsb()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Library/IohLib/
DIohLib.c48 UINT16 CmdReg; in EnableUsbMemIoBusMaster() local
50CmdReg = PciRead16 (PCI_LIB_ADDRESS (UsbBusNumber, IOH_USB_OHCI_DEVICE_NUMBER, IOH_OHCI_FUNCTION_N… in EnableUsbMemIoBusMaster()
51CmdReg = (UINT16) (CmdReg | EFI_PCI_COMMAND_MEMORY_SPACE | EFI_PCI_COMMAND_IO_SPACE | EFI_PCI_COMM… in EnableUsbMemIoBusMaster()
52 …RESS (UsbBusNumber, IOH_USB_OHCI_DEVICE_NUMBER, IOH_OHCI_FUNCTION_NUMBER, PCI_REG_PCICMD), CmdReg); in EnableUsbMemIoBusMaster()
54CmdReg = PciRead16 (PCI_LIB_ADDRESS (UsbBusNumber, IOH_USB_EHCI_DEVICE_NUMBER, IOH_EHCI_FUNCTION_N… in EnableUsbMemIoBusMaster()
55CmdReg = (UINT16) (CmdReg | EFI_PCI_COMMAND_MEMORY_SPACE | EFI_PCI_COMMAND_IO_SPACE | EFI_PCI_COMM… in EnableUsbMemIoBusMaster()
56 …RESS (UsbBusNumber, IOH_USB_EHCI_DEVICE_NUMBER, IOH_EHCI_FUNCTION_NUMBER, PCI_REG_PCICMD), CmdReg); in EnableUsbMemIoBusMaster()