Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/mvebu/
H A Dpinctrl-orion.c37 *config = (readl(mpp_base + off) >> shift) & MVEBU_MPP_MASK; in orion_mpp_ctrl_get()
40 *config = (readl(high_mpp_base) >> shift) & MVEBU_MPP_MASK; in orion_mpp_ctrl_get()
53 u32 reg = readl(mpp_base + off) & ~(MVEBU_MPP_MASK << shift); in orion_mpp_ctrl_set()
57 u32 reg = readl(high_mpp_base) & ~(MVEBU_MPP_MASK << shift); in orion_mpp_ctrl_set()
H A Dpinctrl-mvebu.c64 *config = (readl(data->base + off) >> shift) & MVEBU_MPP_MASK; in mvebu_mmio_mpp_ctrl_get()
76 reg = readl(data->base + off) & ~(MVEBU_MPP_MASK << shift); in mvebu_mmio_mpp_ctrl_set()
804 *config = (val >> shift) & MVEBU_MPP_MASK; in mvebu_regmap_mpp_ctrl_get()
816 MVEBU_MPP_MASK << shift, config << shift); in mvebu_regmap_mpp_ctrl_set()
H A Dpinctrl-mvebu.h195 #define MVEBU_MPP_MASK 0xf macro
H A Dpinctrl-dove.c75 *config = (func >> shift) & MVEBU_MPP_MASK; in dove_pmu_mpp_ctrl_get()
96 func &= ~(MVEBU_MPP_MASK << shift); in dove_pmu_mpp_ctrl_set()
97 func |= (config & MVEBU_MPP_MASK) << shift; in dove_pmu_mpp_ctrl_set()