Lines Matching refs:pid
59 unsigned int pid, unsigned long *config) in mvebu_mmio_mpp_ctrl_get() argument
61 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()
70 unsigned int pid, unsigned long config) in mvebu_mmio_mpp_ctrl_set() argument
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()
83 struct mvebu_pinctrl *pctl, unsigned pid) in mvebu_pinctrl_find_group_by_pid() argument
87 if (pid >= pctl->groups[n].pins[0] && in mvebu_pinctrl_find_group_by_pid()
88 pid < pctl->groups[n].pins[0] + in mvebu_pinctrl_find_group_by_pid()
618 ctrl->pins[k] = ctrl->pid + k; in mvebu_pinctrl_probe()
677 sprintf(noname_buf, "mpp%d", ctrl->pid+0); in mvebu_pinctrl_probe()
688 sprintf(noname_buf, "mpp%d", ctrl->pid+k); in mvebu_pinctrl_probe()
729 grp = mvebu_pinctrl_find_group_by_pid(pctl, mode->pid); in mvebu_pinctrl_probe()
732 mode->pid); in mvebu_pinctrl_probe()
793 unsigned int pid, unsigned long *config) in mvebu_regmap_mpp_ctrl_get() argument
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()
810 unsigned int pid, unsigned long config) in mvebu_regmap_mpp_ctrl_set() argument
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()