Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/mvebu/
H A Dpinctrl-orion.c33 unsigned shift = (pid % MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in orion_mpp_ctrl_get()
36 unsigned off = (pid / MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in orion_mpp_ctrl_get()
49 unsigned shift = (pid % MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in orion_mpp_ctrl_set()
52 unsigned off = (pid / MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in orion_mpp_ctrl_set()
H A Dpinctrl-mvebu.c61 unsigned off = (pid / MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in mvebu_mmio_mpp_ctrl_get()
62 unsigned shift = (pid % MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in mvebu_mmio_mpp_ctrl_get()
72 unsigned off = (pid / MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in mvebu_mmio_mpp_ctrl_set()
73 unsigned shift = (pid % MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in mvebu_mmio_mpp_ctrl_set()
795 unsigned off = (pid / MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in mvebu_regmap_mpp_ctrl_get()
796 unsigned shift = (pid % MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in mvebu_regmap_mpp_ctrl_get()
812 unsigned off = (pid / MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in mvebu_regmap_mpp_ctrl_set()
813 unsigned shift = (pid % MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in mvebu_regmap_mpp_ctrl_set()
H A Dpinctrl-dove.c66 unsigned off = (pid / MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in dove_pmu_mpp_ctrl_get()
67 unsigned shift = (pid % MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in dove_pmu_mpp_ctrl_get()
84 unsigned off = (pid / MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in dove_pmu_mpp_ctrl_set()
85 unsigned shift = (pid % MVEBU_MPPS_PER_REG) * MVEBU_MPP_BITS; in dove_pmu_mpp_ctrl_set()
H A Dpinctrl-mvebu.h193 #define MVEBU_MPPS_PER_REG 8 macro
H A Dpinctrl-armada-xp.c546 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_suspend()
560 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_resume()
622 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_probe()