Searched refs:padcfg (Results 1 – 2 of 2) sorted by relevance
335 static u32 jh7110_padcfg_ds_to_mA(u32 padcfg) in jh7110_padcfg_ds_to_mA() argument337 return jh7110_drive_strength_mA[(padcfg >> 1) & 3U]; in jh7110_padcfg_ds_to_mA()381 u32 padcfg, arg; in jh7110_pinconf_get() local392 padcfg = readl_relaxed(sfp->base + padcfg_base + 4 * pin); in jh7110_pinconf_get()395 enabled = !(padcfg & JH7110_PADCFG_BIAS); in jh7110_pinconf_get()399 enabled = padcfg & JH7110_PADCFG_PD; in jh7110_pinconf_get()403 enabled = padcfg & JH7110_PADCFG_PU; in jh7110_pinconf_get()408 arg = jh7110_padcfg_ds_to_mA(padcfg); in jh7110_pinconf_get()411 enabled = padcfg & JH7110_PADCFG_IE; in jh7110_pinconf_get()415 enabled = padcfg & JH7110_PADCFG_SMT; in jh7110_pinconf_get()[all …]
310 void __iomem *padcfg; in intel_pin_dbg_show() local332 padcfg = intel_get_padcfg(pctrl, pin, PADCFG2); in intel_pin_dbg_show()333 if (padcfg) in intel_pin_dbg_show()334 seq_printf(s, " 0x%08x", readl(padcfg)); in intel_pin_dbg_show()1773 void __iomem *padcfg; in intel_pinctrl_suspend_noirq() local1784 padcfg = intel_get_padcfg(pctrl, desc->number, PADCFG2); in intel_pinctrl_suspend_noirq()1785 if (padcfg) in intel_pinctrl_suspend_noirq()1786 pads[i].padcfg2 = readl(padcfg); in intel_pinctrl_suspend_noirq()1861 void __iomem *padcfg; in intel_restore_padcfg() local1863 padcfg = intel_get_padcfg(pctrl, pin, reg); in intel_restore_padcfg()[all …]