Searched refs:MVEBU_MPP_MASK (Results 1 – 3 of 3) sorted by relevance
41 *config = (readl(mpp_base + off) >> shift) & MVEBU_MPP_MASK; in orion_mpp_ctrl_get()44 *config = (readl(high_mpp_base) >> shift) & MVEBU_MPP_MASK; in orion_mpp_ctrl_get()56 u32 reg = readl(mpp_base + off) & ~(MVEBU_MPP_MASK << shift); in orion_mpp_ctrl_set()60 u32 reg = readl(high_mpp_base) & ~(MVEBU_MPP_MASK << shift); in orion_mpp_ctrl_set()
178 #define MVEBU_MPP_MASK 0xf macro186 *config = (readl(base + off) >> shift) & MVEBU_MPP_MASK; in default_mpp_ctrl_get()198 reg = readl(base + off) & ~(MVEBU_MPP_MASK << shift); in default_mpp_ctrl_set()
90 *config = (func >> shift) & MVEBU_MPP_MASK; in dove_pmu_mpp_ctrl_get()110 func &= ~(MVEBU_MPP_MASK << shift); in dove_pmu_mpp_ctrl_set()111 func |= (config & MVEBU_MPP_MASK) << shift; in dove_pmu_mpp_ctrl_set()