Searched refs:mem_type (Results 1 - 21 of 21) sorted by relevance

/freebsd-10.1-release/sys/dev/drm2/ttm/
H A Dttm_bo.c49 static inline int ttm_mem_type_from_flags(uint32_t flags, uint32_t *mem_type) argument
55 *mem_type = i;
61 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) argument
63 struct ttm_mem_type_manager *man = &bdev->man[mem_type];
72 if (mem_type != TTM_PL_SYSTEM)
79 int i, ret, mem_type; local
86 &mem_type);
90 i, placement->placement[i], mem_type);
91 ttm_mem_type_debug(bo->bdev, mem_type);
169 man = &bdev->man[bo->mem.mem_type];
860 ttm_mem_evict_first(struct ttm_bo_device *bdev, uint32_t mem_type, bool interruptible, bool no_wait_gpu) argument
919 ttm_bo_mem_force_space(struct ttm_buffer_object *bo, uint32_t mem_type, struct ttm_placement *placement, struct ttm_mem_reg *mem, bool interruptible, bool no_wait_gpu) argument
972 ttm_bo_mt_compatible(struct ttm_mem_type_manager *man, uint32_t mem_type, uint32_t proposed_placement, uint32_t *masked_placement) argument
1007 uint32_t mem_type = TTM_PL_SYSTEM; local
1362 ttm_bo_force_list_clean(struct ttm_bo_device *bdev, unsigned mem_type, bool allow_errors) argument
1390 ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument
1420 ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type) argument
[all...]
H A Dttm_bo_util.c52 if (old_mem->mem_type != TTM_PL_SYSTEM) {
57 old_mem->mem_type = TTM_PL_SYSTEM;
64 if (new_mem->mem_type != TTM_PL_SYSTEM) {
119 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
143 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
162 &bo->bdev->man[mem->mem_type];
190 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
224 man = &bdev->man[mem->mem_type];
298 struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type];
335 if ((old_mem->mem_type
[all...]
H A Dttm_bo_api.h107 uint32_t mem_type; member in struct:ttm_mem_reg
557 * @mem_type: The memory type.
575 * @mem_type: The memory type.
598 extern int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type);
604 * @mem_type: The memory type.
619 extern int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type);
H A Dttm_bo_vm.c113 &bdev->man[bo->mem.mem_type];
/freebsd-10.1-release/sys/dev/drm2/radeon/
H A Dradeon_object.h45 * radeon_mem_type_to_domain - return domain corresponding to mem_type
46 * @mem_type: ttm memory type
48 * Returns corresponding domain of the ttm mem_type
50 static inline unsigned radeon_mem_type_to_domain(u32 mem_type) argument
52 switch (mem_type) {
120 extern int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type,
H A Dradeon_ttm.c191 switch (bo->mem.mem_type) {
235 switch (old_mem->mem_type) {
243 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type);
246 switch (new_mem->mem_type) {
254 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type);
373 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) {
377 if ((old_mem->mem_type == TTM_PL_TT &&
378 new_mem->mem_type == TTM_PL_SYSTEM) ||
379 (old_mem->mem_type == TTM_PL_SYSTEM &&
380 new_mem->mem_type
[all...]
H A Dradeon_object.c556 if (bo->tbo.mem.mem_type != TTM_PL_VRAM) {
594 if (bo->mem.mem_type == TTM_PL_VRAM) {
613 int radeon_bo_wait(struct radeon_bo *bo, u32 *mem_type, bool no_wait) argument
621 if (mem_type)
622 *mem_type = bo->tbo.mem.mem_type;
H A Dradeon_gart.c1121 if (mem->mem_type != TTM_PL_SYSTEM) {
1125 if (mem->mem_type == TTM_PL_TT) {
H A Dni.c184 u32 mem_type, running, blackout = 0; local
215 mem_type = (RREG32(MC_SEQ_MISC0) & MC_SEQ_MISC0_GDDR5_MASK) >> MC_SEQ_MISC0_GDDR5_SHIFT;
218 if ((mem_type == MC_SEQ_MISC0_GDDR5_VALUE) && (running == 0)) {
H A Dradeon_pm.c145 if (bo->tbo.mem.mem_type == TTM_PL_VRAM)
/freebsd-10.1-release/sys/dev/ixl/
H A Di40e_hmc.c60 enum i40e_memory_type mem_type; local
80 mem_type = i40e_mem_pd;
83 mem_type = i40e_mem_bp_jumbo;
88 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len,
/freebsd-10.1-release/sys/dev/pdq/
H A Dif_fpa.c125 sc->mem_type = SYS_RES_MEMORY;
126 sc->mem = bus_alloc_resource_any(dev, sc->mem_type, &sc->mem_rid,
H A Dif_fea.c201 sc->mem_type = SYS_RES_MEMORY;
202 sc->mem = bus_alloc_resource_any(dev, sc->mem_type, &sc->mem_rid,
H A Dpdq_freebsd.h118 int mem_type; member in struct:_pdq_os_ctx_t
H A Dpdq_ifsubr.c534 bus_release_resource(dev, sc->mem_type, sc->mem_rid, sc->mem);
/freebsd-10.1-release/sys/xen/interface/hvm/
H A Dhvm_op.h249 uint16_t mem_type; member in struct:xen_hvm_get_mem_type
/freebsd-10.1-release/sys/dev/drm/
H A Ddrm.h947 unsigned int mem_type; member in struct:drm_mm_type_arg
955 unsigned int mem_type; member in struct:drm_mm_init_arg
961 unsigned int mem_type; member in struct:drm_mm_info_arg
/freebsd-10.1-release/sys/dev/drm2/
H A Ddrm.h949 unsigned int mem_type; member in struct:drm_mm_type_arg
957 unsigned int mem_type; member in struct:drm_mm_init_arg
963 unsigned int mem_type; member in struct:drm_mm_info_arg
/freebsd-10.1-release/sys/arm/include/
H A Dpmap.h74 enum mem_type { enum
/freebsd-10.1-release/sys/contrib/rdma/krping/
H A Dkrping.c75 enum mem_type { enum
170 enum mem_type mem;
/freebsd-10.1-release/sys/dev/cxgb/common/
H A Dcxgb_t3_hw.c3945 static int mc7_init(struct mc7 *mc7, unsigned int mc7_clock, int mem_type) argument
3961 const struct mc7_timing_params *p = &mc7_timings[mem_type];
4020 mc7_mode[mem_type]) ||

Completed in 251 milliseconds