Searched refs:gic_res (Results 1 – 5 of 5) sorted by relevance
| /freebsd-src/sys/arm/arm/ |
| H A D | gic.h | 53 struct resource * gic_res[3]; member
|
| H A D | gic.c | 153 bus_read_4((_sc)->gic_res[GIC_RES_CPU], (_reg)) 155 bus_write_4((_sc)->gic_res[GIC_RES_CPU], (_reg), (_val)) 158 bus_read_4((_sc)->gic_res[GIC_RES_DIST], (_reg)) 160 bus_write_1((_sc)->gic_res[GIC_RES_DIST], (_reg), (_val)) 162 bus_write_4((_sc)->gic_res[GIC_RES_DIST], (_reg), (_val)) 327 if (bus_alloc_resources(dev, arm_gic_spec, sc->gic_res)) { in arm_gic_attach() 413 bus_release_resources(dev, arm_gic_spec, sc->gic_res); in arm_gic_detach()
|
| H A D | gic_fdt.c | 170 if (sc->base.gic_res[2] == NULL) { in gic_fdt_attach() 176 if (bus_setup_intr(dev, sc->base.gic_res[2], INTR_TYPE_CLK, in gic_fdt_attach()
|
| /freebsd-src/sys/arm64/arm64/ |
| H A D | gic_v3.c | 321 sc->gic_res = malloc( in gic_v3_attach() 322 sizeof(*sc->gic_res) * (sc->gic_redists.nregions + 1), in gic_v3_attach() 327 sc->gic_res[rid] = bus_alloc_resource_any(dev, SYS_RES_MEMORY, in gic_v3_attach() 329 if (sc->gic_res[rid] == NULL) in gic_v3_attach() 336 sc->gic_dist = sc->gic_res[0]; in gic_v3_attach() 348 sc->gic_redists.regions[i] = sc->gic_res[rid]; in gic_v3_attach() 443 bus_release_resource(dev, SYS_RES_MEMORY, rid, sc->gic_res[rid]); in gic_v3_detach() 448 free(sc->gic_res, M_GIC_V3); in gic_v3_detach()
|
| H A D | gic_v3_var.h | 68 struct resource ** gic_res; 62 struct resource ** gic_res; global() member
|