18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef S390_CMB_H 38c2ecf20Sopenharmony_ci#define S390_CMB_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <uapi/asm/cmb.h> 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cistruct ccw_device; 88c2ecf20Sopenharmony_ciextern int enable_cmf(struct ccw_device *cdev); 98c2ecf20Sopenharmony_ciextern int disable_cmf(struct ccw_device *cdev); 108c2ecf20Sopenharmony_ciextern int __disable_cmf(struct ccw_device *cdev); 118c2ecf20Sopenharmony_ciextern u64 cmf_read(struct ccw_device *cdev, int index); 128c2ecf20Sopenharmony_ciextern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data); 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#endif /* S390_CMB_H */ 15