mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 17:18: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
30
drivers/thunderbolt/tunnel_pci.h
Normal file
30
drivers/thunderbolt/tunnel_pci.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* Thunderbolt Cactus Ridge driver - PCIe tunnel
|
||||
*
|
||||
* Copyright (c) 2014 Andreas Noever <andreas.noever@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef TB_PCI_H_
|
||||
#define TB_PCI_H_
|
||||
|
||||
#include "tb.h"
|
||||
|
||||
struct tb_pci_tunnel {
|
||||
struct tb *tb;
|
||||
struct tb_port *up_port;
|
||||
struct tb_port *down_port;
|
||||
struct tb_path *path_to_up;
|
||||
struct tb_path *path_to_down;
|
||||
struct list_head list;
|
||||
};
|
||||
|
||||
struct tb_pci_tunnel *tb_pci_alloc(struct tb *tb, struct tb_port *up,
|
||||
struct tb_port *down);
|
||||
void tb_pci_free(struct tb_pci_tunnel *tunnel);
|
||||
int tb_pci_activate(struct tb_pci_tunnel *tunnel);
|
||||
int tb_pci_restart(struct tb_pci_tunnel *tunnel);
|
||||
void tb_pci_deactivate(struct tb_pci_tunnel *tunnel);
|
||||
bool tb_pci_is_invalid(struct tb_pci_tunnel *tunnel);
|
||||
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue