Home
last modified time | relevance | path

Searched refs:Bit (Results 1 – 25 of 94) sorted by relevance

1234

/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/
DPchXhci.asl110 … //31:0 - Bit[6:0]=2 revision is 0x2, Bit[7]=1 Ignore Color Bit[31:8]=0 RGB color is ignored
112 //63:32 - Bit[47:32]=0 width: 0x0000 Bit[63:48]=0 Height:0x0000
117 … //127:96 -bit[96]=1 Ejectable bit[97]=1 OSPM Ejection required Bit[105:98]=0 no Cabinet Number
118 …113:106]=0 no Card cage Number bit[114]=0 no reference shape Bit[118:115]=0 no rotation Bit[123:11…
149 … //31:0 - Bit[6:0]=2 revision is 0x2, Bit[7]=1 Ignore Color Bit[31:8]=0 RGB color is ignored
151 //63:32 - Bit[47:32]=0 width: 0x0000 Bit[63:48]=0 Height:0x0000
156 … //127:96 -bit[96]=1 Ejectable bit[97]=1 OSPM Ejection required Bit[105:98]=0 no Cabinet Number
157 …113:106]=0 no Card cage Number bit[114]=0 no reference shape Bit[118:115]=0 no rotation Bit[123:11…
192 … //31:0 - Bit[6:0]=2 revision is 0x2, Bit[7]=1 Ignore Color Bit[31:8]=0 RGB color is ignored
194 //63:32 - Bit[47:32]=0 width: 0x0000 Bit[63:48]=0 Height:0x0000
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
DUfsHcMem.h21 #define UFS_PEIM_MEM_BIT_IS_SET(Data, Bit) \ argument
22 ((BOOLEAN)(((Data) & UFS_PEIM_MEM_BIT(Bit)) == UFS_PEIM_MEM_BIT(Bit)))
51 #define UFS_PEIM_NEXT_BIT(Byte, Bit) \ argument
53 (Bit)++; \
54 if ((Bit) > 7) { \
56 (Bit) = 0; \
DUfsHcMem.c115 UINT8 Bit; in UfsPeimAllocMemFromBlock() local
127 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UfsPeimAllocMemFromBlock()
133 if (!UFS_PEIM_MEM_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UfsPeimAllocMemFromBlock()
140 UFS_PEIM_NEXT_BIT (Byte, Bit); in UfsPeimAllocMemFromBlock()
143 UFS_PEIM_NEXT_BIT (Byte, Bit); in UfsPeimAllocMemFromBlock()
147 StartBit = Bit; in UfsPeimAllocMemFromBlock()
159 Bit = StartBit; in UfsPeimAllocMemFromBlock()
162 ASSERT (!UFS_PEIM_MEM_BIT_IS_SET (Block->Bits[Byte], Bit)); in UfsPeimAllocMemFromBlock()
164 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) UFS_PEIM_MEM_BIT (Bit)); in UfsPeimAllocMemFromBlock()
165 UFS_PEIM_NEXT_BIT (Byte, Bit); in UfsPeimAllocMemFromBlock()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/
DUsbHcMem.h25 #define USB_HC_BIT_IS_SET(Data, Bit) \ argument
26 ((BOOLEAN)(((Data) & USB_HC_BIT(Bit)) == USB_HC_BIT(Bit)))
67 #define NEXT_BIT(Byte, Bit) \ argument
69 (Bit)++; \
70 if ((Bit) > 7) { \
72 (Bit) = 0; \
DUsbHcMem.c142 UINT8 Bit; in UsbHcAllocMemFromBlock() local
154 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UsbHcAllocMemFromBlock()
160 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UsbHcAllocMemFromBlock()
167 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
170 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
174 StartBit = Bit; in UsbHcAllocMemFromBlock()
186 Bit = StartBit; in UsbHcAllocMemFromBlock()
189 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)); in UsbHcAllocMemFromBlock()
191 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) USB_HC_BIT (Bit)); in UsbHcAllocMemFromBlock()
192 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/
DPcieExpansionPrt.asi28 ABP0, 1, // Bit 0, Attention Button Pressed
30 PDC0, 1, // Bit 3, Presence Detect Changed
32 PDS0, 1, // Bit 6, Presence Detect State
34 LSC0, 1, // Bit 8, Link Active State Changed
37 PMS0, 1, // Bit 16, PME Status
40 HPE0, 1, // Bit 30, Hot Plug SCI Enable
41 PCE0, 1, // Bit 31, Power Management SCI Enable.
43 HPS0, 1, // Bit 30, Hot Plug SCI Status
44 PCS0, 1, // Bit 31, Power Management SCI Status.
85 ABP1, 1, // Bit 0, Attention Button Pressed
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/
DUsbHcMem.h22 #define USB_HC_BIT_IS_SET(Data, Bit) \ argument
23 ((BOOLEAN)(((Data) & USB_HC_BIT(Bit)) == USB_HC_BIT(Bit)))
63 #define NEXT_BIT(Byte, Bit) \ argument
65 (Bit)++; \
66 if ((Bit) > 7) { \
68 (Bit) = 0; \
DUsbHcMem.c144 UINT8 Bit; in UsbHcAllocMemFromBlock() local
156 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UsbHcAllocMemFromBlock()
162 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UsbHcAllocMemFromBlock()
169 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
172 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
176 StartBit = Bit; in UsbHcAllocMemFromBlock()
188 Bit = StartBit; in UsbHcAllocMemFromBlock()
191 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)); in UsbHcAllocMemFromBlock()
193 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) USB_HC_BIT (Bit)); in UsbHcAllocMemFromBlock()
194 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DUsbHcMem.h45 #define USB_HC_BIT_IS_SET(Data, Bit) \ argument
46 ((BOOLEAN)(((Data) & USB_HC_BIT(Bit)) == USB_HC_BIT(Bit)))
51 #define NEXT_BIT(Byte, Bit) \ argument
53 (Bit)++; \
54 if ((Bit) > 7) { \
56 (Bit) = 0; \
DUsbHcMem.c127 UINT8 Bit; in UsbHcAllocMemFromBlock() local
139 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UsbHcAllocMemFromBlock()
145 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UsbHcAllocMemFromBlock()
152 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
154 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
158 StartBit = Bit; in UsbHcAllocMemFromBlock()
170 Bit = StartBit; in UsbHcAllocMemFromBlock()
173 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)); in UsbHcAllocMemFromBlock()
175 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) USB_HC_BIT (Bit)); in UsbHcAllocMemFromBlock()
176 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
[all …]
DXhcPeim.h68 #define XHC_BIT_IS_SET(Data, Bit) ((BOOLEAN)(((Data) & (Bit)) == (Bit))) argument
70 #define XHC_REG_BIT_IS_SET(XHC, Offset, Bit) \ argument
71 (XHC_BIT_IS_SET(XhcPeiReadOpReg ((XHC), (Offset)), (Bit)))
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/
DUsbHcMem.h21 #define USB_HC_BIT_IS_SET(Data, Bit) \ argument
22 ((BOOLEAN)(((Data) & USB_HC_BIT(Bit)) == USB_HC_BIT(Bit)))
64 #define NEXT_BIT(Byte, Bit) \ argument
66 (Bit)++; \
67 if ((Bit) > 7) { \
69 (Bit) = 0; \
DUsbHcMem.c167 UINT8 Bit; in UsbHcAllocMemFromBlock() local
179 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UsbHcAllocMemFromBlock()
185 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UsbHcAllocMemFromBlock()
192 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
195 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
199 StartBit = Bit; in UsbHcAllocMemFromBlock()
211 Bit = StartBit; in UsbHcAllocMemFromBlock()
214 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)); in UsbHcAllocMemFromBlock()
216 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | (UINT8) USB_HC_BIT (Bit)); in UsbHcAllocMemFromBlock()
217 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/
DUsbHcMem.h22 #define USB_HC_BIT_IS_SET(Data, Bit) \ argument
23 ((BOOLEAN)(((Data) & USB_HC_BIT(Bit)) == USB_HC_BIT(Bit)))
64 #define NEXT_BIT(Byte, Bit) \ argument
66 (Bit)++; \
67 if ((Bit) > 7) { \
69 (Bit) = 0; \
DUsbHcMem.c168 UINT8 Bit; in UsbHcAllocMemFromBlock() local
180 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UsbHcAllocMemFromBlock()
186 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UsbHcAllocMemFromBlock()
193 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
196 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
200 StartBit = Bit; in UsbHcAllocMemFromBlock()
212 Bit = StartBit; in UsbHcAllocMemFromBlock()
215 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)); in UsbHcAllocMemFromBlock()
217 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | USB_HC_BIT (Bit)); in UsbHcAllocMemFromBlock()
218 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/
DUsbHcMem.h21 #define USB_HC_BIT_IS_SET(Data, Bit) \ argument
22 ((BOOLEAN)(((Data) & USB_HC_BIT(Bit)) == USB_HC_BIT(Bit)))
63 #define NEXT_BIT(Byte, Bit) \ argument
65 (Bit)++; \
66 if ((Bit) > 7) { \
68 (Bit) = 0; \
DUsbHcMem.c168 UINT8 Bit; in UsbHcAllocMemFromBlock() local
180 for (Byte = 0, Bit = 0; Byte < Block->BitsLen;) { in UsbHcAllocMemFromBlock()
186 if (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)) { in UsbHcAllocMemFromBlock()
193 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
196 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
200 StartBit = Bit; in UsbHcAllocMemFromBlock()
212 Bit = StartBit; in UsbHcAllocMemFromBlock()
215 ASSERT (!USB_HC_BIT_IS_SET (Block->Bits[Byte], Bit)); in UsbHcAllocMemFromBlock()
217 Block->Bits[Byte] = (UINT8) (Block->Bits[Byte] | USB_HC_BIT (Bit)); in UsbHcAllocMemFromBlock()
218 NEXT_BIT (Byte, Bit); in UsbHcAllocMemFromBlock()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/ARM/VExpress/AcpiTables/rtsm_ve-aemv8a/
Dfacp.asl115 [0001] Bit Width : 08
116 [0001] Bit Offset : 00
129 [0001] Bit Width : 20
130 [0001] Bit Offset : 00
136 [0001] Bit Width : 00
137 [0001] Bit Offset : 00
143 [0001] Bit Width : 10
144 [0001] Bit Offset : 00
150 [0001] Bit Width : 00
151 [0001] Bit Offset : 00
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Framework/
DFirmwareVolumeHeader.h77 #define EFI_TEST_FFS_ATTRIBUTES_BIT( FvbAttributes, TestAttributes, Bit) \ argument
79 …tes & EFI_FVB_ERASE_POLARITY) ? (((~TestAttributes) & Bit) == Bit) : ((TestAttributes & Bit) == Bi…
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DUsbHcMem.h21 #define USB_HC_BIT_IS_SET(Data, Bit) \ argument
22 ((BOOLEAN)(((Data) & USB_HC_BIT(Bit)) == USB_HC_BIT(Bit)))
60 #define NEXT_BIT(Byte, Bit) \ argument
62 (Bit)++; \
63 if ((Bit) > 7) { \
65 (Bit) = 0; \
/device/linaro/bootloader/edk2/Omap35xxPkg/InterruptDxe/
DHardwareInterrupt.c127 UINTN Bit; in EnableInterruptSource() local
135 Bit = 1UL << (Source % 32); in EnableInterruptSource()
137 MmioWrite32 (INTCPS_MIR_CLEAR(Bank), Bit); in EnableInterruptSource()
161 UINTN Bit; in DisableInterruptSource() local
169 Bit = 1UL << (Source % 32); in DisableInterruptSource()
171 MmioWrite32 (INTCPS_MIR_SET(Bank), Bit); in DisableInterruptSource()
198 UINTN Bit; in GetInterruptSourceState() local
210 Bit = 1UL << (Source % 32); in GetInterruptSourceState()
212 if ((MmioRead32(INTCPS_MIR(Bank)) & Bit) == Bit) { in GetInterruptSourceState()
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/InterruptDxe/
DHardwareInterrupt.c127 UINTN Bit; in EnableInterruptSource() local
135 Bit = 1UL << (Source % 32); in EnableInterruptSource()
137 MmioWrite32 (INTCPS_MIR_CLEAR(Bank), Bit); in EnableInterruptSource()
161 UINTN Bit; in DisableInterruptSource() local
169 Bit = 1UL << (Source % 32); in DisableInterruptSource()
171 MmioWrite32 (INTCPS_MIR_SET(Bank), Bit); in DisableInterruptSource()
198 UINTN Bit; in GetInterruptSourceState() local
210 Bit = 1UL << (Source % 32); in GetInterruptSourceState()
212 if ((MmioRead32(INTCPS_MIR(Bank)) & Bit) == Bit) { in GetInterruptSourceState()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Include/
DEfiFirmwareFileSystem.h88 #define EFI_TEST_FFS_ATTRIBUTES_BIT(FvbAttributes, TestAttributes, Bit) \ argument
91 …tes & EFI_FVB_ERASE_POLARITY) ? (((~TestAttributes) & Bit) == Bit) : ((TestAttributes & Bit) == Bi…
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/DebugAgentTimerLib/
DDebugAgentTimerLib.c40 UINTN Bit; in EnableInterruptSource() local
46 Bit = 1UL << (gVector % 32); in EnableInterruptSource()
48 MmioWrite32 (INTCPS_MIR_CLEAR(Bank), Bit); in EnableInterruptSource()
57 UINTN Bit; in DisableInterruptSource() local
60 Bit = 1UL << (gVector % 32); in DisableInterruptSource()
62 MmioWrite32 (INTCPS_MIR_SET(Bank), Bit); in DisableInterruptSource()
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/DebugAgentTimerLib/
DDebugAgentTimerLib.c40 UINTN Bit; in EnableInterruptSource() local
46 Bit = 1UL << (gVector % 32); in EnableInterruptSource()
48 MmioWrite32 (INTCPS_MIR_CLEAR(Bank), Bit); in EnableInterruptSource()
57 UINTN Bit; in DisableInterruptSource() local
60 Bit = 1UL << (gVector % 32); in DisableInterruptSource()
62 MmioWrite32 (INTCPS_MIR_SET(Bank), Bit); in DisableInterruptSource()

1234