Home
last modified time | relevance | path

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

/tf-a-ffa_el3_spmc/plat/rockchip/rk3288/drivers/soc/
A Dsoc.h85 #define REG_W_MSK(bits_shift, msk) \ argument
86 ((msk) << ((bits_shift) + 16))
87 #define REG_VAL_CLRBITS(val, bits_shift, msk) \ argument
88 ((val) & (~((msk) << bits_shift)))
89 #define REG_SET_BITS(bits, bits_shift, msk) \ argument
90 (((bits) & (msk)) << (bits_shift))
91 #define REG_WMSK_BITS(bits, bits_shift, msk) \ argument
92 (REG_W_MSK(bits_shift, msk) | \
93 REG_SET_BITS(bits, bits_shift, msk))
/tf-a-ffa_el3_spmc/plat/rockchip/rk3368/drivers/soc/
A 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))
/tf-a-ffa_el3_spmc/drivers/amlogic/crypto/
A Dsha_dma.c23 #define ASD_DESC_GET(x, msk, off) (((x) >> (off)) & (msk)) argument
24 #define ASD_DESC_SET(x, v, msk, off) \ argument
25 ((x) = ((x) & ~((msk) << (off))) | (((v) & (msk)) << (off)))
/tf-a-ffa_el3_spmc/plat/rockchip/px30/drivers/soc/
A Dsoc.h13 #define BITS_WMSK(msk, shift) ((msk) << (shift + REG_MSK_SHIFT)) argument
/tf-a-ffa_el3_spmc/plat/rockchip/rk3328/drivers/soc/
A Dsoc.h21 #define BITS_WMSK(msk, shift) ((msk) << (shift + REG_MSK_SHIFT)) argument
/tf-a-ffa_el3_spmc/plat/rockchip/common/include/
A Dplat_private.h56 #define BITS_WITH_WMASK(bits, msk, shift)\ argument
57 (BITS_SHIFT(bits, shift) | BITS_SHIFT(msk, (shift + REG_MSK_SHIFT)))
/tf-a-ffa_el3_spmc/drivers/renesas/common/ddr/ddr_b/
A Dboot_init_dram.c684 uint32_t msk; in ddr_setval_s() local
693 msk = 0xffffffff; in ddr_setval_s()
698 tmp = (tmp & (~msk)) | ((val << lsb) & msk); in ddr_setval_s()
707 uint32_t msk; in ddr_getval_s() local
716 msk = 0xffffffff; in ddr_getval_s()
718 msk = ((1U << len) - 1); in ddr_getval_s()
793 uint32_t msk; in ddrtbl_setval() local
803 msk = 0xffffffff; in ddrtbl_setval()
814 tmp = (tmp & (~msk)) | ((val << lsb) & msk); in ddrtbl_setval()
823 uint32_t msk; in ddrtbl_getval() local
[all …]
/tf-a-ffa_el3_spmc/plat/rockchip/px30/drivers/pmu/
A Dpmu.c527 #define CLK_MSK_GATING(msk, con) \ argument
528 mmio_write_32(CRU_BASE + (con), ((msk) << 16) | 0xffff)
529 #define CLK_MSK_UNGATING(msk, con) \ argument
530 mmio_write_32(CRU_BASE + (con), ((~(msk)) << 16) | 0xffff)
/tf-a-ffa_el3_spmc/drivers/st/clk/
A Dstm32mp1_clk.c249 uint8_t msk; member
314 .msk = (_rcc_selr ## _ ## _label ## SRC_MASK) >> \
748 (sel->msk << sel->src)) >> sel->src; in stm32mp1_clk_get_parent()
2102 sel->msk; in get_parent_id_parent()

Completed in 22 milliseconds