Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformHelperLib/
DPlatformHelperLib.c197 UINT32 GpioNumMask; in PlatformLegacyGpioSetLevel() local
203 GpioNumMask = (1 << GpioNum); in PlatformLegacyGpioSetLevel()
205 RegValue |= (GpioNumMask); in PlatformLegacyGpioSetLevel()
207 RegValue &= ~(GpioNumMask); in PlatformLegacyGpioSetLevel()
231 UINT32 GpioNumMask; in PlatformLegacyGpioGetLevel() local
235 GpioNumMask = (1 << GpioNum); in PlatformLegacyGpioGetLevel()
236 return ((RegValue & GpioNumMask) != 0); in PlatformLegacyGpioGetLevel()
254 UINT8 GpioNumMask; in Pcal9555GetPortRegBit() local
262 GpioNumMask = (UINT8)(1 << GpioNum); in Pcal9555GetPortRegBit()
265 GpioNumMask = (UINT8)(1 << (GpioNum - 8)); in Pcal9555GetPortRegBit()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformPcieHelperLib/
DPlatformPcieHelperLib.c30 UINT32 GpioNumMask; in LegacyGpioSetLevel() local
36 GpioNumMask = (1 << GpioNum); in LegacyGpioSetLevel()
38 RegValue |= (GpioNumMask); in LegacyGpioSetLevel()
40 RegValue &= ~(GpioNumMask); in LegacyGpioSetLevel()