blob: 15ea815d4786332ed6ce0517a5bec49597be5905 (
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
|
/* Copyright (c) 2014 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.
*/
/* USB Power delivery board configuration */
#include "test_util.h"
test_mockable void pd_select_polarity(int port, int polarity)
{
/* Not implemented */
}
test_mockable void pd_tx_init(void)
{
/* Not implemented */
}
test_mockable void pd_set_host_mode(int port, int enable)
{
/* Not implemented */
}
test_mockable void pd_config_init(int port, uint8_t power_role)
{
/* Not implemented */
}
test_mockable int pd_adc_read(int port, int cc)
{
/* Not implemented */
return 0;
}
test_mockable int pd_snk_is_vbus_provided(int port)
{
/* Not implemented */
return 1;
}
|