Lines Matching full:pupd
177 u32 pupd, mask = get_mask(offset); in stmfx_pinconf_get_pupd() local
180 ret = regmap_read(pctl->stmfx->map, reg, &pupd); in stmfx_pinconf_get_pupd()
184 return !!(pupd & mask); in stmfx_pinconf_get_pupd()
188 unsigned int offset, u32 pupd) in stmfx_pinconf_set_pupd() argument
193 return regmap_write_bits(pctl->stmfx->map, reg, mask, pupd ? mask : 0); in stmfx_pinconf_set_pupd()
226 int ret, dir, type, pupd; in stmfx_pinconf_get() local
245 pupd = stmfx_pinconf_get_pupd(pctl, pin); in stmfx_pinconf_get()
246 if (pupd < 0) in stmfx_pinconf_get()
247 return pupd; in stmfx_pinconf_get()
251 if ((!dir && (!type || !pupd)) || (dir && !type)) in stmfx_pinconf_get()
255 if (dir && type && !pupd) in stmfx_pinconf_get()
259 if (type && pupd) in stmfx_pinconf_get()
356 int dir, type, pupd, val; in stmfx_pinconf_dbg_show() local
368 pupd = stmfx_pinconf_get_pupd(pctl, offset); in stmfx_pinconf_dbg_show()
369 if (pupd < 0) in stmfx_pinconf_dbg_show()
379 pupd ? "with" : "without"); in stmfx_pinconf_dbg_show()
386 str_up_down(pupd)); in stmfx_pinconf_dbg_show()
388 seq_printf(s, "%s ", pupd ? "floating" : "analog"); in stmfx_pinconf_dbg_show()