Home
last modified time | relevance | path

Searched refs:PULL_SHIFT (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/pinctrl/freescale/
H A Dpinctrl-mxs.h42 #define PULL_SHIFT 5 macro
47 #define PIN_CONFIG_TO_PULL(c) ((c) >> PULL_SHIFT & 0x1)
H A Dpinctrl-mxs.c89 config |= val << PULL_SHIFT | PULL_PRESENT; in mxs_dt_node_to_map()
/openbmc/u-boot/arch/arm/mach-tegra/
H A Dpinmux-common.c88 #define PULL_SHIFT(grp) ((tegra_soc_pingroups[grp].pull_id % 16) * 2) macro
101 #define PULL_SHIFT(pin) 2 macro
199 val &= ~(3 << PULL_SHIFT(pin)); in pinmux_set_pullupdown()
200 val |= (pupd << PULL_SHIFT(pin)); in pinmux_set_pullupdown()