Home
last modified time | relevance | path

Searched refs:__KERNEL_DIV_ROUND_UP (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmw_surface_cache.h80 block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, in vmw_surface_get_size_in_blocks()
82 block_size->height = __KERNEL_DIV_ROUND_UP(pixel_size->height, in vmw_surface_get_size_in_blocks()
84 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks()
205 const u32 rowstride = __KERNEL_DIV_ROUND_UP(width, bw) * in vmw_surface_get_pixel_offset()
207 const u32 imgstride = __KERNEL_DIV_ROUND_UP(height, bh) * rowstride; in vmw_surface_get_pixel_offset()
405 __KERNEL_DIV_ROUND_UP(mip->size.width, in vmw_surface_setup_cache()
412 __KERNEL_DIV_ROUND_UP(mip->size.height, in vmw_surface_setup_cache()
Dvmwgfx_resource.c418 pgoff_t end = __KERNEL_DIV_ROUND_UP in vmw_resource_do_validate()
1155 *num_prefault = __KERNEL_DIV_ROUND_UP(last_cleaned - res_start, in vmw_resources_clean()
Dvmwgfx_stdu.c1114 pgoff_t end = __KERNEL_DIV_ROUND_UP(res->guest_memory_offset + in vmw_stdu_primary_plane_prepare_fb()
/linux-6.12.1/include/linux/
Dbitops.h12 #define BITS_TO_LONGS(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(long))
13 #define BITS_TO_U64(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u64))
14 #define BITS_TO_U32(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u32))
15 #define BITS_TO_BYTES(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(char))
Dmath.h37 #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP
/linux-6.12.1/tools/include/uapi/linux/
Dconst.h51 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
/linux-6.12.1/include/uapi/linux/
Dconst.h51 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
Dmroute6.h60 if_mask ifs_bits[__KERNEL_DIV_ROUND_UP(IF_SETSIZE, NIFBITS)];
Dethtool.h1776 __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)];