summaryrefslogtreecommitdiff
path: root/Documentation/translations/zh_CN/devicetree/kernel-api.rst
blob: 6aa3b685494ed077c53d27b908e7f032cf312124 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.. SPDX-License-Identifier: GPL-2.0
.. include:: ../disclaimer-zh_CN.rst

:Original: Documentation/Devicetree/kernel-api.rst

:翻译:

 司延腾 Yanteng Si <siyanteng@loongson.cn>

:校译:


=================
内核中的设备树API
=================

核心函数
--------

该API在以下内核代码中:

drivers/of/base.c

include/linux/of.h

drivers/of/property.c

include/linux/of_graph.h

drivers/of/address.c

drivers/of/irq.c

drivers/of/fdt.c

驱动模型函数
------------

该API在以下内核代码中:

include/linux/of_device.h

drivers/of/device.c

include/linux/of_platform.h

drivers/of/platform.c

覆盖和动态DT函数
----------------

该API在以下内核代码中:

drivers/of/resolver.c

drivers/of/dynamic.c

drivers/of/overlay.c