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