/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmdbuf.c | 154 struct vmw_cmdbuf_man *man; member 196 static int vmw_cmdbuf_startstop(struct vmw_cmdbuf_man *man, u32 context, 198 static int vmw_cmdbuf_preempt(struct vmw_cmdbuf_man *man, u32 context); 206 static int vmw_cmdbuf_cur_lock(struct vmw_cmdbuf_man *man, bool interruptible) in vmw_cmdbuf_cur_lock() argument 209 if (mutex_lock_interruptible(&man->cur_mutex)) in vmw_cmdbuf_cur_lock() 212 mutex_lock(&man->cur_mutex); in vmw_cmdbuf_cur_lock() 223 static void vmw_cmdbuf_cur_unlock(struct vmw_cmdbuf_man *man) in vmw_cmdbuf_cur_unlock() argument 225 mutex_unlock(&man->cur_mutex); in vmw_cmdbuf_cur_unlock() 244 dma_pool_free(header->man->dheaders, dheader, header->handle); in vmw_cmdbuf_header_inline_free() 258 struct vmw_cmdbuf_man *man = header->man; in __vmw_cmdbuf_header_free() local [all …]
|
D | vmwgfx_cmdbuf_res.c | 48 struct vmw_cmdbuf_res_manager *man; member 80 vmw_cmdbuf_res_lookup(struct vmw_cmdbuf_res_manager *man, in vmw_cmdbuf_res_lookup() argument 88 ret = drm_ht_find_item(&man->resources, key, &hash); in vmw_cmdbuf_res_lookup() 104 static void vmw_cmdbuf_res_free(struct vmw_cmdbuf_res_manager *man, in vmw_cmdbuf_res_free() argument 108 WARN_ON(drm_ht_remove_item(&man->resources, &entry->hash)); in vmw_cmdbuf_res_free() 135 list_add_tail(&entry->head, &entry->man->list); in vmw_cmdbuf_res_commit() 168 vmw_cmdbuf_res_free(entry->man, entry); in vmw_cmdbuf_res_revert() 171 ret = drm_ht_insert_item(&entry->man->resources, in vmw_cmdbuf_res_revert() 174 list_add_tail(&entry->head, &entry->man->list); in vmw_cmdbuf_res_revert() 197 int vmw_cmdbuf_res_add(struct vmw_cmdbuf_res_manager *man, in vmw_cmdbuf_res_add() argument [all …]
|
D | vmwgfx_gmrid_manager.c | 48 static struct vmwgfx_gmrid_man *to_gmrid_manager(struct ttm_resource_manager *man) in to_gmrid_manager() argument 50 return container_of(man, struct vmwgfx_gmrid_man, manager); in to_gmrid_manager() 53 static int vmw_gmrid_man_get_node(struct ttm_resource_manager *man, in vmw_gmrid_man_get_node() argument 58 struct vmwgfx_gmrid_man *gman = to_gmrid_manager(man); in vmw_gmrid_man_get_node() 87 static void vmw_gmrid_man_put_node(struct ttm_resource_manager *man, in vmw_gmrid_man_put_node() argument 90 struct vmwgfx_gmrid_man *gman = to_gmrid_manager(man); in vmw_gmrid_man_put_node() 105 struct ttm_resource_manager *man; in vmw_gmrid_man_init() local 112 man = &gman->manager; in vmw_gmrid_man_init() 114 man->func = &vmw_gmrid_manager_func; in vmw_gmrid_man_init() 116 man->use_tt = true; in vmw_gmrid_man_init() [all …]
|
D | vmwgfx_thp.c | 24 static struct vmw_thp_manager *to_thp_manager(struct ttm_resource_manager *man) in to_thp_manager() argument 26 return container_of(man, struct vmw_thp_manager, manager); in to_thp_manager() 49 static int vmw_thp_get_node(struct ttm_resource_manager *man, in vmw_thp_get_node() argument 54 struct vmw_thp_manager *rman = to_thp_manager(man); in vmw_thp_get_node() 68 lpfn = man->size; in vmw_thp_get_node() 111 static void vmw_thp_put_node(struct ttm_resource_manager *man, in vmw_thp_put_node() argument 114 struct vmw_thp_manager *rman = to_thp_manager(man); in vmw_thp_put_node() 148 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_thp_fini() local 149 struct vmw_thp_manager *rman = to_thp_manager(man); in vmw_thp_fini() 153 ttm_resource_manager_set_used(man, false); in vmw_thp_fini() [all …]
|
D | vmwgfx_drv.h | 437 struct vmw_cmdbuf_res_manager *man; member 1331 struct vmw_cmdbuf_res_manager *man, 1336 extern int vmw_shader_remove(struct vmw_cmdbuf_res_manager *man, 1339 extern int vmw_dx_shader_add(struct vmw_cmdbuf_res_manager *man, 1349 vmw_shader_lookup(struct vmw_cmdbuf_res_manager *man, 1356 vmw_dx_streamoutput_lookup(struct vmw_cmdbuf_res_manager *man, 1358 int vmw_dx_streamoutput_add(struct vmw_cmdbuf_res_manager *man, 1363 int vmw_dx_streamoutput_remove(struct vmw_cmdbuf_res_manager *man, 1376 extern void vmw_cmdbuf_res_man_destroy(struct vmw_cmdbuf_res_manager *man); 1379 vmw_cmdbuf_res_lookup(struct vmw_cmdbuf_res_manager *man, [all …]
|
D | vmwgfx_so.h | 144 extern int vmw_view_add(struct vmw_cmdbuf_res_manager *man, 153 extern int vmw_view_remove(struct vmw_cmdbuf_res_manager *man, 164 extern struct vmw_resource *vmw_view_lookup(struct vmw_cmdbuf_res_manager *man,
|
D | vmwgfx_streamoutput.c | 248 vmw_dx_streamoutput_lookup(struct vmw_cmdbuf_res_manager *man, in vmw_dx_streamoutput_lookup() argument 251 return vmw_cmdbuf_res_lookup(man, vmw_cmdbuf_res_streamoutput, in vmw_dx_streamoutput_lookup() 280 int vmw_dx_streamoutput_add(struct vmw_cmdbuf_res_manager *man, in vmw_dx_streamoutput_add() argument 324 ret = vmw_cmdbuf_res_add(man, vmw_cmdbuf_res_streamoutput, user_key, in vmw_dx_streamoutput_add() 358 int vmw_dx_streamoutput_remove(struct vmw_cmdbuf_res_manager *man, in vmw_dx_streamoutput_remove() argument 364 return vmw_cmdbuf_res_remove(man, vmw_cmdbuf_res_streamoutput, in vmw_dx_streamoutput_remove()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_resource.c | 32 struct ttm_resource_manager *man = in ttm_resource_alloc() local 36 if (!man->func || !man->func->alloc) in ttm_resource_alloc() 39 return man->func->alloc(man, bo, place, res); in ttm_resource_alloc() 44 struct ttm_resource_manager *man = in ttm_resource_free() local 47 if (man->func && man->func->free) in ttm_resource_free() 48 man->func->free(man, res); in ttm_resource_free() 63 void ttm_resource_manager_init(struct ttm_resource_manager *man, in ttm_resource_manager_init() argument 68 spin_lock_init(&man->move_lock); in ttm_resource_manager_init() 69 man->size = p_size; in ttm_resource_manager_init() 72 INIT_LIST_HEAD(&man->lru[i]); in ttm_resource_manager_init() [all …]
|
D | ttm_range_manager.c | 52 static inline struct ttm_range_manager *to_range_manager(struct ttm_resource_manager *man) in to_range_manager() argument 54 return container_of(man, struct ttm_range_manager, manager); in to_range_manager() 57 static int ttm_range_man_alloc(struct ttm_resource_manager *man, in ttm_range_man_alloc() argument 62 struct ttm_range_manager *rman = to_range_manager(man); in ttm_range_man_alloc() 71 lpfn = man->size; in ttm_range_man_alloc() 98 static void ttm_range_man_free(struct ttm_resource_manager *man, in ttm_range_man_free() argument 101 struct ttm_range_manager *rman = to_range_manager(man); in ttm_range_man_free() 119 struct ttm_resource_manager *man; in ttm_range_man_init() local 126 man = &rman->manager; in ttm_range_man_init() 127 man->use_tt = use_tt; in ttm_range_man_init() [all …]
|
D | ttm_bo.c | 71 struct ttm_resource_manager *man; in ttm_bo_mem_space_debug() local 81 man = ttm_manager_type(bo->bdev, mem_type); in ttm_bo_mem_space_debug() 82 ttm_resource_manager_debug(man, &p); in ttm_bo_mem_space_debug() 116 struct ttm_resource_manager *man; in ttm_bo_add_mem_to_lru() local 124 man = ttm_manager_type(bdev, mem->mem_type); in ttm_bo_add_mem_to_lru() 125 list_add_tail(&bo->lru, &man->lru[bo->priority]); in ttm_bo_add_mem_to_lru() 127 if (man->use_tt && bo->ttm && in ttm_bo_add_mem_to_lru() 191 struct ttm_resource_manager *man; in ttm_bo_bulk_move_lru_tail() local 199 man = ttm_manager_type(pos->first->bdev, TTM_PL_TT); in ttm_bo_bulk_move_lru_tail() 200 list_bulk_move_tail(&man->lru[i], &pos->first->lru, in ttm_bo_bulk_move_lru_tail() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gtt_mgr.c | 27 static inline struct amdgpu_gtt_mgr *to_gtt_mgr(struct ttm_resource_manager *man) in to_gtt_mgr() argument 29 return container_of(man, struct amdgpu_gtt_mgr, manager); in to_gtt_mgr() 50 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_mem_info_gtt_total_show() local 53 man->size * PAGE_SIZE); in amdgpu_mem_info_gtt_total_show() 69 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_mem_info_gtt_used_show() local 72 amdgpu_gtt_mgr_usage(man)); in amdgpu_mem_info_gtt_used_show() 92 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_gtt_mgr_init() local 96 man->use_tt = true; in amdgpu_gtt_mgr_init() 97 man->func = &amdgpu_gtt_mgr_func; in amdgpu_gtt_mgr_init() 99 ttm_resource_manager_init(man, gtt_size >> PAGE_SHIFT); in amdgpu_gtt_mgr_init() [all …]
|
D | amdgpu_vram_mgr.c | 31 static inline struct amdgpu_vram_mgr *to_vram_mgr(struct ttm_resource_manager *man) in to_vram_mgr() argument 33 return container_of(man, struct amdgpu_vram_mgr, manager); in to_vram_mgr() 88 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_mem_info_vram_used_show() local 91 amdgpu_vram_mgr_usage(man)); in amdgpu_mem_info_vram_used_show() 107 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_mem_info_vis_vram_used_show() local 110 amdgpu_vram_mgr_vis_usage(man)); in amdgpu_mem_info_vis_vram_used_show() 178 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_vram_mgr_init() local 181 ttm_resource_manager_init(man, adev->gmc.real_vram_size >> PAGE_SHIFT); in amdgpu_vram_mgr_init() 183 man->func = &amdgpu_vram_mgr_func; in amdgpu_vram_mgr_init() 185 drm_mm_init(&mgr->mm, 0, man->size); in amdgpu_vram_mgr_init() [all …]
|
D | amdgpu_ttm.h | 107 uint64_t amdgpu_gtt_mgr_usage(struct ttm_resource_manager *man); 108 int amdgpu_gtt_mgr_recover(struct ttm_resource_manager *man); 120 uint64_t amdgpu_vram_mgr_usage(struct ttm_resource_manager *man); 121 uint64_t amdgpu_vram_mgr_vis_usage(struct ttm_resource_manager *man);
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_resource.h | 70 int (*alloc)(struct ttm_resource_manager *man, 85 void (*free)(struct ttm_resource_manager *man, 98 void (*debug)(struct ttm_resource_manager *man, 190 ttm_resource_manager_set_used(struct ttm_resource_manager *man, bool used) in ttm_resource_manager_set_used() argument 192 man->use_type = used; in ttm_resource_manager_set_used() 204 static inline bool ttm_resource_manager_used(struct ttm_resource_manager *man) in ttm_resource_manager_used() argument 206 return man->use_type; in ttm_resource_manager_used() 217 ttm_resource_manager_cleanup(struct ttm_resource_manager *man) in ttm_resource_manager_cleanup() argument 219 dma_fence_put(man->move); in ttm_resource_manager_cleanup() 220 man->move = NULL; in ttm_resource_manager_cleanup() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 35 nouveau_manager_del(struct ttm_resource_manager *man, struct ttm_resource *reg) in nouveau_manager_del() argument 41 nouveau_vram_manager_new(struct ttm_resource_manager *man, in nouveau_vram_manager_new() argument 72 nouveau_gart_manager_new(struct ttm_resource_manager *man, in nouveau_gart_manager_new() argument 95 nv04_gart_manager_new(struct ttm_resource_manager *man, in nv04_gart_manager_new() argument 198 struct ttm_resource_manager *man = kzalloc(sizeof(*man), GFP_KERNEL); in nouveau_ttm_init_vram() local 200 if (!man) in nouveau_ttm_init_vram() 203 man->func = &nouveau_vram_manager; in nouveau_ttm_init_vram() 205 ttm_resource_manager_init(man, in nouveau_ttm_init_vram() 207 ttm_set_driver_manager(&drm->ttm.bdev, TTM_PL_VRAM, man); in nouveau_ttm_init_vram() 208 ttm_resource_manager_set_used(man, true); in nouveau_ttm_init_vram() [all …]
|
/kernel/linux/linux-5.10/tools/kvm/kvm_stat/ |
D | Makefile | 5 MANDIR=usr/share/man 13 all: man 31 man: $(MAN1) target 33 install-man: man 41 install: install-tools install-man 42 .PHONY: all clean man install-tools install-man install
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/ |
D | Makefile | 15 mandir ?= $(prefix)/man 26 man: man8 helpers target 52 install: man helpers-install 53 $(call QUIET_INSTALL, Documentation-man) 58 $(call QUIET_UNINST, Documentation-man) 62 .PHONY: man man8 clean install uninstall 63 .DEFAULT_GOAL := man
|
/kernel/linux/linux-5.10/tools/perf/Documentation/ |
D | Makefile | 45 mandir?=$(prefix)/share/man 57 DOC_REF = origin/man 176 all: html man 182 man: man1 man5 man7 target 191 install: install-man 193 check-man-tools: 198 do-install-man: man 199 $(call QUIET_INSTALL, Documentation-man) \ 207 install-man: check-man-tools man do-install-man 210 DO_INSTALL_MAN = $(warning Please install $(missing_tools) to have the man pages installed) [all …]
|
/kernel/linux/linux-5.10/tools/power/acpi/tools/acpidump/ |
D | Makefile | 11 EXTRA_INSTALL = install-man 12 EXTRA_UNINSTALL = uninstall-man 48 install-man: $(srctree)/man/acpidump.8 51 uninstall-man:
|
/kernel/linux/linux-5.10/drivers/media/i2c/smiapp/ |
D | smiapp-regs.c | 23 uint64_t man; in float_to_u32_mul_1000000() local 52 man = ((phloat & 0x7fffff) | 0x800000) * 1000000ULL; in float_to_u32_mul_1000000() 55 man >>= -exp; in float_to_u32_mul_1000000() 57 man <<= exp; in float_to_u32_mul_1000000() 59 man >>= 23; /* Remove mantissa bias */ in float_to_u32_mul_1000000() 61 return man & 0xffffffff; in float_to_u32_mul_1000000()
|
/kernel/linux/linux-5.10/drivers/atm/ |
D | firestream.c | 440 unsigned int man = -1; /* hush gcc */ in make_rate() local 467 man = 511; in make_rate() 474 man = rate; in make_rate() 477 while (!(man & (1<<31))) { in make_rate() 479 man = man<<1; in make_rate() 486 man = man<<1; in make_rate() 487 man &= 0xffffffffU; /* a nop on 32-bit systems */ in make_rate() 500 man = man>>(32-9); in make_rate() 505 if (man & (~0U>>9)) { in make_rate() 506 man = (man>>(32-9)) + 1; in make_rate() [all …]
|
D | ambassador.c | 877 unsigned int man = -1; // hush gcc in make_rate() local 902 man = 511; in make_rate() 909 man = rate; in make_rate() 912 while (!(man & (1<<31))) { in make_rate() 914 man = man<<1; in make_rate() 920 man = man<<1; in make_rate() 921 man &= 0xffffffffU; // a nop on 32-bit systems in make_rate() 933 man = man>>(32-9); in make_rate() 938 if (man & (~0U>>9)) { in make_rate() 939 man = (man>>(32-9)) + 1; in make_rate() [all …]
|
/kernel/linux/linux-5.10/tools/power/pm-graph/ |
D | Makefile | 29 install -d $(DESTDIR)$(PREFIX)/share/man/man8 30 install bootgraph.8 $(DESTDIR)$(PREFIX)/share/man/man8 31 install sleepgraph.8 $(DESTDIR)$(PREFIX)/share/man/man8 34 rm -f $(DESTDIR)$(PREFIX)/share/man/man8/bootgraph.8 35 rm -f $(DESTDIR)$(PREFIX)/share/man/man8/sleepgraph.8
|
/kernel/linux/linux-5.10/Documentation/bpf/ |
D | index.rst | 15 The primary info for the bpf syscall is available in the `man-pages`_ 87 .. _man-pages: https://www.kernel.org/doc/man-pages/ 88 .. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html 89 .. _bpf-helpers(7): https://man7.org/linux/man-pages/man7/bpf-helpers.7.html
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | lochnagar-hwmon.c | 74 u64 man = data & 0x007FFFFF; in float_to_long() local 79 man = (man + (1 << 23)) * precision; in float_to_long() 81 if (fls64(man) + exp > (int)sizeof(long) * 8 - 1) in float_to_long() 84 result = (man + (1ull << (-exp - 1))) >> -exp; in float_to_long() 86 result = man << exp; in float_to_long()
|