blob: ed2630c23f9015ab00dab7040c4b8a8bc421e718 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef S390_CMB_H
2#define S390_CMB_H
Heiko Carstens0680ba02009-01-09 12:14:52 +01003
David Howells9807f752012-10-09 09:47:31 +01004#include <uapi/asm/cmb.h>
Heiko Carstens0680ba02009-01-09 12:14:52 +01005
Cornelia Huck4beb3702005-05-01 08:58:59 -07006struct ccw_device;
Linus Torvalds1da177e2005-04-16 15:20:36 -07007extern int enable_cmf(struct ccw_device *cdev);
Linus Torvalds1da177e2005-04-16 15:20:36 -07008extern int disable_cmf(struct ccw_device *cdev);
Sebastian Ott1bc66642015-09-15 13:11:42 +02009extern int __disable_cmf(struct ccw_device *cdev);
Linus Torvalds1da177e2005-04-16 15:20:36 -070010extern u64 cmf_read(struct ccw_device *cdev, int index);
Cornelia Huckfc5019c2007-10-12 16:11:15 +020011extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data);
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Linus Torvalds1da177e2005-04-16 15:20:36 -070013#endif /* S390_CMB_H */