2025-05-10 21:58:58 +08:00

22 lines
340 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __RGA_MMU_INFO_H__
#define __RGA_MMU_INFO_H__
#include "rga.h"
#ifndef MIN
#define MIN(X, Y) ((X)<(Y)?(X):(Y))
#endif
#ifndef MAX
#define MAX(X, Y) ((X)>(Y)?(X):(Y))
#endif
int rga_set_mmu_info(struct rga_reg *reg, struct rga_req *req);
#endif