Home
last modified time | relevance | path

Searched refs:msk (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/
Dmeminit_utils.c51 uint32_t msk; in set_rcvn() local
61 msk = (byte_lane & BIT0) ? (BIT23 | BIT22 | BIT21 | BIT20) : (BIT11 | BIT10 | BIT9 | BIT8); in set_rcvn()
63 isbM32m(DDRPHY, reg, tempD, msk); in set_rcvn()
73 msk = (BIT29 | BIT28 | BIT27 | BIT26 | BIT25 | BIT24); in set_rcvn()
75 isbM32m(DDRPHY, reg, tempD, msk); in set_rcvn()
81 msk = 0x00; in set_rcvn()
84 msk |= (byte_lane & BIT0) ? (BIT5) : (BIT2); in set_rcvn()
87 tempD |= msk; in set_rcvn()
90 msk |= (byte_lane & BIT0) ? (BIT11) : (BIT8); in set_rcvn()
93 tempD |= msk; in set_rcvn()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3368/drivers/soc/
Dsoc.h121 #define REG_W_MSK(bits_shift, msk) \ argument
122 ((msk) << ((bits_shift) + 16))
123 #define REG_VAL_CLRBITS(val, bits_shift, msk) \ argument
124 (val & (~(msk << bits_shift)))
125 #define REG_SET_BITS(bits, bits_shift, msk) \ argument
126 (((bits) & (msk)) << (bits_shift))
127 #define REG_WMSK_BITS(bits, bits_shift, msk) \ argument
128 (REG_W_MSK(bits_shift, msk) | \
129 REG_SET_BITS(bits, bits_shift, msk))
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
Dselect.c109 int msk; in selscan() local
120 for (msk = 0, n = 0; msk < 3; msk++) { in selscan()
121 if (ibits[msk] == NULL) in selscan()
124 bits = ibits[ msk ][ i / NFDBITS ]; in selscan()
129 pfd.events = flag[msk]; in selscan()
136 obits[msk][(fd)/NFDBITS] |= in selscan()
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3328/drivers/soc/
Dsoc.h23 #define BITS_WMSK(msk, shift) ((msk) << (shift + REG_MSK_SHIFT)) argument
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/include/
Dplat_private.h54 #define BITS_WITH_WMASK(bits, msk, shift)\ argument
55 (BITS_SHIFT(bits, shift) | BITS_SHIFT(msk, (shift + REG_MSK_SHIFT)))