Searched refs:nmk_gpio (Results 1 – 1 of 1) sorted by relevance
541 struct nmk_gpio_chip *nmk_gpio; in find_nmk_gpio_from_pin() local545 nmk_gpio = nmk_gpio_chips[i]; in find_nmk_gpio_from_pin()546 if (!nmk_gpio) in find_nmk_gpio_from_pin()548 if (pin >= j && pin < j + nmk_gpio->chip.ngpio) { in find_nmk_gpio_from_pin()551 return nmk_gpio; in find_nmk_gpio_from_pin()553 j += nmk_gpio->chip.ngpio; in find_nmk_gpio_from_pin()560 struct nmk_gpio_chip *nmk_gpio = find_nmk_gpio_from_pin(pin, NULL); in find_gc_from_pin() local562 if (nmk_gpio) in find_gc_from_pin()563 return &nmk_gpio->chip; in find_gc_from_pin()