blob: d2f71be02453f6a0d26bae25bcbc9dce50351c79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/* Copyright 2020 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __CROS_EC_PATHSEL_H
#define __CROS_EC_PATHSEL_H
/**
* Both USB3_TypeA0 and USB3_TypeA1 are routed to the DUT by default.
*/
void init_pathsel(void);
/**
* Routes USB3_TypeA0 port to DUT
*/
void usb3_a0_to_dut(void);
/**
* Routes USB3_TypeA1 port to DUT
*/
void usb3_a1_to_dut(void);
/**
* Routes USB3_TypeA0 port to HOST
*/
void usb3_a0_to_host(void);
/**
* Routes USB3_TypeA1 port to HOST
*/
void usb3_a1_to_host(void);
/**
* Routes the HOST to the DUT. Used for fastboot
*/
void host_to_dut(void);
/**
* Routes the Micro Servo to the Host
*/
void uservo_to_host(void);
#endif /* __CROS_EC_PATHSEL_H */
|