Home
last modified time | relevance | path

Searched refs:MVEBU_MPP_MASK (Results 1 – 3 of 3) sorted by relevance

/drivers/pinctrl/mvebu/
Dpinctrl-orion.c41 *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()
Dpinctrl-mvebu.h178 #define MVEBU_MPP_MASK 0xf macro
186 *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()
Dpinctrl-dove.c90 *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()