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
7struct ccw_device;
8extern int enable_cmf(struct ccw_device *cdev);
9extern int disable_cmf(struct ccw_device *cdev);
10extern int __disable_cmf(struct ccw_device *cdev);
11extern u64 cmf_read(struct ccw_device *cdev, int index);
12extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data);
13
14#endif /* S390_CMB_H */
15