25 lines
		
	
	
	
		
			402 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			25 lines
		
	
	
	
		
			402 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
|   | /*
 | ||
|  |  * IOCTL interface for SCLP | ||
|  |  * | ||
|  |  * Copyright IBM Corp. 2012 | ||
|  |  * | ||
|  |  * Author: Michael Holzheu <holzheu@linux.vnet.ibm.com> | ||
|  |  */ | ||
|  | 
 | ||
|  | #ifndef _ASM_SCLP_CTL_H
 | ||
|  | #define _ASM_SCLP_CTL_H
 | ||
|  | 
 | ||
|  | #include <linux/types.h>
 | ||
|  | 
 | ||
|  | struct sclp_ctl_sccb { | ||
|  | 	__u32	cmdw; | ||
|  | 	__u64	sccb; | ||
|  | } __attribute__((packed)); | ||
|  | 
 | ||
|  | #define SCLP_CTL_IOCTL_MAGIC 0x10
 | ||
|  | 
 | ||
|  | #define SCLP_CTL_SCCB \
 | ||
|  | 	_IOWR(SCLP_CTL_IOCTL_MAGIC, 0x10, struct sclp_ctl_sccb) | ||
|  | 
 | ||
|  | #endif
 |