Home
last modified time | relevance | path

Searched refs:BIT (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DPolicyEntryOperation.h19 #define LOCAL BIT(0)
20 #define REMOTE BIT(1)
21 #define PROTO BIT(2)
22 #define LOCAL_PORT BIT(3)
23 #define REMOTE_PORT BIT(4)
24 #define ICMP_TYPE BIT(5)
25 #define ICMP_CODE BIT(6)
26 #define NAME BIT(7)
27 #define PACKET_FLAG BIT(8)
28 #define ACTION BIT(9)
[all …]
DIpSecConfig.c241 { L"-enable", BIT(1)|BIT(0), BIT(1), BIT(2)|BIT(1)|BIT(0), 0 },
242 { L"-disable", BIT(1)|BIT(0), BIT(1), BIT(2)|BIT(1)|BIT(0), 0 },
243 { L"-status", BIT(1)|BIT(0), BIT(1), BIT(2)|BIT(1)|BIT(0), 0 },
244 { L"-p", BIT(1), 0, BIT(2)|BIT(1)|BIT(0), 0 },
246 { L"-a", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
247 { L"-i", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
248 { L"-d", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
249 { L"-e", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
250 { L"-l", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
251 { L"-f", BIT(0), 0, BIT(2)|BIT(1)|BIT(0), 0 },
[all …]
DIpSecConfig.h33 #define BIT(x) (UINT32) (1 << (x)) macro
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcDhcp4.h128 #define BIT(x) (1 << x) macro
136 (BIT (PXEBC_VENDOR_TAG_MTFTP_IP) | \
137 BIT (PXEBC_VENDOR_TAG_MTFTP_CPORT) | \
138 BIT (PXEBC_VENDOR_TAG_MTFTP_SPORT) | \
139 BIT (PXEBC_VENDOR_TAG_MTFTP_TIMEOUT) | \
140 BIT (PXEBC_VENDOR_TAG_MTFTP_DELAY))
143 (BIT (PXEBC_VENDOR_TAG_DISCOVER_CTRL) | \
144 BIT (PXEBC_VENDOR_TAG_DISCOVER_MCAST) | \
145 BIT (PXEBC_VENDOR_TAG_BOOT_SERVERS) | \
146 BIT (PXEBC_VENDOR_TAG_BOOT_MENU) | \
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.h123 #define BIT(x) (1 << x) macro
129 #define MTFTP_VENDOR_OPTION_BIT_MAP (BIT (PXEBC_VENDOR_TAG_MTFTP_IP) | \
130 BIT (PXEBC_VENDOR_TAG_MTFTP_CPORT) | \
131 BIT (PXEBC_VENDOR_TAG_MTFTP_SPORT) | \
132 BIT (PXEBC_VENDOR_TAG_MTFTP_TIMEOUT) | \
133 BIT (PXEBC_VENDOR_TAG_MTFTP_DELAY))
137 #define DISCOVER_VENDOR_OPTION_BIT_MAP (BIT (PXEBC_VENDOR_TAG_DISCOVER_CTRL) | \
138 BIT (PXEBC_VENDOR_TAG_DISCOVER_MCAST) | \
139 BIT (PXEBC_VENDOR_TAG_BOOT_SERVERS) | \
140 BIT (PXEBC_VENDOR_TAG_BOOT_MENU) | \
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/drivers/
Dhisi_pwrc.c46 #define BIT(x) (0x1 << (x)) macro
69 reg |= BIT(0); in hisi_pwrc_set_cluster_wfi()
73 reg |= BIT(16); in hisi_pwrc_set_cluster_wfi()
101 reg |= BIT(0x1) | BIT(17); in hisi_pwrc_setup()
Dhisi_ipc.c40 #define BIT(x) (0x1 << (x)) macro
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/
DPrintInfo.c27 #define BIT(value, bit) ((value) & ((UINT64) 1) << (bit)) macro
1133 if (BIT (Chara, 0) != 0) { in DisplayBiosCharacteristics()
1137 if (BIT (Chara, 1) != 0) { in DisplayBiosCharacteristics()
1141 if (BIT (Chara, 2) != 0) { in DisplayBiosCharacteristics()
1145 if (BIT (Chara, 3) != 0) { in DisplayBiosCharacteristics()
1149 if (BIT (Chara, 4) != 0) { in DisplayBiosCharacteristics()
1153 if (BIT (Chara, 5) != 0) { in DisplayBiosCharacteristics()
1157 if (BIT (Chara, 6) != 0) { in DisplayBiosCharacteristics()
1161 if (BIT (Chara, 7) != 0) { in DisplayBiosCharacteristics()
1165 if (BIT (Chara, 8) != 0) { in DisplayBiosCharacteristics()
[all …]
DSmbiosViewStrings.uni260 …W_PRINTINFO_BIT3_NOT_ZERO #language en-US "Error, reserved BIT 3 must be zero\r\n"
261 …W_PRINTINFO_BIT4_NOT_ZERO #language en-US "Error, reserved BIT 4 must be zero\r\n"
262 …W_PRINTINFO_BIT5_NOT_ZERO #language en-US "Error, reserved BIT 5 must be zero\r\n"
263 …W_PRINTINFO_BIT6_NOT_ZERO #language en-US "Error, reserved BIT 6 must be zero\r\n"
264 …W_PRINTINFO_BIT7_NOT_ZERO #language en-US "Error, reserved BIT 7 must be zero\r\n"
265 …_PRINTINFO_BIT10_NOT_ZERO #language en-US "Error, reserved BIT 10 must be zero\r\n"
266 …_PRINTINFO_BIT11_NOT_ZERO #language en-US "Error, reserved BIT 11 must be zero\r\n"
267 …_PRINTINFO_BIT12_NOT_ZERO #language en-US "Error, reserved BIT 12 must be zero\r\n"
268 …_PRINTINFO_BIT13_NOT_ZERO #language en-US "Error, reserved BIT 13 must be zero\r\n"
269 …_PRINTINFO_BIT14_NOT_ZERO #language en-US "Error, reserved BIT 14 must be zero\r\n"
[all …]
DQueryTable.c3259 #define BIT(Value, bit) ((Value) & ((UINT32) 1) << (bit)) in PrintBitsInfo() macro
3263 #define CLR_BIT(Value, bit) ((Value) -= (BIT (Value, bit))) in PrintBitsInfo()
3275 if (BIT (Value, Table[Index].Key) != 0) { in PrintBitsInfo()
3395 if (BIT (Type, 7) != 0) { in DisplaySystemEnclosureType()
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gpio/
Dgpio.c44 #define BIT(nr) (1UL << (nr)) macro
103 return !!mmio_read_8(gc_base + (BIT(offset + 2))); in gpio_get_value()
114 mmio_write_8(gc_base + (BIT(offset + 2)), !!value << offset); in gpio_set_value()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c680 #define BIT(x) (0x01 << x) macro
1191 if (T(accelSensorDependencies) & BIT(ACCEL)) { in lsm6dsm_getAccelHwMinOdr()
1203 if (T(accelSensorDependencies) & BIT(GYRO)) { in lsm6dsm_getAccelHwMinOdr()
1210 if (T(accelSensorDependencies) & BIT(MAGN)) { in lsm6dsm_getAccelHwMinOdr()
1217 if (T(accelSensorDependencies) & BIT(PRESS)) { in lsm6dsm_getAccelHwMinOdr()
1222 if (T(accelSensorDependencies) & BIT(TEMP)) { in lsm6dsm_getAccelHwMinOdr()
1277 if (T(accelSensorDependencies) & BIT(MAGN)) { in lsm6dsm_updateAccelOdr()
1289 if (T(accelSensorDependencies) & BIT(PRESS)) { in lsm6dsm_updateAccelOdr()
1299 if (T(accelSensorDependencies) & BIT(TEMP)) { in lsm6dsm_updateAccelOdr()
1333 T(accelSensorDependencies) |= BIT(ACCEL); in lsm6dsm_setAccelPower()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/DefaultExceptionHandlerLib/Arm/
DDefaultExceptionHandler.c33 UINT32 BIT; member
79 for (Index = 0; CpsrChar[Index].BIT != 0; Index++, Str++) { in CpsrString()
81 if ((Cpsr & (1 << CpsrChar[Index].BIT)) != 0) { in CpsrString()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeHttpLib/
DDxeHttpLib.c24 #define BIT(x) (1 << x) macro
234 ASSERT ((UrlParser->FieldBitMap & BIT (HTTP_URI_FIELD_AUTHORITY)) != 0); in NetHttpParseAuthority()
292 UrlParser->FieldBitMap |= BIT (Field); in NetHttpParseAuthority()
513 Parser->FieldBitMap |= BIT (Field); in HttpParseUrl()
522 if ((Parser->FieldBitMap & BIT (HTTP_URI_FIELD_AUTHORITY)) != 0) { in HttpParseUrl()
568 if ((Parser->FieldBitMap & BIT (HTTP_URI_FIELD_HOST)) == 0) { in HttpUrlGetHostName()
627 if ((Parser->FieldBitMap & BIT (HTTP_URI_FIELD_HOST)) == 0) { in HttpUrlGetIp4()
689 if ((Parser->FieldBitMap & BIT (HTTP_URI_FIELD_HOST)) == 0) { in HttpUrlGetIp6()
762 if ((Parser->FieldBitMap & BIT (HTTP_URI_FIELD_PORT)) == 0) { in HttpUrlGetPort()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/
DCommonIncludes.h126 #define BIT(Pos, Value) (1 << (Pos) & (Value))
/device/linaro/bootloader/edk2/EdkShellPkg/
DShellR33.patch9204 if (BIT (chara, 0) != 0) {
9209 if (BIT (chara, 1) != 0) {
9214 if (BIT (chara, 2) != 0) {
9219 if (BIT (chara, 3) != 0) {
9224 if (BIT (chara, 4) != 0) {
9229 if (BIT (chara, 5) != 0) {
9234 if (BIT (chara, 6) != 0) {
9239 if (BIT (chara, 7) != 0) {
9244 if (BIT (chara, 8) != 0) {
9249 if (BIT (chara, 9) != 0) {
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/IA32/
DMpFuncs.S31 #ALSO THIS PROCEDURE IS EXECUTED BY APs ONLY ON 16 BIT MODE. HENCE THIS PROC
DMpFuncs.asm33 ;ALSO THIS PROCEDURE IS EXECUTED BY APs ONLY ON 16 BIT MODE. HENCE THIS PROC
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DMpFuncs.S37 #ALSO THIS PROCEDURE IS EXECUTED BY APs ONLY ON 16 BIT MODE. HENCE THIS PROC
DMpFuncs.asm42 ;ALSO THIS PROCEDURE IS EXECUTED BY APs ONLY ON 16 BIT MODE. HENCE THIS PROC
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/MpServicesOnFrameworkMpServicesThunk/X64/
DMpFuncs.S35 #ALSO THIS PROCEDURE IS EXECUTED BY APs ONLY ON 16 BIT MODE. HENCE THIS PROC
DMpFuncs.asm24 ;ALSO THIS PROCEDURE IS EXECUTED BY APs ONLY ON 16 BIT MODE. HENCE THIS PROC
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DMpFuncs.S38 #ALSO THIS PROCEDURE IS EXECUTED BY APs ONLY ON 16 BIT MODE. HENCE THIS PROC
DMpFuncs.asm39 ;ALSO THIS PROCEDURE IS EXECUTED BY APs ONLY ON 16 BIT MODE. HENCE THIS PROC
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuMpPei/Ia32/
DMpFuncs.asm33 ;ALSO THIS PROCEDURE IS EXECUTED BY APs ONLY ON 16 BIT MODE. HENCE THIS PROC

12