Lines Matching full:ctrl1
616 static bool chv_pad_is_locked(u32 ctrl1) in chv_pad_is_locked() argument
618 return ctrl1 & CHV_PADCTRL1_CFGLOCK; in chv_pad_is_locked()
630 u32 ctrl0, ctrl1; in chv_pin_dbg_show() local
634 ctrl1 = chv_readl(pctrl, offset, CHV_PADCTRL1); in chv_pin_dbg_show()
648 seq_printf(s, "0x%08x 0x%08x", ctrl0, ctrl1); in chv_pin_dbg_show()
650 if (chv_pad_is_locked(ctrl1)) in chv_pin_dbg_show()
838 u32 ctrl0, ctrl1; in chv_config_get() local
844 ctrl1 = chv_readl(pctrl, pin, CHV_PADCTRL1); in chv_config_get()
900 if (ctrl1 & CHV_PADCTRL1_ODEN) in chv_config_get()
905 if (!(ctrl1 & CHV_PADCTRL1_ODEN)) in chv_config_get()
981 u32 ctrl1; in chv_config_set_oden() local
985 ctrl1 = chv_readl(pctrl, pin, CHV_PADCTRL1); in chv_config_set_oden()
988 ctrl1 |= CHV_PADCTRL1_ODEN; in chv_config_set_oden()
990 ctrl1 &= ~CHV_PADCTRL1_ODEN; in chv_config_set_oden()
992 chv_writel(pctrl, pin, CHV_PADCTRL1, ctrl1); in chv_config_set_oden()
1769 dev_dbg(dev, "restored pin %2u ctrl1 0x%08x\n", desc->number, in chv_pinctrl_resume_noirq()