blob: 806eac12e3bda71c3921c4b9d56a3a79ca46a121 [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);
Linus Torvalds1da177e2005-04-16 15:20:36 -07009extern u64 cmf_read(struct ccw_device *cdev, int index);
Cornelia Huckfc5019c2007-10-12 16:11:15 +020010extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data);
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#endif /* S390_CMB_H */