xref: /linux/arch/s390/include/asm/cmb.h (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
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