Home
last modified time | relevance | path

Searched refs:pin_num (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/pinctrl/exynos/
Dpinctrl-exynos.c73 unsigned int count, idx, pin_num; in exynos_pinctrl_set_state() local
94 reg = pin_to_bank_base(dev, name, &pin_num); in exynos_pinctrl_set_state()
98 value &= ~(0xf << (pin_num << 2)); in exynos_pinctrl_set_state()
99 value |= (pinfunc << (pin_num << 2)); in exynos_pinctrl_set_state()
105 value &= ~(0x3 << (pin_num << 1)); in exynos_pinctrl_set_state()
106 value |= (pinpud << (pin_num << 1)); in exynos_pinctrl_set_state()
112 value &= ~(0x3 << (pin_num << 1)); in exynos_pinctrl_set_state()
113 value |= (pindrv << (pin_num << 1)); in exynos_pinctrl_set_state()
/external/u-boot/drivers/gpio/
Dzynq_gpio.c162 static inline void zynq_gpio_get_bank_pin(unsigned int pin_num, in zynq_gpio_get_bank_pin() argument
171 if ((pin_num >= priv->p_data->bank_min[bank]) && in zynq_gpio_get_bank_pin()
172 (pin_num <= priv->p_data->bank_max[bank])) { in zynq_gpio_get_bank_pin()
174 *bank_pin_num = pin_num - in zynq_gpio_get_bank_pin()