Searched refs:nmk_gpio (Results 1 – 1 of 1) sorted by relevance
1206 struct nmk_gpio_chip *nmk_gpio; in find_nmk_gpio_from_pin() local1209 nmk_gpio = nmk_gpio_chips[i]; in find_nmk_gpio_from_pin()1210 if (!nmk_gpio) in find_nmk_gpio_from_pin()1212 if (pin >= nmk_gpio->chip.base && in find_nmk_gpio_from_pin()1213 pin < nmk_gpio->chip.base + nmk_gpio->chip.ngpio) in find_nmk_gpio_from_pin()1214 return nmk_gpio; in find_nmk_gpio_from_pin()1221 struct nmk_gpio_chip *nmk_gpio = find_nmk_gpio_from_pin(pin); in find_gc_from_pin() local1223 if (nmk_gpio) in find_gc_from_pin()1224 return &nmk_gpio->chip; in find_gc_from_pin()