Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h74 block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, in vmw_surface_get_size_in_blocks()
76 block_size->height = __KERNEL_DIV_ROUND_UP(pixel_size->height, in vmw_surface_get_size_in_blocks()
78 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks()
199 const u32 rowstride = __KERNEL_DIV_ROUND_UP(width, bw) * in vmw_surface_get_pixel_offset()
201 const u32 imgstride = __KERNEL_DIV_ROUND_UP(height, bh) * rowstride; in vmw_surface_get_pixel_offset()
399 __KERNEL_DIV_ROUND_UP(mip->size.width, in vmw_surface_setup_cache()
406 __KERNEL_DIV_ROUND_UP(mip->size.height, in vmw_surface_setup_cache()
H A Dvmwgfx_resource.c409 pgoff_t end = __KERNEL_DIV_ROUND_UP in vmw_resource_do_validate()
1138 *num_prefault = __KERNEL_DIV_ROUND_UP(last_cleaned - res_start, in vmw_resources_clean()
/openbmc/linux/include/linux/
H A Dbitops.h19 #define BITS_TO_LONGS(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(long))
20 #define BITS_TO_U64(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u64))
21 #define BITS_TO_U32(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(u32))
22 #define BITS_TO_BYTES(nr) __KERNEL_DIV_ROUND_UP(nr, BITS_PER_TYPE(char))
H A Dmath.h37 #define DIV_ROUND_UP __KERNEL_DIV_ROUND_UP
/openbmc/qemu/include/standard-headers/linux/
H A Dconst.h34 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
H A Dethtool.h1567 uint32_t queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)];
/openbmc/qemu/linux-headers/linux/
H A Dconst.h34 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
/openbmc/linux/tools/include/uapi/linux/
H A Dconst.h34 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
/openbmc/linux/include/uapi/linux/
H A Dconst.h34 #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) macro
H A Dmroute6.h60 if_mask ifs_bits[__KERNEL_DIV_ROUND_UP(IF_SETSIZE, NIFBITS)];
H A Dethtool.h1509 __u32 queue_mask[__KERNEL_DIV_ROUND_UP(MAX_NUM_QUEUE, 32)];