/drivers/include/drm/drm_fixed.h |
---|
37,6 → 37,7 |
#define dfixed_init(A) { .full = dfixed_const((A)) } |
#define dfixed_init_half(A) { .full = dfixed_const_half((A)) } |
#define dfixed_trunc(A) ((A).full >> 12) |
#define dfixed_frac(A) ((A).full & ((1 << 12) - 1)) |
static inline u32 dfixed_floor(fixed20_12 A) |
{ |