Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef S390_CMB_H |
| 2 | #define S390_CMB_H |
Heiko Carstens | 0680ba0 | 2009-01-09 12:14:52 +0100 | [diff] [blame] | 3 | |
David Howells | 9807f75 | 2012-10-09 09:47:31 +0100 | [diff] [blame] | 4 | #include <uapi/asm/cmb.h> |
Heiko Carstens | 0680ba0 | 2009-01-09 12:14:52 +0100 | [diff] [blame] | 5 | |
Cornelia Huck | 4beb370 | 2005-05-01 08:58:59 -0700 | [diff] [blame] | 6 | struct ccw_device; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | extern int enable_cmf(struct ccw_device *cdev); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | extern int disable_cmf(struct ccw_device *cdev); |
Sebastian Ott | 1bc6664 | 2015-09-15 13:11:42 +0200 | [diff] [blame] | 9 | extern int __disable_cmf(struct ccw_device *cdev); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | extern u64 cmf_read(struct ccw_device *cdev, int index); |
Cornelia Huck | fc5019c | 2007-10-12 16:11:15 +0200 | [diff] [blame] | 11 | extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #endif /* S390_CMB_H */ |