forked from mirrors/linux
		
	 f89f9c56e7
			
		
	
	
		f89f9c56e7
		
	
	
	
	
		
			
			Apple SoCs such as the M1 come with various co-processors. Mailboxes are used to communicate with those. This driver adds support for two variants of those mailboxes. Signed-off-by: Sven Peter <sven@svenpeter.dev> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			359 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			359 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0-only OR MIT */
 | |
| /*
 | |
|  * Apple mailbox message format
 | |
|  *
 | |
|  * Copyright (C) 2021 The Asahi Linux Contributors
 | |
|  */
 | |
| 
 | |
| #ifndef _LINUX_APPLE_MAILBOX_H_
 | |
| #define _LINUX_APPLE_MAILBOX_H_
 | |
| 
 | |
| #include <linux/types.h>
 | |
| 
 | |
| /* encodes a single 96bit message sent over the single channel */
 | |
| struct apple_mbox_msg {
 | |
| 	u64 msg0;
 | |
| 	u32 msg1;
 | |
| };
 | |
| 
 | |
| #endif
 |