Lines Matching refs:ctl_reg
161 val = readl(pctrl->regs + g->ctl_reg); in msm_pinmux_set_mux()
164 writel(val, pctrl->regs + g->ctl_reg); in msm_pinmux_set_mux()
237 val = readl(pctrl->regs + g->ctl_reg); in msm_config_group_get()
358 val = readl(pctrl->regs + g->ctl_reg); in msm_config_group_set()
361 writel(val, pctrl->regs + g->ctl_reg); in msm_config_group_set()
392 val = readl(pctrl->regs + g->ctl_reg); in msm_gpio_direction_input()
394 writel(val, pctrl->regs + g->ctl_reg); in msm_gpio_direction_input()
419 val = readl(pctrl->regs + g->ctl_reg); in msm_gpio_direction_output()
421 writel(val, pctrl->regs + g->ctl_reg); in msm_gpio_direction_output()
476 u32 ctl_reg; in msm_gpio_dbg_show_one() local
486 ctl_reg = readl(pctrl->regs + g->ctl_reg); in msm_gpio_dbg_show_one()
488 is_out = !!(ctl_reg & BIT(g->oe_bit)); in msm_gpio_dbg_show_one()
489 func = (ctl_reg >> g->mux_bit) & 7; in msm_gpio_dbg_show_one()
490 drive = (ctl_reg >> g->drv_bit) & 7; in msm_gpio_dbg_show_one()
491 pull = (ctl_reg >> g->pull_bit) & 3; in msm_gpio_dbg_show_one()