Home
last modified time | relevance | path

Searched refs:prime (Results 1 – 25 of 60) sorted by relevance

123

/openbmc/linux/include/linux/
H A Dprime_numbers.h21 #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/vmwgfx/
H A Dttm_object.c500 if (prime->refcount_release) in ttm_prime_refcount_release()
523 mutex_lock(&prime->mutex); in ttm_prime_dmabuf_release()
525 prime->dma_buf = NULL; in ttm_prime_dmabuf_release()
526 mutex_unlock(&prime->mutex); in ttm_prime_dmabuf_release()
558 base = &prime->base; in ttm_prime_fd_to_handle()
605 dma_buf = prime->dma_buf; in ttm_prime_handle_to_fd()
611 exp_info.priv = prime; in ttm_prime_handle_to_fd()
628 prime->dma_buf = dma_buf; in ttm_prime_handle_to_fd()
663 mutex_init(&prime->mutex); in ttm_prime_object_init()
665 prime->real_type = type; in ttm_prime_object_init()
[all …]
H A Dvmwgfx_surface.c52 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()
836 user_srf->prime.base.shareable = false; in vmw_surface_define_ioctl()
837 user_srf->prime.base.tfile = NULL; 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()
1564 rep->handle = user_srf->prime.base.handle; in vmw_gb_surface_define_internal()
2056 user_srf->prime.base.shareable = false; in vmw_gb_surface_define()
[all …]
H A Dttm_object.h290 struct ttm_prime_object *prime,
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Dscatterlist.c283 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 Di915_gem_gtt.c419 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 Dhost-boot-enable.sh10 set -- host-prime host-second vrom-prime vrom-second
/openbmc/openbmc/meta-hpe/meta-common/recipes-hpe/host/host-boot-enable/
H A Dhost-boot-enable.sh10 set -- host-prime host-second vrom-prime vrom-second
/openbmc/linux/lib/math/
H A DKconfig9 tristate "Simple prime number generator for testing"
11 This option provides a simple prime number generator for test
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_prime.c307 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/docs/development/
H A Dadd-new-system.md64 system will be called romulus-prime.
116 "romulus-prime-layer"
124 `romulus-prime`.
160 . setup romulus-prime
165 2. Nothing RPROVIDES 'romulus-prime-config'
183 …-ibm/meta-romulus-prime/recipes-phosphor/workbook/romulus-config.bb meta-ibm/meta-romulus-prime/re…
185 vi meta-ibm/meta-romulus-prime/recipes-phosphor/workbook/romulus-prime-config.bb
215 romulus-prime to use the romulus.cfg file. We just need to add the `-prime`
238 vi ./meta-ibm/meta-romulus-prime/conf/machine/romulus-prime.conf
256 ./tmp/deploy/images/romulus-prime/obmc-phosphor-image-romulus-prime.static.mtd
[all …]
/openbmc/openbmc/meta-hpe/meta-dl360-g11/recipes-hpe/host/host-boot-enable/
H A Dhost-boot-enable.sh10 hostPrime=$(findmtd host-prime)
24 vromPrime=$(findmtd vrom-prime)
/openbmc/u-boot/configs/
H A Dorangepi_prime_defconfig12 CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-orangepi-prime"
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-odroidx2.dts12 #include "exynos4412-prime.dtsi"
/openbmc/linux/drivers/accel/ivpu/
H A DTODO9 - Add support for user allocated buffers using prime import and dma-buf heaps
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-lib/
H A Dlibxdmcp_1.1.5.bb6 keyboard, mouse, processor, network interface) is a prime example of an \
/openbmc/linux/include/uapi/linux/
H A Dkeyctl.h82 __s32 prime; member
/openbmc/openbmc/poky/meta/recipes-extended/pam/libpam/pam.d/
H A Dcommon-session14 # prime the stack with a positive return value if there isn't one already;
H A Dcommon-session-noninteractive14 # prime the stack with a positive return value if there isn't one already;
H A Dcommon-auth14 # prime the stack with a positive return value if there isn't one already;
H A Dcommon-password19 # prime the stack with a positive return value if there isn't one already;
H A Dcommon-account20 # 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 Dcommon-session14 # prime the stack with a positive return value if there isn't one already;
H A Dcommon-account23 # prime the stack with a positive return value if there isn't one already;
H A Dcommon-auth22 # prime the stack with a positive return value if there isn't one already;

123