Home
last modified time | relevance | path

Searched refs:agp (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/sys/dev/drm2/
H A Ddrm_agpsupport.c55 if (!dev->agp || !dev->agp->acquired) in drm_agp_info()
58 kern = &dev->agp->agp_info; in drm_agp_info()
59 agp_get_info(dev->agp->bridge, kern); in drm_agp_info()
101 if (!dev->agp) in drm_agp_acquire()
103 if (dev->agp->acquired) in drm_agp_acquire()
105 retcode = agp_acquire(dev->agp->bridge); in drm_agp_acquire()
108 dev->agp->acquired = 1; in drm_agp_acquire()
142 if (!dev->agp || !dev->agp->acquired) in drm_agp_release()
144 agp_release(dev->agp->bridge); in drm_agp_release()
145 dev->agp->acquired = 0; in drm_agp_release()
[all …]
H A Ddrm_stub.c308 dev->agp && dev->agp->agp_mtrr >= 0) { in drm_cancel_fill_in_dev()
310 retval = drm_mtrr_del(dev->agp->agp_mtrr, in drm_cancel_fill_in_dev()
311 dev->agp->agp_info.ai_aperture_base, in drm_cancel_fill_in_dev()
312 dev->agp->agp_info.ai_aperture_size, in drm_cancel_fill_in_dev()
316 free(dev->agp, DRM_MEM_AGPLISTS); in drm_cancel_fill_in_dev()
317 dev->agp = NULL; in drm_cancel_fill_in_dev()
450 dev->agp && dev->agp->agp_mtrr >= 0) { in drm_put_dev()
452 retval = drm_mtrr_del(dev->agp->agp_mtrr, in drm_put_dev()
453 dev->agp->agp_info.ai_aperture_base, in drm_put_dev()
454 dev->agp->agp_info.ai_aperture_size, in drm_put_dev()
[all …]
H A Ddrm_memory.c103 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) in drm_core_ioremap()
113 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) in drm_core_ioremap_wc()
127 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) in drm_core_ioremapfree()
H A Ddrm_pci.c283 dev->agp = drm_agp_init(dev); in drm_pci_agp_init()
285 && (dev->agp == NULL)) { in drm_pci_agp_init()
290 if (dev->agp && dev->agp->agp_info.ai_aperture_base != 0) { in drm_pci_agp_init()
291 if (drm_mtrr_add(dev->agp->agp_info.ai_aperture_base, in drm_pci_agp_init()
292 dev->agp->agp_info.ai_aperture_size, DRM_MTRR_WC) == 0) in drm_pci_agp_init()
293 dev->agp->agp_mtrr = 1; in drm_pci_agp_init()
295 dev->agp->agp_mtrr = -1; in drm_pci_agp_init()
H A Ddrm_drv.c202 if (drm_core_has_AGP(dev) && dev->agp && in drm_lastclose()
208 list_for_each_entry_safe(entry, tempe, &dev->agp->memory, head) { in drm_lastclose()
214 INIT_LIST_HEAD(&dev->agp->memory); in drm_lastclose()
216 if (dev->agp->acquired) in drm_lastclose()
219 dev->agp->acquired = 0; in drm_lastclose()
220 dev->agp->enabled = 0; in drm_lastclose()
H A Ddrm_bufs.c355 if (map->offset < dev->agp->base || in drm_addmap_core()
356 map->offset > dev->agp->base + in drm_addmap_core()
357 dev->agp->agp_info.ai_aperture_size * 1024 * 1024 - 1) { in drm_addmap_core()
358 map->offset += dev->agp->base; in drm_addmap_core()
360 map->mtrr = dev->agp->agp_mtrr; /* for getmap */ in drm_addmap_core()
368 list_for_each_entry(entry, &dev->agp->memory, head) { in drm_addmap_core()
375 if (!list_empty(&dev->agp->memory) && !valid) { in drm_addmap_core()
713 agp_offset = dev->agp->base + request->agp_start; in drm_addbufs_agp()
728 list_for_each_entry(agp_entry, &dev->agp->memory, head) { in drm_addbufs_agp()
735 if (!list_empty(&dev->agp->memory) && !valid) { in drm_addbufs_agp()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_aggregate.c447 dt_aggregate_t *agp = &dtp->dt_aggregate; local
449 dt_ahash_t *hash = &agp->dtat_hash;
451 dtrace_bufdesc_t b = agp->dtat_buf, *buf = &b;
453 int flags = agp->dtat_flags;
636 int max_cpus = agp->dtat_maxcpu;
719 dt_aggregate_t *agp = &dtp->dt_aggregate; local
735 if (agp->dtat_buf.dtbd_size == 0)
738 for (i = 0; i < agp->dtat_ncpus; i++) {
739 if ((rval = dt_aggregate_snap_cpu(dtp, agp->dtat_cpus[i])))
1086 dt_aggregate_t *agp = &dtp->dt_aggregate; local
[all …]
/freebsd/sys/conf/
H A Dfiles.i38623 dev/agp/agp_ali.c optional agp
24 dev/agp/agp_amd.c optional agp
25 dev/agp/agp_ati.c optional agp
26 dev/agp/agp_intel.c optional agp
27 dev/agp/agp_nvidia.c optional agp
[all...]
H A Dfiles.x8662 dev/agp/agp_amd64.c optional agp
63 dev/agp/agp_i810.c optional agp
64 dev/agp/agp_via.c optional agp
/freebsd/sys/modules/agp/
H A DMakefile1 .PATH: ${SRCTOP}/sys/dev/agp
3 KMOD= agp
4 SRCS= agp.c agp_if.c
/freebsd/sys/dev/agp/
H A Dagp_if.m31 # The AGP interface is used internally to the agp driver to isolate the
34 # AGP functionality is described in <dev/agp/agpvar.h>
36 INTERFACE agp;
89 # Enable the agp hardware with the relavent mode. The mode bits are
90 # defined in <dev/agp/agpreg.h>
99 # code which is used by certain integrated agp graphics chips
H A Dagp_i810.c61 #include <dev/agp/agppriv.h>
62 #include <dev/agp/agpreg.h>
63 #include <dev/agp/agp_i810.h>
195 struct agp_softc agp; member
683 if (device_find_child(parent, "agp", -1) == NULL && in agp_i810_identify()
685 device_add_child(parent, "agp", DEVICE_UNIT_ANY); in agp_i810_identify()
763 if (resource_disabled("agp", device_get_unit(dev))) in agp_i810_probe()
1709 sc->agp.as_allocated + size > sc->agp.as_maxmem) in agp_i810_alloc_memory()
1741 mem->am_id = sc->agp in agp_i810_alloc_memory()
[all...]
H A Dagp_nvidia.c63 struct agp_softc agp; member
191 apbase = rman_get_start(sc->agp.as_aperture); in agp_nvidia_attach()
257 nvidia_init_iorr(rman_get_start(sc->agp.as_aperture), in agp_nvidia_detach()
448 MODULE_DEPEND(agp_nvidia, agp, 1, 1, 1);
H A Dagp_sis.c49 struct agp_softc agp; member
286 MODULE_DEPEND(agp_sis, agp, 1, 1, 1);
H A Dagp_ali.c49 struct agp_softc agp; member
266 MODULE_DEPEND(agp_ali, agp, 1, 1, 1);
H A Dagp_amd64.c70 struct agp_softc agp; member
377 sc->apbase = rman_get_start(sc->agp.as_aperture); in agp_amd64_apbase_fixup()
511 MODULE_DEPEND(agp_amd64, agp, 1, 1, 1);
H A Dagp_apple.c60 struct agp_softc agp; member
291 MODULE_DEPEND(agp_apple, agp, 1, 1, 1);
H A Dagp_intel.c51 struct agp_softc agp; member
432 MODULE_DEPEND(agp_intel, agp, 1, 1, 1);
H A Dagp_via.c53 struct agp_softc agp; member
421 MODULE_DEPEND(agp_via, agp, 1, 1, 1);
H A Dagp_ati.c61 struct agp_softc agp; member
375 MODULE_DEPEND(agp_ati, agp, 1, 1, 1);
H A Dagp_amd.c69 struct agp_softc agp; member
403 MODULE_DEPEND(agp_amd, agp, 1, 1, 1);
/freebsd/include/
H A DMakefile51 LSUBDIRS= dev/acpica dev/agp dev/ciss dev/filemon dev/firewire \
83 .PATH: ${SRCTOP}/sys/dev/agp
85 AGPDIR= ${INCLUDEDIR}/dev/agp
383 .for i in ${LDIRS} ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/evdev:Ndev/hid:Ndev/hyperv:Ndev/pci:Ndev/ve…
419 .for i in ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/evdev:Ndev/hid:Ndev/hyperv:Ndev/pci:Ndev/veriexec:Nd…
426 ${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ../../../../sys/dev/agp/agpreg.h \
427 ${SDESTDIR}${INCLUDEDIR}/dev/agp; \
/freebsd/tools/kerneldoc/subsys/
H A DDoxyfile-dev_agp12 INPUT = $(DOXYGEN_SRC_PATH)/dev/agp/ \
/freebsd/share/security/
H A Dlomac-policy.contexts14 /dev/agp.* lomac/high
/freebsd/etc/mtree/
H A DBSD.include.dist128 agp

12