Searched refs:gpio_mem_res (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/mips/atheros/ |
| H A D | ar71xx_gpiovar.h | 45 bus_write_4(sc->gpio_mem_res, (reg), (val)); \ 48 #define GPIO_READ(sc, reg) bus_read_4(sc->gpio_mem_res, (reg)) 65 struct resource *gpio_mem_res; member
|
| H A D | ar71xx_gpio.c | 446 sc->gpio_mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in ar71xx_gpio_attach() 449 if (sc->gpio_mem_res == NULL) { in ar71xx_gpio_attach() 606 if (sc->gpio_mem_res) in ar71xx_gpio_detach() 608 sc->gpio_mem_res); in ar71xx_gpio_detach()
|
| /f-stack/freebsd/mips/atheros/ar531x/ |
| H A D | ar5315_gpiovar.h | 45 bus_write_4(sc->gpio_mem_res, (reg), (val)); \ 48 #define GPIO_READ(sc, reg) bus_read_4(sc->gpio_mem_res, (reg)) 63 struct resource *gpio_mem_res; member
|
| H A D | ar5315_gpio.c | 343 sc->gpio_mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in ar5315_gpio_attach() 346 if (sc->gpio_mem_res == NULL) { in ar5315_gpio_attach() 497 if (sc->gpio_mem_res) in ar5315_gpio_detach() 499 sc->gpio_mem_res); in ar5315_gpio_detach()
|