Searched refs:memres (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/arm/freescale/imx/ |
H A D | imx_epit.c | 96 struct resource * memres; member 136 return (bus_read_4(sc->memres, offset)); in RD4() 143 bus_write_4(sc->memres, offset, value); in WR4() 150 bus_write_4(sc->memres, offset, value); in WR4B() 151 bus_barrier(sc->memres, offset, 4, BUS_SPACE_BARRIER_WRITE); in WR4B() 339 struct resource *memres; in epit_probe() local 368 memres = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_UNMAPPED); in epit_probe() 369 if (memres == NULL) in epit_probe() 371 ioaddr = rman_get_start(memres); in epit_probe() 372 bus_free_resource(dev, SYS_RES_MEMORY, memres); in epit_probe() [all …]
|
/freebsd/sys/arm64/freescale/imx/ |
H A D | imx7gpc.c | 49 struct resource *memres; member 193 sc->memres = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &i, in imx7gpc_attach() 195 if (sc->memres == NULL) { in imx7gpc_attach() 203 bus_release_resource(dev, SYS_RES_MEMORY, i, sc->memres); in imx7gpc_attach()
|