19485acfdSYanteng Si.. SPDX-License-Identifier: GPL-2.0 29485acfdSYanteng Si.. include:: ../disclaimer-zh_CN.rst 39485acfdSYanteng Si 4*a0a6859fSYanteng Si:Original: Documentation/devicetree/kernel-api.rst 59485acfdSYanteng Si 69485acfdSYanteng Si:翻译: 79485acfdSYanteng Si 89485acfdSYanteng Si 司延腾 Yanteng Si <siyanteng@loongson.cn> 99485acfdSYanteng Si 109485acfdSYanteng Si:校译: 119485acfdSYanteng Si 129485acfdSYanteng Si 139485acfdSYanteng Si================= 149485acfdSYanteng Si内核中的设备树API 159485acfdSYanteng Si================= 169485acfdSYanteng Si 179485acfdSYanteng Si核心函数 189485acfdSYanteng Si-------- 199485acfdSYanteng Si 209485acfdSYanteng Si该API在以下内核代码中: 219485acfdSYanteng Si 229485acfdSYanteng Sidrivers/of/base.c 239485acfdSYanteng Si 249485acfdSYanteng Siinclude/linux/of.h 259485acfdSYanteng Si 269485acfdSYanteng Sidrivers/of/property.c 279485acfdSYanteng Si 289485acfdSYanteng Siinclude/linux/of_graph.h 299485acfdSYanteng Si 309485acfdSYanteng Sidrivers/of/address.c 319485acfdSYanteng Si 329485acfdSYanteng Sidrivers/of/irq.c 339485acfdSYanteng Si 349485acfdSYanteng Sidrivers/of/fdt.c 359485acfdSYanteng Si 369485acfdSYanteng Si驱动模型函数 379485acfdSYanteng Si------------ 389485acfdSYanteng Si 399485acfdSYanteng Si该API在以下内核代码中: 409485acfdSYanteng Si 419485acfdSYanteng Siinclude/linux/of_device.h 429485acfdSYanteng Si 439485acfdSYanteng Sidrivers/of/device.c 449485acfdSYanteng Si 459485acfdSYanteng Siinclude/linux/of_platform.h 469485acfdSYanteng Si 479485acfdSYanteng Sidrivers/of/platform.c 489485acfdSYanteng Si 499485acfdSYanteng Si覆盖和动态DT函数 509485acfdSYanteng Si---------------- 519485acfdSYanteng Si 529485acfdSYanteng Si该API在以下内核代码中: 539485acfdSYanteng Si 549485acfdSYanteng Sidrivers/of/resolver.c 559485acfdSYanteng Si 569485acfdSYanteng Sidrivers/of/dynamic.c 579485acfdSYanteng Si 589485acfdSYanteng Sidrivers/of/overlay.c 59