Home
last modified time | relevance | path

Searched refs:pupd (Results 1 – 10 of 10) sorted by relevance

/u-boot/drivers/pinctrl/
A Dpinctrl_stm32.c206 u32 pupd, otype; in stm32_pinctrl_get_pin_muxing() local
218 pupd = (readl(&priv->regs->pupdr) >> (gpio_idx * 2)) & PUPD_MASK; in stm32_pinctrl_get_pin_muxing()
231 pinmux_otype[otype], pinmux_bias[pupd]); in stm32_pinctrl_get_pin_muxing()
236 pinmux_bias[pupd], label ? label : ""); in stm32_pinctrl_get_pin_muxing()
240 pinmux_bias[pupd], label ? label : ""); in stm32_pinctrl_get_pin_muxing()
275 ctl->pupd > 2 || ctl->speed > 3) in stm32_gpio_config()
294 clrsetbits_le32(&regs->pupdr, PUPD_MASK << index, ctl->pupd << index); in stm32_gpio_config()
343 gpio_ctl->pupd = STM32_GPIO_PUPD_UP; in prep_gpio_ctl()
345 gpio_ctl->pupd = STM32_GPIO_PUPD_DOWN; in prep_gpio_ctl()
347 gpio_ctl->pupd = STM32_GPIO_PUPD_NO; in prep_gpio_ctl()
[all …]
A Dpinctrl-stmfx.c106 uint pupd) in stmfx_conf_set_pupd() argument
108 return stmfx_write_reg(dev, STMFX_REG_GPIO_PUPD, offset, pupd); in stmfx_conf_set_pupd()
363 int pupd, type; in stmfx_pinctrl_get_pin_conf() local
378 pupd = stmfx_conf_get_pupd(dev, pin); in stmfx_pinctrl_get_pin_conf()
379 if (pupd < 0) in stmfx_pinctrl_get_pin_conf()
382 if (pupd) in stmfx_pinctrl_get_pin_conf()
/u-boot/arch/arm/include/asm/arch-stm32/
A Dgpio.h63 enum stm32_gpio_pupd pupd; member
/u-boot/arch/arm/mach-stm32mp/include/mach/
A Dgpio.h64 enum stm32_gpio_pupd pupd; member
/u-boot/arch/arm/mach-tegra/
A Dpinmux-common.c20 #define pmux_pin_pupd_isvalid(pupd) \ argument
21 (((pupd) >= PMUX_PULL_NORMAL) && ((pupd) <= PMUX_PULL_UP))
190 void pinmux_set_pullupdown(enum pmux_pingrp pin, enum pmux_pull pupd) in pinmux_set_pullupdown() argument
197 assert(pmux_pin_pupd_isvalid(pupd)); in pinmux_set_pullupdown()
201 val |= (pupd << PULL_SHIFT(pin)); in pinmux_set_pullupdown()
/u-boot/arch/arm/mach-tegra/tegra20/
A Dfuncmux.c16 #define PINMUX(grp, mux, pupd, tri) \ argument
17 {PMUX_PINGRP_##grp, PMUX_FUNC_##mux, PMUX_PULL_##pupd, PMUX_TRI_##tri}
A Dpinmux.c257 #define PINALL(pingrp, f0, f1, f2, f3, mux, pupd) \ argument
266 .pull_id = pupd \
274 #define PINP(pingrp, f0, f1, f2, f3, pupd) \ argument
275 PINALL(pingrp, f0, f1, f2, f3, MUXCTL_##pingrp, PUCTL_##pupd)
/u-boot/arch/arm/include/asm/arch-tegra/
A Dpinmux.h152 void pinmux_set_pullupdown(enum pmux_pingrp pin, enum pmux_pull pupd);
/u-boot/drivers/gpio/
A Dstm32_gpio.c71 enum stm32_gpio_pupd pupd) in stm32_gpio_set_pupd() argument
76 clrsetbits_le32(&regs->pupdr, PUPD_MASK << bits, pupd << bits); in stm32_gpio_set_pupd()
/u-boot/arch/arm/dts/
A Dda850.dtsi873 compatible = "ti,da850-pupd";

Completed in 18 milliseconds