OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CmdReg
(Results
1 - 2
of
2
) sorted by null
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Library/IohLib/
IohLib.c
48
UINT16
CmdReg
;
50
CmdReg
= PciRead16 (PCI_LIB_ADDRESS (UsbBusNumber, IOH_USB_OHCI_DEVICE_NUMBER, IOH_OHCI_FUNCTION_NUMBER, PCI_REG_PCICMD));
51
CmdReg
= (UINT16) (
CmdReg
| EFI_PCI_COMMAND_MEMORY_SPACE | EFI_PCI_COMMAND_IO_SPACE | EFI_PCI_COMMAND_BUS_MASTER);
52
PciWrite16 (PCI_LIB_ADDRESS (UsbBusNumber, IOH_USB_OHCI_DEVICE_NUMBER, IOH_OHCI_FUNCTION_NUMBER, PCI_REG_PCICMD),
CmdReg
);
54
CmdReg
= PciRead16 (PCI_LIB_ADDRESS (UsbBusNumber, IOH_USB_EHCI_DEVICE_NUMBER, IOH_EHCI_FUNCTION_NUMBER, PCI_REG_PCICMD));
55
CmdReg
= (UINT16) (
CmdReg
| EFI_PCI_COMMAND_MEMORY_SPACE | EFI_PCI_COMMAND_IO_SPACE | EFI_PCI_COMMAND_BUS_MASTER);
56
PciWrite16 (PCI_LIB_ADDRESS (UsbBusNumber, IOH_USB_EHCI_DEVICE_NUMBER, IOH_EHCI_FUNCTION_NUMBER, PCI_REG_PCICMD),
CmdReg
);
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Common/Pei/
UsbPei.c
192
UINT16
CmdReg
;
194
CmdReg
= PciRead16 (IohOhciPciReg[Index] | R_IOH_USB_COMMAND);
195
CmdReg
= (UINT16) (
CmdReg
| B_IOH_USB_COMMAND_BME );
196
PciWrite16 (IohOhciPciReg[Index] | R_IOH_USB_COMMAND,
CmdReg
);
199
CmdReg
= PciRead16 (IohEhciPciReg[Index] | R_IOH_USB_COMMAND);
200
CmdReg
= (UINT16) (
CmdReg
| B_IOH_USB_COMMAND_BME );
201
PciWrite16 (IohEhciPciReg[Index] | R_IOH_USB_COMMAND,
CmdReg
);
225
UINT16
CmdReg
;
[
all
...]
Completed in 798 milliseconds