Home
last modified time | relevance | path

Searched refs:mem_flags (Results 1 – 14 of 14) sorted by relevance

/openbsd-src/sys/dev/pci/drm/i915/gem/
H A Di915_gem_ttm_move.c106 unsigned int mem_flags; in i915_ttm_adjust_gem_after_move() local
117 mem_flags = I915_BO_FLAG_STRUCT_PAGE; in i915_ttm_adjust_gem_after_move()
121 mem_flags = i915_ttm_cpu_maps_iomem(bo->resource) ? I915_BO_FLAG_IOMEM : in i915_ttm_adjust_gem_after_move()
147 obj->mem_flags &= ~(I915_BO_FLAG_STRUCT_PAGE | I915_BO_FLAG_IOMEM); in i915_ttm_adjust_gem_after_move()
148 obj->mem_flags |= mem_flags; in i915_ttm_adjust_gem_after_move()
H A Di915_gem_internal.c160 obj->mem_flags |= I915_BO_FLAG_STRUCT_PAGE; in __i915_gem_object_create_internal()
H A Di915_gem_object_types.h369 unsigned int mem_flags; member
H A Di915_gem_object.c651 return obj->mem_flags & I915_BO_FLAG_STRUCT_PAGE; in i915_gem_object_has_struct_page()
670 return obj->mem_flags & I915_BO_FLAG_IOMEM; in i915_gem_object_has_iomem()
H A Di915_gem_phys.c120 obj->mem_flags &= ~I915_BO_FLAG_STRUCT_PAGE; in i915_gem_object_get_pages_phys()
H A Di915_gem_userptr.c564 obj->mem_flags = I915_BO_FLAG_STRUCT_PAGE; in i915_gem_userptr_ioctl()
H A Di915_gem_shmem.c711 obj->mem_flags |= I915_BO_FLAG_STRUCT_PAGE; in shmem_object_init()
/openbsd-src/sys/dev/usb/dwc2/
H A Ddwc2_hcd.h579 gfp_t mem_flags);
609 gfp_t mem_flags);
824 void *context, gfp_t mem_flags,
H A Ddwc2_hcdqueue.c1513 struct dwc2_hcd_urb *urb, gfp_t mem_flags) in dwc2_qh_init() argument
1549 mem_flags, in dwc2_qh_init()
1651 gfp_t mem_flags) in dwc2_hcd_qh_create() argument
1664 dwc2_qh_init(hsotg, qh, urb, mem_flags); in dwc2_hcd_qh_create()
1667 dwc2_hcd_qh_init_ddma(hsotg, qh, mem_flags) < 0) { in dwc2_hcd_qh_create()
H A Ddwc2_hcdddma.c150 STATIC int dwc2_frame_list_alloc(struct dwc2_hsotg *hsotg, gfp_t mem_flags) in dwc2_frame_list_alloc() argument
353 gfp_t mem_flags) in dwc2_hcd_qh_init_ddma() argument
364 retval = dwc2_desc_list_alloc(hsotg, qh, mem_flags); in dwc2_hcd_qh_init_ddma()
371 retval = dwc2_frame_list_alloc(hsotg, mem_flags); in dwc2_hcd_qh_init_ddma()
H A Ddwc2_hcd.c2547 static int dwc2_alloc_dma_aligned_buffer(struct urb *urb, gfp_t mem_flags)
2566 kmalloc_ptr = kmalloc(kmalloc_size, mem_flags);
2589 gfp_t mem_flags)
2597 ret = dwc2_alloc_dma_aligned_buffer(urb, mem_flags);
2601 ret = usb_hcd_map_urb_for_dma(hcd, urb, mem_flags);
3910 gfp_t mem_flags) in dwc2_hcd_urb_alloc() argument
3916 urb = malloc(size, M_USBHC, M_ZERO | mem_flags); in dwc2_hcd_urb_alloc()
4116 gfp_t mem_flags, int *ttport) in dwc2_host_get_tt_info() argument
4140 mem_flags); in dwc2_host_get_tt_info()
4774 gfp_t mem_flags)
[all …]
/openbsd-src/sys/dev/pci/drm/i915/gem/selftests/
H A Dhuge_gem_object.c122 obj->mem_flags |= I915_BO_FLAG_STRUCT_PAGE; in huge_gem_object()
H A Dhuge_pages.c197 obj->mem_flags |= I915_BO_FLAG_STRUCT_PAGE; in huge_pages_object()
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_object.c929 uint32_t mem_flags = bo->tbo.resource->placement; in amdgpu_bo_pin_restricted() local
936 !(mem_flags & TTM_PL_FLAG_CONTIGUOUS)) in amdgpu_bo_pin_restricted()