mirror of
				https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
				synced 2025-10-31 16:18:51 +01:00 
			
		
		
		
	Fixed MTP to work with TWRP
This commit is contained in:
		
						commit
						f6dfaef42e
					
				
					 50820 changed files with 20846062 additions and 0 deletions
				
			
		
							
								
								
									
										35
									
								
								drivers/misc/samsung/scsc/servman_messages.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								drivers/misc/samsung/scsc/servman_messages.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,35 @@ | |||
| /****************************************************************************
 | ||||
|  * | ||||
|  * Copyright (c) 2014 - 2016 Samsung Electronics Co., Ltd. All rights reserved | ||||
|  * | ||||
|  ****************************************************************************/ | ||||
| 
 | ||||
| #ifndef SERVMAN_MESSAGES_H__ | ||||
| #define SERVMAN_MESSAGES_H__ | ||||
| 
 | ||||
| #include <scsc/scsc_mifram.h> | ||||
| /**
 | ||||
|  * Maxwell Service Management Messages. | ||||
|  * | ||||
|  * TODO: common defn with host, generated. | ||||
|  */ | ||||
| enum { | ||||
| 	SM_MSG_START_REQ, | ||||
| 	SM_MSG_START_CFM, | ||||
| 	SM_MSG_STOP_REQ, | ||||
| 	SM_MSG_STOP_CFM, | ||||
| } sm_msg; | ||||
| 
 | ||||
| /* Transport format for service management messages across the
 | ||||
|  * Maxwell management transport. | ||||
|  * | ||||
|  * TODO: common defn with host, generated. | ||||
|  */ | ||||
| struct sm_msg_packet { | ||||
| 	uint8_t         service_id; | ||||
| 	uint8_t         msg; | ||||
| 	scsc_mifram_ref optional_data; | ||||
| } __packed; | ||||
| 
 | ||||
| 
 | ||||
| #endif /* SERVMAN_MESSAGES_H__ */ | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 awab228
						awab228