xref: /linux/arch/s390/include/asm/cmb.h (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef S390_CMB_H
3 #define S390_CMB_H
4 
5 #include <uapi/asm/cmb.h>
6 
7 struct ccw_device;
8 extern int enable_cmf(struct ccw_device *cdev);
9 extern int disable_cmf(struct ccw_device *cdev);
10 extern int __disable_cmf(struct ccw_device *cdev);
11 extern u64 cmf_read(struct ccw_device *cdev, int index);
12 extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data);
13 
14 #endif /* S390_CMB_H */
15