^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef S390_CMB_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define S390_CMB_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include <uapi/asm/cmb.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) struct ccw_device;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) extern int enable_cmf(struct ccw_device *cdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) extern int disable_cmf(struct ccw_device *cdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) extern int __disable_cmf(struct ccw_device *cdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) extern u64 cmf_read(struct ccw_device *cdev, int index);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #endif /* S390_CMB_H */