xref: /OK3568_Linux_fs/external/security/librkcrypto/include/rkcrypto_core_int.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * Copyright (c) 2022 Rockchip Electronics Co. Ltd.
3  */
4 #ifndef _RKCRYPTO_CORE_INT_H_
5 #define _RKCRYPTO_CORE_INT_H_
6 
7 #include <sys/ioctl.h>
8 #include "rkcrypto_common.h"
9 #include "rk_cryptodev.h"
10 
11 #ifndef ROUNDUP
12 #define ROUNDUP(x, y) (((x) + ((y) - 1)) & ~((y) - 1))
13 #endif
14 
15 RK_RES rk_crypto_fd_ioctl(uint32_t request, struct crypt_fd_map_op *mop);
16 
17 #endif /* _RKCRYPTO_CORE_INT_H_ */
18