Lines Matching refs:padcfg
333 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()
418 arg = !!(padcfg & JH7110_PADCFG_SLEW); in jh7110_pinconf_get()