Searched refs:mtl_pixel_res (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.3-release/sys/dev/terasic/mtl/
H A Dterasic_mtl_fdt.c112 sc->mtl_pixel_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
114 if (sc->mtl_pixel_res == NULL) {
119 if (rman_get_start(sc->mtl_pixel_res) % PAGE_SIZE != 0) {
124 if (rman_get_size(sc->mtl_pixel_res) % PAGE_SIZE != 0) {
130 (void *)rman_get_start(sc->mtl_pixel_res),
131 (void *)(rman_get_start(sc->mtl_pixel_res) +
132 rman_get_size(sc->mtl_pixel_res)));
164 if (sc->mtl_pixel_res != NULL)
166 sc->mtl_pixel_res);
183 sc->mtl_pixel_res);
[all...]
H A Dterasic_mtl_pixel.c77 size = rman_get_size(sc->mtl_pixel_res);
86 v = bus_read_4(sc->mtl_pixel_res, offset);
106 size = rman_get_size(sc->mtl_pixel_res);
115 bus_write_4(sc->mtl_pixel_res, offset, v);
130 rman_get_size(sc->mtl_pixel_res) >= offset + PAGE_SIZE) {
131 *paddr = rman_get_start(sc->mtl_pixel_res) + offset;
H A Dterasic_mtl_nexus.c127 sc->mtl_pixel_res = bus_alloc_resource(dev, SYS_RES_MEMORY,
130 if (sc->mtl_pixel_res == NULL) {
155 if (sc->mtl_pixel_res != NULL)
157 sc->mtl_pixel_res);
174 sc->mtl_pixel_res);
H A Dterasic_mtl.h68 struct resource *mtl_pixel_res; member in struct:terasic_mtl_softc

Completed in 50 milliseconds