/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | ttm_object.c | 494 struct ttm_prime_object *prime; in ttm_prime_refcount_release() local 497 prime = container_of(base, struct ttm_prime_object, base); in ttm_prime_refcount_release() 498 BUG_ON(prime->dma_buf != NULL); in ttm_prime_refcount_release() 499 mutex_destroy(&prime->mutex); in ttm_prime_refcount_release() 500 if (prime->refcount_release) in ttm_prime_refcount_release() 501 prime->refcount_release(&base); in ttm_prime_refcount_release() 516 struct ttm_prime_object *prime = in ttm_prime_dmabuf_release() local 518 struct ttm_base_object *base = &prime->base; in ttm_prime_dmabuf_release() 523 mutex_lock(&prime->mutex); in ttm_prime_dmabuf_release() 524 if (prime->dma_buf == dma_buf) in ttm_prime_dmabuf_release() [all …]
|
H A D | vmwgfx_surface.c | 52 struct ttm_prime_object prime; member 650 prime.base)->srf.res); in vmw_user_surface_base_to_res() 670 ttm_prime_object_kfree(user_srf, prime); in vmw_user_surface_free() 686 container_of(base, struct vmw_user_surface, prime.base); in vmw_user_surface_base_release() 836 user_srf->prime.base.shareable = false; in vmw_surface_define_ioctl() 837 user_srf->prime.base.tfile = NULL; in vmw_surface_define_ioctl() 873 ret = ttm_prime_object_init(tfile, res->guest_memory_size, &user_srf->prime, in vmw_surface_define_ioctl() 883 rep->sid = user_srf->prime.base.handle; in vmw_surface_define_ioctl() 892 ttm_prime_object_kfree(user_srf, prime); in vmw_surface_define_ioctl() 934 prime.base); in vmw_surface_handle_reference() [all …]
|
H A D | ttm_object.h | 290 struct ttm_prime_object *prime,
|
/openbmc/linux/include/linux/ |
H A D | prime_numbers.h | 21 #define for_each_prime_number(prime, max) \ argument 22 for_each_prime_number_from((prime), 2, (max)) 35 #define for_each_prime_number_from(prime, from, max) \ argument 36 for (prime = (from); prime <= (max); prime = next_prime_number(prime))
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | scatterlist.c | 283 unsigned long prime; in igt_sg_alloc() local 286 for_each_prime_number(prime, max_order) { in igt_sg_alloc() 287 unsigned long size = BIT(prime); in igt_sg_alloc() 330 unsigned long prime; in igt_sg_trim() local 333 for_each_prime_number(prime, max) { in igt_sg_trim() 341 err = alloc_table(&pt, prime, max, *npages, &prng, in igt_sg_trim() 349 if (pt.st.orig_nents != prime || in igt_sg_trim() 350 pt.st.nents != prime) { in igt_sg_trim() 352 pt.st.nents, pt.st.orig_nents, prime); in igt_sg_trim() 369 if (prime > SG_MAX_SINGLE_ALLOC) in igt_sg_trim()
|
H A D | i915_gem_gtt.c | 419 unsigned long npages, prime, flags; in fill_hole() local 430 for_each_prime_number_from(prime, 2, max_step) { in fill_hole() 431 for (npages = 1; npages <= max_pages; npages *= prime) { in fill_hole() 474 __func__, p->name, err, npages, prime, offset); in fill_hole() 553 __func__, p->name, err, npages, prime, offset); in fill_hole() 616 __func__, npages, prime)) { in fill_hole() 983 unsigned long prime; in shrink_hole() local 989 for_each_prime_number_from(prime, 0, ULONG_MAX - 1) { in shrink_hole() 990 vm->fault_attr.interval = prime; in shrink_hole()
|
/openbmc/openbmc/meta-hpe/meta-dl360poc/recipes-hpe/host/host-boot-enable/ |
H A D | host-boot-enable.sh | 10 set -- host-prime host-second vrom-prime vrom-second
|
/openbmc/openbmc/meta-hpe/meta-common/recipes-hpe/host/host-boot-enable/ |
H A D | host-boot-enable.sh | 10 set -- host-prime host-second vrom-prime vrom-second
|
/openbmc/docs/development/ |
H A D | add-new-system.md | 64 system will be called romulus-prime. 80 To create our new romulus-prime system we are going to start out by copying our 84 cp -R meta-ibm/meta-romulus meta-ibm/meta-romulus-prime 89 1. meta-ibm/meta-romulus-prime/conf/bblayers.conf.sample 91 This file defines the layers to pull into the meta-romulus-prime 97 meta-romulus to meta-romulus-prime. This will ensure your new layer is used 100 2. meta-ibm/meta-romulus-prime/conf/conf-notes.txt 106 3. meta-ibm/meta-romulus-prime/conf/layer.conf 116 "romulus-prime-layer" 118 4. meta-ibm/meta-romulus-prime/conf/local.conf.sample [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_prime.c | 307 mutex_lock(&file_priv->prime.lock); in drm_gem_prime_fd_to_handle() 309 ret = drm_prime_lookup_buf_handle(&file_priv->prime, in drm_gem_prime_fd_to_handle() 338 ret = drm_prime_add_buf_handle(&file_priv->prime, in drm_gem_prime_fd_to_handle() 340 mutex_unlock(&file_priv->prime.lock); in drm_gem_prime_fd_to_handle() 359 mutex_unlock(&file_priv->prime.lock); in drm_gem_prime_fd_to_handle() 434 mutex_lock(&file_priv->prime.lock); in drm_gem_prime_handle_to_fd() 441 dmabuf = drm_prime_lookup_buf_by_handle(&file_priv->prime, handle); in drm_gem_prime_handle_to_fd() 478 ret = drm_prime_add_buf_handle(&file_priv->prime, in drm_gem_prime_handle_to_fd() 506 mutex_unlock(&file_priv->prime.lock); in drm_gem_prime_handle_to_fd()
|
/openbmc/linux/lib/math/ |
H A D | Kconfig | 9 tristate "Simple prime number generator for testing" 11 This option provides a simple prime number generator for test
|
/openbmc/openbmc/meta-hpe/meta-dl360-g11/recipes-hpe/host/host-boot-enable/ |
H A D | host-boot-enable.sh | 10 hostPrime=$(findmtd host-prime) 24 vromPrime=$(findmtd vrom-prime)
|
/openbmc/u-boot/configs/ |
H A D | orangepi_prime_defconfig | 12 CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-orangepi-prime"
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-odroidx2.dts | 12 #include "exynos4412-prime.dtsi"
|
/openbmc/linux/drivers/accel/ivpu/ |
H A D | TODO | 9 - Add support for user allocated buffers using prime import and dma-buf heaps
|
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-lib/ |
H A D | libxdmcp_1.1.5.bb | 6 keyboard, mouse, processor, network interface) is a prime example of an \
|
/openbmc/linux/include/uapi/linux/ |
H A D | keyctl.h | 82 __s32 prime; member
|
/openbmc/openbmc/poky/meta/recipes-extended/pam/libpam/pam.d/ |
H A D | common-session | 14 # prime the stack with a positive return value if there isn't one already;
|
H A D | common-session-noninteractive | 14 # prime the stack with a positive return value if there isn't one already;
|
H A D | common-auth | 14 # prime the stack with a positive return value if there isn't one already;
|
H A D | common-password | 19 # prime the stack with a positive return value if there isn't one already;
|
H A D | common-account | 20 # prime the stack with a positive return value if there isn't one already;
|
/openbmc/openbmc/meta-phosphor/recipes-extended/pam/libpam/pam.d/ |
H A D | common-session | 14 # prime the stack with a positive return value if there isn't one already;
|
H A D | common-account | 23 # prime the stack with a positive return value if there isn't one already;
|
/openbmc/linux/drivers/md/ |
H A D | dm-region-hash.c | 71 unsigned int prime; member 207 rh->prime = RH_HASH_MULT; in dm_region_hash_create() 271 return (unsigned int) ((region * rh->prime) >> rh->shift) & rh->mask; in rh_hash()
|