Lines Matching +full:in +full:- +full:and +full:- +full:around

17  * copy of this software and associated documentation files (the "Software"),
18 * to deal in the Software without restriction, including without limitation
20 * and/or sell copies of the Software, and to permit persons to whom the
23 * The above copyright notice and this permission notice (including the next
24 * paragraph) shall be included in all copies or substantial portions of the
29 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
30 * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
31 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
32 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
33 * OTHER DEALINGS IN THE SOFTWARE.
46 * FIXME Linux<->FreeBSD: Not implemented. This is never called in agp_remap()
47 * on FreeBSD anyway, because drm_agp_mem->cant_use_aperture is in agp_remap()
53 /** Wrapper around agp_free_memory() */
66 /** Wrapper around agp_bind_memory() */
73 return -EINVAL; in drm_bind_agp()
75 return -agp_bind_memory(agpdev, handle, start * PAGE_SIZE); in drm_bind_agp()
78 /** Wrapper around agp_unbind_memory() */
85 return -EINVAL; in drm_unbind_agp()
87 return -agp_unbind_memory(agpdev, handle); in drm_unbind_agp()
103 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) in drm_core_ioremap()
104 map->handle = agp_remap(map->offset, map->size, dev); in drm_core_ioremap()
106 map->handle = pmap_mapdev(map->offset, map->size); in drm_core_ioremap()
113 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) in drm_core_ioremap_wc()
114 map->handle = agp_remap(map->offset, map->size, dev); in drm_core_ioremap_wc()
116 map->handle = pmap_mapdev_attr(map->offset, map->size, in drm_core_ioremap_wc()
123 if (!map->handle || !map->size) in drm_core_ioremapfree()
127 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP) in drm_core_ioremapfree()
128 vunmap(map->handle); in drm_core_ioremapfree()
130 pmap_unmapdev(map->handle, map->size); in drm_core_ioremapfree()