Lines Matching refs:padcfg
335 static u32 jh7110_padcfg_ds_to_mA(u32 padcfg) in jh7110_padcfg_ds_to_mA() argument
337 return jh7110_drive_strength_mA[(padcfg >> 1) & 3U]; in jh7110_padcfg_ds_to_mA()
381 u32 padcfg, arg; in jh7110_pinconf_get() local
392 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()
420 arg = !!(padcfg & JH7110_PADCFG_SLEW); in jh7110_pinconf_get()