Home
last modified time | relevance | path

Searched refs:padcfg (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/pinctrl/starfive/
Dpinctrl-starfive-jh7110.c333 static u32 jh7110_padcfg_ds_to_mA(u32 padcfg) in jh7110_padcfg_ds_to_mA() argument
335 return jh7110_drive_strength_mA[(padcfg >> 1) & 3U]; in jh7110_padcfg_ds_to_mA()
379 u32 padcfg, arg; in jh7110_pinconf_get() local
390 padcfg = readl_relaxed(sfp->base + padcfg_base + 4 * pin); in jh7110_pinconf_get()
393 enabled = !(padcfg & JH7110_PADCFG_BIAS); in jh7110_pinconf_get()
397 enabled = padcfg & JH7110_PADCFG_PD; in jh7110_pinconf_get()
401 enabled = padcfg & JH7110_PADCFG_PU; in jh7110_pinconf_get()
406 arg = jh7110_padcfg_ds_to_mA(padcfg); in jh7110_pinconf_get()
409 enabled = padcfg & JH7110_PADCFG_IE; in jh7110_pinconf_get()
413 enabled = padcfg & JH7110_PADCFG_SMT; in jh7110_pinconf_get()
[all …]
/linux-6.12.1/drivers/pinctrl/intel/
Dpinctrl-intel.c331 void __iomem *padcfg; in intel_pin_dbg_show() local
353 padcfg = intel_get_padcfg(pctrl, pin, PADCFG2); in intel_pin_dbg_show()
354 if (padcfg) in intel_pin_dbg_show()
355 seq_printf(s, " 0x%08x", readl(padcfg)); in intel_pin_dbg_show()
1780 void __iomem *padcfg; in intel_pinctrl_suspend_noirq() local
1791 padcfg = intel_get_padcfg(pctrl, desc->number, PADCFG2); in intel_pinctrl_suspend_noirq()
1792 if (padcfg) in intel_pinctrl_suspend_noirq()
1793 pads[i].padcfg2 = readl(padcfg); in intel_pinctrl_suspend_noirq()
1867 void __iomem *padcfg; in intel_restore_padcfg() local
1869 padcfg = intel_get_padcfg(pctrl, pin, reg); in intel_restore_padcfg()
[all …]