Home
last modified time | relevance | path

Searched refs:uint_fixed_16_16_t (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/i915/display/
H A Dintel_fixed.h16 } uint_fixed_16_16_t; typedef
18 #define FP_16_16_MAX ((uint_fixed_16_16_t){ .val = UINT_MAX })
20 static inline bool is_fixed16_zero(uint_fixed_16_16_t val) in is_fixed16_zero()
25 static inline uint_fixed_16_16_t u32_to_fixed16(u32 val) in u32_to_fixed16()
27 uint_fixed_16_16_t fp = { .val = val << 16 }; in u32_to_fixed16()
34 static inline u32 fixed16_to_u32_round_up(uint_fixed_16_16_t fp) in fixed16_to_u32_round_up()
39 static inline u32 fixed16_to_u32(uint_fixed_16_16_t fp) in fixed16_to_u32()
44 static inline uint_fixed_16_16_t min_fixed16(uint_fixed_16_16_t min1, in min_fixed16()
45 uint_fixed_16_16_t min2) in min_fixed16()
47 uint_fixed_16_16_t min = { .val = min(min1.val, min2.val) }; in min_fixed16()
[all …]
H A Dskl_watermark.c47 uint_fixed_16_16_t plane_blocks_per_line;
48 uint_fixed_16_16_t y_tile_minimum;
1680 static uint_fixed_16_16_t
1685 uint_fixed_16_16_t ret; in skl_wm_method1()
1699 static uint_fixed_16_16_t
1701 uint_fixed_16_16_t plane_blocks_per_line) in skl_wm_method2()
1704 uint_fixed_16_16_t ret; in skl_wm_method2()
1716 static uint_fixed_16_16_t
1722 uint_fixed_16_16_t linetime_us; in intel_get_linetime_us()
1875 uint_fixed_16_16_t method1, method2; in skl_compute_plane_wm()
[all …]