Home
last modified time | relevance | path

Searched refs:pupd (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dpinctrl-stmfx.c172 u32 pupd, mask = get_mask(offset); in stmfx_pinconf_get_pupd() local
175 ret = regmap_read(pctl->stmfx->map, reg, &pupd); in stmfx_pinconf_get_pupd()
179 return !!(pupd & mask); in stmfx_pinconf_get_pupd()
183 unsigned int offset, u32 pupd) in stmfx_pinconf_set_pupd()
188 return regmap_write_bits(pctl->stmfx->map, reg, mask, pupd ? mask : 0); in stmfx_pinconf_set_pupd()
221 int ret, dir, type, pupd; in stmfx_pinconf_get() local
240 pupd = stmfx_pinconf_get_pupd(pctl, pin); in stmfx_pinconf_get()
241 if (pupd < 0) in stmfx_pinconf_get()
242 return pupd; in stmfx_pinconf_get()
246 if ((!dir && (!type || !pupd)) || (di in stmfx_pinconf_get()
182 stmfx_pinconf_set_pupd(struct stmfx_pinctrl *pctl, unsigned int offset, u32 pupd) stmfx_pinconf_set_pupd() argument
351 int dir, type, pupd, val; stmfx_pinconf_dbg_show() local
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinctrl-stmfx.c173 u32 pupd, mask = get_mask(offset); in stmfx_pinconf_get_pupd() local
176 ret = regmap_read(pctl->stmfx->map, reg, &pupd); in stmfx_pinconf_get_pupd()
180 return !!(pupd & mask); in stmfx_pinconf_get_pupd()
184 unsigned int offset, u32 pupd) in stmfx_pinconf_set_pupd()
189 return regmap_write_bits(pctl->stmfx->map, reg, mask, pupd ? mask : 0); in stmfx_pinconf_set_pupd()
222 int ret, dir, type, pupd; in stmfx_pinconf_get() local
241 pupd = stmfx_pinconf_get_pupd(pctl, pin); in stmfx_pinconf_get()
242 if (pupd < 0) in stmfx_pinconf_get()
243 return pupd; in stmfx_pinconf_get()
247 if ((!dir && (!type || !pupd)) || (di in stmfx_pinconf_get()
183 stmfx_pinconf_set_pupd(struct stmfx_pinctrl *pctl, unsigned int offset, u32 pupd) stmfx_pinconf_set_pupd() argument
352 int dir, type, pupd, val; stmfx_pinconf_dbg_show() local
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/tegra/
H A Dpinctrl-tegra194.c82 #define PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_lpbk, e_input, \
108 #define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_lpbk, \
120 PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_lpbk, \
/kernel/linux/linux-5.10/drivers/mfd/
H A Dtps80031.c227 const struct tps80031_pupd_data *pupd = in tps80031_pupd_init() local
230 u8 update_mask = pupd->pulldown_bit | pupd->pullup_bit; in tps80031_pupd_init()
233 update_value = pupd->pulldown_bit; in tps80031_pupd_init()
235 update_value = pupd->pullup_bit; in tps80031_pupd_init()
237 tps80031_update(tps80031->dev, TPS80031_SLAVE_ID1, pupd->reg, in tps80031_pupd_init()
/kernel/linux/linux-6.6/drivers/pinctrl/tegra/
H A Dpinctrl-tegra234.c1425 #define PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, e_input, \
1434 .pupd_reg = PINGROUP_REG_##pupd(r), \
1615 #define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_io_hv, e_lpbk, e_input, e_lpdr, e_pbias_buf, \
1627 PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, \
H A Dpinctrl-tegra194.c1324 #define PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, e_input, \
1334 .pupd_reg = PINGROUP_REG_##pupd(r), \
1571 #define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_io_hv, e_lpbk, e_input, e_lpdr, e_pbias_buf, \
1583 PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_io_hv, e_lpbk, \

Completed in 11 milliseconds