mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-09 01:28:05 -04: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