Searched refs:mtk_gpio_spec (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/mips/mediatek/ |
| H A D | mtk_gpio_v2.c | 90 static struct resource_spec mtk_gpio_spec[] = { variable 258 if (bus_alloc_resources(dev, mtk_gpio_spec, sc->res)) { in mtk_gpio_attach() 321 bus_release_resources(dev, mtk_gpio_spec, sc->res); in mtk_gpio_attach() 336 bus_release_resources(dev, mtk_gpio_spec, sc->res); in mtk_gpio_detach()
|
| H A D | mtk_gpio_v1.c | 105 static struct resource_spec mtk_gpio_spec[] = { variable 267 if (bus_alloc_resources(dev, mtk_gpio_spec, sc->res)) { in mtk_gpio_attach() 331 bus_release_resources(dev, mtk_gpio_spec, sc->res); in mtk_gpio_attach() 346 bus_release_resources(dev, mtk_gpio_spec, sc->res); in mtk_gpio_detach()
|