linux/drivers/gpu/drm/arm/display/include/malidp_utils.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * (C) COPYRIGHT 2018 ARM Limited. All rights reserved.
 * Author: James.Qian.Wang <[email protected]>
 *
 */
#ifndef _MALIDP_UTILS_
#define _MALIDP_UTILS_

#include <linux/delay.h>
#include <linux/errno.h>

#define has_bit(nr, mask)
#define has_bits(bits, mask)

#define dp_wait_cond(__cond, __tries, __min_range, __max_range)

/* the restriction of range is [start, end] */
struct malidp_range {};

static inline void set_range(struct malidp_range *rg, u32 start, u32 end)
{}

static inline bool malidp_in_range(struct malidp_range *rg, u32 v)
{}

#endif /* _MALIDP_UTILS_ */