/* * rpmb_driver.h * * rpmb driver function, such as ioctl * * Copyright (C) 2022 Huawei Technologies Co., Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef __RPMB_DRIVER_H #define __RPMB_DRIVER_H #include "rpmb.h" static inline void rpmb_driver_counter_lock(void) { } static inline void rpmb_driver_counter_unlock(void) { } int rpmb_ioctl_cmd(enum func_id id, enum rpmb_op_type operation, struct storage_blk_ioc_rpmb_data *storage_data); #endif