Home
last modified time | relevance | path

Searched refs:Device (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioMmioDeviceLib/
DVirtioMmioDeviceFunctions.c28 VIRTIO_MMIO_DEVICE *Device; in VirtioMmioGetDeviceFeatures() local
34 Device = VIRTIO_MMIO_DEVICE_FROM_VIRTIO_DEVICE (This); in VirtioMmioGetDeviceFeatures()
36 *DeviceFeatures = VIRTIO_CFG_READ (Device, VIRTIO_MMIO_OFFSET_HOST_FEATURES); in VirtioMmioGetDeviceFeatures()
48 VIRTIO_MMIO_DEVICE *Device; in VirtioMmioGetQueueAddress() local
54 Device = VIRTIO_MMIO_DEVICE_FROM_VIRTIO_DEVICE (This); in VirtioMmioGetQueueAddress()
56 *QueueAddress = VIRTIO_CFG_READ (Device, VIRTIO_MMIO_OFFSET_QUEUE_PFN); in VirtioMmioGetQueueAddress()
68 VIRTIO_MMIO_DEVICE *Device; in VirtioMmioGetQueueSize() local
74 Device = VIRTIO_MMIO_DEVICE_FROM_VIRTIO_DEVICE (This); in VirtioMmioGetQueueSize()
76 *QueueNumMax = VIRTIO_CFG_READ (Device, VIRTIO_MMIO_OFFSET_QUEUE_NUM_MAX) & 0xFFFF; in VirtioMmioGetQueueSize()
88 VIRTIO_MMIO_DEVICE *Device; in VirtioMmioGetDeviceStatus() local
[all …]
DVirtioMmioDevice.c60 IN OUT VIRTIO_MMIO_DEVICE *Device in VirtioMmioInit() argument
70 CopyMem (&Device->VirtioDevice, &mMmioDeviceProtocolTemplate, in VirtioMmioInit()
72 Device->BaseAddress = BaseAddress; in VirtioMmioInit()
73 Device->VirtioDevice.Revision = VIRTIO_SPEC_REVISION (0, 9, 5); in VirtioMmioInit()
74 Device->VirtioDevice.SubSystemDeviceId = in VirtioMmioInit()
80 MagicValue = VIRTIO_CFG_READ (Device, VIRTIO_MMIO_OFFSET_MAGIC); in VirtioMmioInit()
85 Version = VIRTIO_CFG_READ (Device, VIRTIO_MMIO_OFFSET_VERSION); in VirtioMmioInit()
93 VendorId = VIRTIO_CFG_READ (Device, VIRTIO_MMIO_OFFSET_VENDOR_ID); in VirtioMmioInit()
121 IN VIRTIO_MMIO_DEVICE *Device in VirtioMmioUninit() argument
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/
DVlvCommonDefinitions.h118 #define MmPciAddress( Segment, Bus, Device, Function, Register ) \ argument
121 (UINTN)(Device << 15) + \
130 #define MmPci64Ptr( Segment, Bus, Device, Function, Register ) \ argument
131 ( (volatile UINT64 *)MmPciAddress( Segment, Bus, Device, Function, Register ) )
133 #define MmPci64( Segment, Bus, Device, Function, Register ) \ argument
134 *MmPci64Ptr( Segment, Bus, Device, Function, Register )
136 #define MmPci64Or( Segment, Bus, Device, Function, Register, OrData ) \ argument
137 MmPci64( Segment, Bus, Device, Function, Register ) = \
139 MmPci64( Segment, Bus, Device, Function, Register ) | \
143 #define MmPci64And( Segment, Bus, Device, Function, Register, AndData ) \ argument
[all …]
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/
DPchCommonDefinitions.h96 #define PchPciDeviceMmBase(Bus, Device, Function) \ argument
98 … (UINTN) PCH_PCI_EXPRESS_BASE_ADDRESS + (UINTN) (Bus << 20) + (UINTN) (Device << 15) + (UINTN) \
105 #define PchPciDeviceMmAddress(Segment, Bus, Device, Function, Register) \ argument
107 … (UINTN) PCH_PCI_EXPRESS_BASE_ADDRESS + (UINTN) (Bus << 20) + (UINTN) (Device << 15) + (UINTN) \
114 #define PchMmPci32Ptr(Segment, Bus, Device, Function, Register) \ argument
115 ((volatile UINT32 *) PchPciDeviceMmAddress (Segment, Bus, Device, Function, Register))
117 #define PchMmPci32(Segment, Bus, Device, Function, Register) *PchMmPci32Ptr (Segment, Bus, Device,… argument
119 #define PchMmPci32Or(Segment, Bus, Device, Function, Register, OrData) \ argument
123 Device, \
126 ) = (UINT32) (PchMmPci32 (Segment, Bus, Device, Function, Register) | (UINT32) (OrData))
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/
DQuarkSouthCluster.asi19 Device (SDIO) // SDIO [Bus 0, Device 20, Function 0]
21 Name(_ADR,0x00140000) // Device (HI WORD)=20, Func (LO WORD)=0
26 Device (URT0) // UART0 [Bus 0, Device 20, Function 1]
28 Name(_ADR,0x00140001) // Device (HI WORD)=20, Func (LO WORD)=1
33 Device (USBD) // USB Device [Bus 0, Device 20, Function 2]
35 Name(_ADR,0x00140002) // Device (HI WORD)=20, Func (LO WORD)=2
40 Device (EHCI) // EHCI [Bus 0, Device 20, Function 3]
42 Name(_ADR,0x00140003) // Device (HI WORD)=20, Func (LO WORD)=3
47 Device (OHCI) // OHCI [Bus 0, Device 20, Function 4]
49 Name(_ADR,0x00140004) // Device (HI WORD)=20, Func (LO WORD)=4
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Wpce791/
DLpcIsaAcpi.c150 IN EFI_ISA_ACPI_DEVICE_ID *Device, in IsaDeviceLookup()
161 if (Device == NULL) { in IsaDeviceLookup()
164 for(Index = 0; mLpcWpce791DeviceList[Index].Device.HID != 0; Index++) { in IsaDeviceLookup()
165 if (Device->HID == mLpcWpce791DeviceList[Index].Device.HID && in IsaDeviceLookup()
166 Device->UID == mLpcWpce791DeviceList[Index].Device.UID ) { in IsaDeviceLookup()
170 if (mLpcWpce791DeviceList[Index].Device.HID == 0) { in IsaDeviceLookup()
176 if (NextIsaAcpiDevice != NULL && mLpcWpce791DeviceList[Index].Device.HID != 0){ in IsaDeviceLookup()
191 OUT EFI_ISA_ACPI_DEVICE_ID **Device in IsaDeviceEnumerate()
197 IsaDeviceLookup (*Device, &IsaAcpiDevice, &NextIsaAcpiDevice); in IsaDeviceEnumerate()
201 *Device = &(NextIsaAcpiDevice->Device); in IsaDeviceEnumerate()
[all …]
DLpcIsaAcpi.h56 OUT EFI_ISA_ACPI_DEVICE_ID **Device
63 IN EFI_ISA_ACPI_DEVICE_ID *Device,
71 IN EFI_ISA_ACPI_DEVICE_ID *Device,
79 IN EFI_ISA_ACPI_DEVICE_ID *Device,
87 IN EFI_ISA_ACPI_DEVICE_ID *Device,
95 IN EFI_ISA_ACPI_DEVICE_ID *Device,
103 IN EFI_ISA_ACPI_DEVICE_ID *Device
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Include/
DQNCCommonDefinitions.h244 #define QNCMmPciAddress( Segment, Bus, Device, Function, Register ) \ argument
247 (UINTN)(Device << 15) + \
255 #define PciDeviceMmBase( Bus, Device, Function) \ argument
258 (UINTN)(Device << 15) + \
265 #define QNCMmPci32Ptr( Segment, Bus, Device, Function, Register ) \ argument
266 ( (volatile UINT32 *)QNCMmPciAddress( Segment, Bus, Device, Function, Register ) )
268 #define QNCMmPci32( Segment, Bus, Device, Function, Register ) \ argument
269 *QNCMmPci32Ptr( Segment, Bus, Device, Function, Register )
271 #define QNCMmPci32Or( Segment, Bus, Device, Function, Register, OrData ) \ argument
272 QNCMmPci32( Segment, Bus, Device, Function, Register ) = \
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/
DNvmExpress.c72 NVME_DEVICE_PRIVATE_DATA *Device; in EnumerateNvmeDevNamespace() local
80 Device = NULL; in EnumerateNvmeDevNamespace()
111 Device = AllocateZeroPool(sizeof(NVME_DEVICE_PRIVATE_DATA)); in EnumerateNvmeDevNamespace()
112 if (Device == NULL) { in EnumerateNvmeDevNamespace()
120 Device->Signature = NVME_DEVICE_PRIVATE_DATA_SIGNATURE; in EnumerateNvmeDevNamespace()
121 Device->NamespaceId = NamespaceId; in EnumerateNvmeDevNamespace()
122 Device->NamespaceUuid = NamespaceData->Eui64; in EnumerateNvmeDevNamespace()
124 Device->ControllerHandle = Private->ControllerHandle; in EnumerateNvmeDevNamespace()
125 Device->DriverBindingHandle = Private->DriverBindingHandle; in EnumerateNvmeDevNamespace()
126 Device->Controller = Private; in EnumerateNvmeDevNamespace()
[all …]
DNvmExpressBlockIo.c32 IN NVME_DEVICE_PRIVATE_DATA *Device, in ReadSectors() argument
46 Private = Device->Controller; in ReadSectors()
47 BlockSize = Device->Media.BlockSize; in ReadSectors()
58 CommandPacket.NvmeCmd->Nsid = Device->NamespaceId; in ReadSectors()
73 Device->NamespaceId, in ReadSectors()
95 IN NVME_DEVICE_PRIVATE_DATA *Device, in WriteSectors() argument
109 Private = Device->Controller; in WriteSectors()
110 BlockSize = Device->Media.BlockSize; in WriteSectors()
121 CommandPacket.NvmeCmd->Nsid = Device->NamespaceId; in WriteSectors()
139 Device->NamespaceId, in WriteSectors()
[all …]
DNvmExpressDiskInfo.c36 IN NVME_DEVICE_PRIVATE_DATA *Device in InitializeDiskInfo() argument
39 …CopyMem (&Device->DiskInfo, &gNvmExpressDiskInfoProtocolTemplate, sizeof (EFI_DISK_INFO_PROTOCOL)); in InitializeDiskInfo()
98 NVME_DEVICE_PRIVATE_DATA *Device; in NvmExpressDiskInfoIdentify() local
100 Device = NVME_DEVICE_PRIVATE_DATA_FROM_DISK_INFO (This); in NvmExpressDiskInfoIdentify()
103 if (*IdentifyDataSize >= sizeof (Device->NamespaceData)) { in NvmExpressDiskInfoIdentify()
105 CopyMem (IdentifyData, &Device->NamespaceData, sizeof (Device->NamespaceData)); in NvmExpressDiskInfoIdentify()
107 *IdentifyDataSize = sizeof (Device->NamespaceData); in NvmExpressDiskInfoIdentify()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Include/
DIohCommonDefinitions.h246 #define IohMmPciAddress( Segment, Bus, Device, Function, Register ) \ argument
249 (UINTN)(Device << 15) + \
257 #define IohMmPci32Ptr( Segment, Bus, Device, Function, Register ) \ argument
258 ( (volatile UINT32 *)IohMmPciAddress( Segment, Bus, Device, Function, Register ) )
260 #define IohMmPci32( Segment, Bus, Device, Function, Register ) \ argument
261 *IohMmPci32Ptr( Segment, Bus, Device, Function, Register )
263 #define IohMmPci32Or( Segment, Bus, Device, Function, Register, OrData ) \ argument
264 IohMmPci32( Segment, Bus, Device, Function, Register ) = \
266 IohMmPci32( Segment, Bus, Device, Function, Register ) | \
270 #define IohMmPci32And( Segment, Bus, Device, Function, Register, AndData ) \ argument
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/VirtioPciDeviceDxe/
DVirtioPciDevice.c326 IN OUT VIRTIO_PCI_DEVICE *Device in VirtioPciInit() argument
333 ASSERT (Device != NULL); in VirtioPciInit()
334 PciIo = Device->PciIo; in VirtioPciInit()
354 CopyMem (&Device->VirtioDevice, &mDeviceProtocolTemplate, in VirtioPciInit()
360 Device->VirtioDevice.Revision = VIRTIO_SPEC_REVISION (0, 9, 5); in VirtioPciInit()
361 Device->VirtioDevice.SubSystemDeviceId = Pci.Device.SubsystemID; in VirtioPciInit()
367 Device->DeviceSpecificConfigurationOffset = in VirtioPciInit()
386 IN OUT VIRTIO_PCI_DEVICE *Device in VirtioPciUninit() argument
430 VIRTIO_PCI_DEVICE *Device; in VirtioPciDeviceBindingStart() local
433 Device = (VIRTIO_PCI_DEVICE *) AllocateZeroPool (sizeof *Device); in VirtioPciDeviceBindingStart()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/
DUsbEnumer.c62 UsbCloseHostProtoByChild (UsbIf->Device->Bus, UsbIf->Handle); in UsbFreeInterface()
93 IN USB_DEVICE *Device, in UsbCreateInterface() argument
109 UsbIf->Device = Device; in UsbCreateInterface()
125 UsbNode.ParentPortNumber = Device->ParentPort; in UsbCreateInterface()
130 HubIf = Device->ParentIf; in UsbCreateInterface()
159 Status = UsbOpenHostProtoByChild (Device->Bus, UsbIf->Handle); in UsbCreateInterface()
195 IN USB_DEVICE *Device in UsbFreeDevice() argument
198 if (Device->DevDesc != NULL) { in UsbFreeDevice()
199 UsbFreeDevDesc (Device->DevDesc); in UsbFreeDevice()
202 gBS->FreePool (Device); in UsbFreeDevice()
[all …]
/device/linaro/bootloader/edk2/PcAtChipsetPkg/IsaAcpiDxe/
DIsaAcpi.c155 IN EFI_ISA_ACPI_DEVICE_ID *Device, in IsaDeviceLookup() argument
166 if (Device == NULL) { in IsaDeviceLookup()
170 if (Device->HID == gPcatIsaAcpiDeviceList[Index].Device.HID && in IsaDeviceLookup()
171 Device->UID == gPcatIsaAcpiDeviceList[Index].Device.UID ) { in IsaDeviceLookup()
201 OUT EFI_ISA_ACPI_DEVICE_ID **Device in IsaDeviceEnumerate() argument
207 IsaDeviceLookup (*Device, &IsaAcpiDevice, &NextIsaAcpiDevice); in IsaDeviceEnumerate()
211 *Device = &(NextIsaAcpiDevice->Device); in IsaDeviceEnumerate()
230 IN EFI_ISA_ACPI_DEVICE_ID *Device, in IsaDeviceSetPower() argument
251 IN EFI_ISA_ACPI_DEVICE_ID *Device, in IsaGetCurrentResource() argument
255 IsaDeviceLookup (Device, ResourceList, NULL); in IsaGetCurrentResource()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DeviceManagerLib/
DDeviceManagerStrings.uni3 // String definitions for the Device Manager.
21 #string STR_EDKII_MENU_TITLE #language en-US "Device Manager"
22 #language fr-FR "Device Manager"
23 #string STR_EDKII_MENU_HELP #language en-US "This selection will take you to the Device
24 … #language fr-FR "This selection will take you to the Device Manager"
45 #string STR_FORM_NETWORK_DEVICE_TITLE #language en-US "Network Device"
46 #language fr-FR "Network Device"
47 #string STR_FORM_NETWORK_DEVICE_HELP #language en-US "Network Device Help..."
48 #language fr-FR "Network Device Help..."
49 #string STR_NETWORK_DEVICE_STRING #language en-US "Network Device"
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UfsPciHcPei/
DUfsPciHcPei.c82 UINT16 Device; in InitializeUfsHcPeim() local
116 for (Device = 0; Device < 32; Device++) { in InitializeUfsHcPeim()
118 SubClass = PciRead8 (PCI_LIB_ADDRESS (Bus, Device, Function, 0x0A)); in InitializeUfsHcPeim()
119 BaseClass = PciRead8 (PCI_LIB_ADDRESS (Bus, Device, Function, 0x0B)); in InitializeUfsHcPeim()
125 …PciAnd16 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_COMMAND_OFFSET), (UINT16)~(EFI_PCI_COMMAND_B… in InitializeUfsHcPeim()
126 … PciWrite32 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_BASE_ADDRESSREG_OFFSET), 0xFFFFFFFF); in InitializeUfsHcPeim()
127 Size = PciRead32 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_BASE_ADDRESSREG_OFFSET)); in InitializeUfsHcPeim()
132 …PciWrite32 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_BASE_ADDRESSREG_OFFSET), (UINT32)(PcdGet32… in InitializeUfsHcPeim()
133 …PciOr16 (PCI_LIB_ADDRESS (Bus, Device, Function, PCI_COMMAND_OFFSET), (EFI_PCI_COMMAND_BUS_MASTER … in InitializeUfsHcPeim()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/
DUefiDevicePathLibOptionalDevicePathProtocol.uni2 // Instance of Device Path Library based on Device Path Protocol.
4 // Device Path Library that layers on top of the UEFI 2.0 Device Path Protocol.
20 …R_MODULE_ABSTRACT #language en-US "Instance of Device Path Library based on Device Pat…
22 …R_MODULE_DESCRIPTION #language en-US "Instance of Device Path Library based on Device Pat…
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/
DArmVExpressSysConfig.c69 IN UINT32 Device, in AccessSysCfgRegister() argument
85 SYS_CFGCTRL_POSITION(Position) | SYS_CFGCTRL_DEVICE(Device); in AccessSysCfgRegister()
112 UINT32 Device; in ArmPlatformSysConfigGet() local
115 Device = 0; in ArmPlatformSysConfigGet()
152 return AccessSysCfgRegister (SYS_CFGCTRL_READ, Function, Site, Position, Device, Value); in ArmPlatformSysConfigGet()
173 UINT32 Device; in ArmPlatformSysConfigSet() local
176 Device = 0; in ArmPlatformSysConfigSet()
213 return AccessSysCfgRegister (SYS_CFGCTRL_WRITE, Function, Site, Position, Device, &Value); in ArmPlatformSysConfigSet()
219 IN UINT32 Device, in ArmPlatformSysConfigSetDevice() argument
232 MmioWrite32 ((ARM_VE_SCC_BASE + (Device * 4)),Value); in ArmPlatformSysConfigSetDevice()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/
DArmVExpressSysConfigRuntimeLib.c72 IN UINT32 Device, in AccessSysCfgRegister() argument
92 SYS_CFGCTRL_POSITION(Position) | SYS_CFGCTRL_DEVICE(Device); in AccessSysCfgRegister()
119 UINT32 Device; in ArmPlatformSysConfigGet() local
122 Device = 0; in ArmPlatformSysConfigGet()
159 return AccessSysCfgRegister (SYS_CFGCTRL_READ, Function, Site, Position, Device, Value); in ArmPlatformSysConfigGet()
180 UINT32 Device; in ArmPlatformSysConfigSet() local
183 Device = 0; in ArmPlatformSysConfigSet()
220 return AccessSysCfgRegister (SYS_CFGCTRL_WRITE, Function, Site, Position, Device, &Value); in ArmPlatformSysConfigSet()
226 IN UINT32 Device, in ArmPlatformSysConfigSetDevice() argument
242 MmioWrite32 ((ARM_VE_SCC_BASE + (Device * 4)),Value); in ArmPlatformSysConfigSetDevice()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/
DUefiDevicePathLibDevicePathProtocol.uni2 // Instance of Device Path Library based on Device Path Utilities Protocol.
4 // Device Path Library that layers on top of the UEFI 2.0 Device Path Utilities Protocol.
19 …R_MODULE_ABSTRACT #language en-US "Instance of Device Path Library based on Device Pat…
21 …ULE_DESCRIPTION #language en-US "The Device Path Library that layers on top of the UEFI 2…
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/IsaAcpi/
DIsaAcpi.h94 EFI_ISA_ACPI_DEVICE_ID Device; member
105 OUT EFI_ISA_ACPI_DEVICE_ID **Device
112 IN EFI_ISA_ACPI_DEVICE_ID *Device,
120 IN EFI_ISA_ACPI_DEVICE_ID *Device,
128 IN EFI_ISA_ACPI_DEVICE_ID *Device,
136 IN EFI_ISA_ACPI_DEVICE_ID *Device,
144 IN EFI_ISA_ACPI_DEVICE_ID *Device,
152 IN EFI_ISA_ACPI_DEVICE_ID *Device
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Include/Protocol/
DIsaAcpi.h106 EFI_ISA_ACPI_DEVICE_ID Device; ///< The ACPI HID/UID associated with an ISA controller. member
132 OUT EFI_ISA_ACPI_DEVICE_ID **Device
155 IN EFI_ISA_ACPI_DEVICE_ID *Device,
178 IN EFI_ISA_ACPI_DEVICE_ID *Device,
200 IN EFI_ISA_ACPI_DEVICE_ID *Device,
224 IN EFI_ISA_ACPI_DEVICE_ID *Device,
244 IN EFI_ISA_ACPI_DEVICE_ID *Device,
263 IN EFI_ISA_ACPI_DEVICE_ID *Device
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/AcpiTables/
DDsdt.asl22 Device(CPU0) { // A53-0: Cluster 1, Cpu 0
26 Device(CPU1) { // A53-1: Cluster 1, Cpu 1
30 Device(CPU2) { // A53-2: Cluster 1, Cpu 2
34 Device(CPU3) { // A53-3: Cluster 1, Cpu 3
38 Device(CPU4) { // A57-0: Cluster 0, Cpu 0
42 Device(CPU5) { // A57-1: Cluster 0, Cpu 1
50 Device(KMI0) {
64 Device(ETH0) {
83 Device(COM0) {
96 Device(USB0){
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/ARM/Juno/AcpiTables/
DDsdt.asl22 Device(CPU0) { // A53-0: Cluster 1, Cpu 0
26 Device(CPU1) { // A53-1: Cluster 1, Cpu 1
30 Device(CPU2) { // A53-2: Cluster 1, Cpu 2
34 Device(CPU3) { // A53-3: Cluster 1, Cpu 3
38 Device(CPU4) { // A57-0: Cluster 0, Cpu 0
42 Device(CPU5) { // A57-1: Cluster 0, Cpu 1
50 Device(KMI0) {
64 Device(ETH0) {
83 Device(COM0) {
96 Device(USB0){
[all …]

12345678910>>...18