Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik.c1208 struct nmk_gpio_chip *nmk_gpio; in find_nmk_gpio_from_pin() local
1211 nmk_gpio = nmk_gpio_chips[i]; in find_nmk_gpio_from_pin()
1212 if (!nmk_gpio) in find_nmk_gpio_from_pin()
1214 if (pin >= nmk_gpio->chip.base && in find_nmk_gpio_from_pin()
1215 pin < nmk_gpio->chip.base + nmk_gpio->chip.ngpio) in find_nmk_gpio_from_pin()
1216 return nmk_gpio; in find_nmk_gpio_from_pin()
1223 struct nmk_gpio_chip *nmk_gpio = find_nmk_gpio_from_pin(pin); in find_gc_from_pin() local
1225 if (nmk_gpio) in find_gc_from_pin()
1226 return &nmk_gpio->chip; in find_gc_from_pin()