Home
last modified time | relevance | path

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

/u-boot/drivers/pinctrl/
A Dpinctrl_stm32.c178 unsigned int gpio_idx; in stm32_pinctrl_get_pin_name() local
181 gpio_dev = stm32_pinctrl_get_gpio_dev(dev, selector, &gpio_idx); in stm32_pinctrl_get_pin_name()
189 gpio_idx); in stm32_pinctrl_get_pin_name()
205 unsigned int gpio_idx; in stm32_pinctrl_get_pin_muxing() local
209 gpio_dev = stm32_pinctrl_get_gpio_dev(dev, selector, &gpio_idx); in stm32_pinctrl_get_pin_muxing()
214 mode = gpio_get_raw_function(gpio_dev, gpio_idx, &label); in stm32_pinctrl_get_pin_muxing()
216 selector, gpio_idx, mode); in stm32_pinctrl_get_pin_muxing()
218 pupd = (readl(&priv->regs->pupdr) >> (gpio_idx * 2)) & PUPD_MASK; in stm32_pinctrl_get_pin_muxing()
219 otype = (readl(&priv->regs->otyper) >> gpio_idx) & OTYPE_MSK; in stm32_pinctrl_get_pin_muxing()
229 af_num = stm32_pinctrl_get_af(gpio_dev, gpio_idx); in stm32_pinctrl_get_pin_muxing()
/u-boot/drivers/gpio/
A Dsandbox.c441 unsigned int gpio_idx; in sb_pinctrl_get_pin_name() local
445 gpio_dev = sb_pinctrl_get_gpio_dev(dev, selector, &gpio_idx); in sb_pinctrl_get_pin_name()
453 gpio_idx); in sb_pinctrl_get_pin_name()
477 unsigned int gpio_idx; in sb_pinctrl_get_pin_muxing() local
482 gpio_dev = sb_pinctrl_get_gpio_dev(dev, selector, &gpio_idx); in sb_pinctrl_get_pin_muxing()
486 function = sb_gpio_get_function(gpio_dev, gpio_idx); in sb_pinctrl_get_pin_muxing()
487 dir_flags = *get_gpio_dir_flags(gpio_dev, gpio_idx); in sb_pinctrl_get_pin_muxing()

Completed in 4 milliseconds