/external/dtc/tests/ |
D | multilabel_merge.dts | 1 /dts-v1/; 10 linux,phandle = <0x2000>; 15 phandle = <0x1>; 29 /* Explicit phandle with implicit value */ 30 /* This self-reference is the standard way to tag a node as requiring 31 * a phandle (perhaps for reference by nodes that will be dynamically 32 * added) without explicitly allocating it a phandle. 33 * The self-reference requires some special internal handling, though 36 linux,phandle = <&n5>; 37 phandle = <&nz>; [all …]
|
D | references.dts | 1 /dts-v1/; 8 linux,phandle = <0x2000>; 13 phandle = <0x1>; 26 /* Explicit phandle with implicit value */ 27 /* This self-reference is the standard way to tag a node as requiring 28 * a phandle (perhaps for reference by nodes that will be dynamically 29 * added) without explicitly allocating it a phandle. 30 * The self-reference requires some special internal handling, though 33 linux,phandle = <&n5>; 34 phandle = <&n5>; [all …]
|
D | multilabel.dts | 1 /dts-v1/; 12 linux,phandle = <0x2000>; 17 p2: py: phandle = <0x1>; 31 /* Explicit phandle with implicit value */ 32 /* This self-reference is the standard way to tag a node as requiring 33 * a phandle (perhaps for reference by nodes that will be dynamically 34 * added) without explicitly allocating it a phandle. 35 * The self-reference requires some special internal handling, though 38 linux,phandle = <&n5>; 39 phandle = <&nz>; [all …]
|
D | type-preservation.dt.yaml | 1 --- 2 - '#address-cells': [[0x1]] 3 '#size-cells': [[0x0]] 7 int-array: [[0x0, 0x1], [0x2, 0x3]] 9 int8-array: [!u8 [0x0, 0x12, 0x34, 0x56]] 11 int16-array: [!u16 [0x1234, 0x5678, 0x90ab, 0xcdef]] 12 int16-matrix: [!u16 [0x1234, 0x5678], [0x90ab, 0xcdef]] 14 int64-array: [!u64 [0x100000000, 0x0]] 15 a-string-with-nulls: ["foo\0bar", "baz"] 16 a-phandle: [[!phandle 0x1]] [all …]
|
D | overlay_overlay_manual_fixups.dts | 6 * SPDX-License-Identifier: GPL-2.0+ 9 /dts-v1/; 11 /* Note no /plugin/ tag - we're manually generating the metadata for 20 test-int-property = <43>; 24 /* Test that we can replace a string by a longer one */ 29 test-str-property = "foobar"; 33 /* Test that we add a new property */ 38 test-str-property-2 = "foobar2"; 42 /* Test that we add a new node (by phandle) */ 47 new-node { [all …]
|
D | overlay_overlay.dts | 6 * SPDX-License-Identifier: GPL-2.0+ 9 /dts-v1/; 14 test-int-property = <43>; 17 /* Test that we can replace a string by a longer one */ 19 test-str-property = "foobar"; 22 /* Test that we add a new property */ 24 test-str-property-2 = "foobar2"; 27 /* Test that we add a new node (by phandle) */ 29 new-node { 30 new-property; [all …]
|
D | overlay.c | 1 // SPDX-License-Identifier: LGPL-2.1-or-later 3 * libfdt - Flat Device Tree manipulation 43 return -FDT_ERR_NOTFOUND; in fdt_getprop_u32_by_poffset() 92 return check_getprop_u32_by_name(fdt, "/test-node", "test-int-property", in fdt_overlay_change_int_property() 98 return check_getprop_string_by_name(fdt, "/test-node", in fdt_overlay_change_str_property() 99 "test-str-property", "foobar"); in fdt_overlay_change_str_property() 104 return check_getprop_string_by_name(fdt, "/test-node", in fdt_overlay_add_str_property() 105 "test-str-property-2", "foobar2"); in fdt_overlay_add_str_property() 110 return check_getprop_null_by_name(fdt, "/test-node/new-node", in fdt_overlay_add_node() 111 "new-property"); in fdt_overlay_add_node() [all …]
|
D | type-preservation.dts | 1 /dts-v1/; 4 #address-cells = <0x01>; 5 #size-cells = <0x00>; 10 int-array = <0x00 0x01>, int_value_label: <0x02 0x03>; 12 int8-array = [00 12 34 56] label:; 14 int16-array = /bits/ 16 <0x1234 0x5678 0x90ab 0xcdef>; 15 int16-matrix = /bits/ 16 <0x1234 0x5678>, <0x90ab 0xcdef>; 17 int64-array = /bits/ 64 <0x100000000 0x00> int64_array_label_end:; 18 a-string-with-nulls = "foo\0bar", "baz"; 19 a-phandle = <&subsub1>; [all …]
|
D | overlay_overlay_nosugar.dts | 6 * SPDX-License-Identifier: GPL-2.0+ 9 /dts-v1/; 18 test-int-property = <43>; 22 /* Test that we can replace a string by a longer one */ 27 test-str-property = "foobar"; 31 /* Test that we add a new property */ 36 test-str-property-2 = "foobar2"; 40 /* Test that we add a new node (by phandle) */ 45 new-node { 46 new-property; [all …]
|
D | trees.S | 16 fdtlong (\tree\()_end - \tree) 17 fdtlong (\tree\()_struct - \tree) 18 fdtlong (\tree\()_strings - \tree) 19 fdtlong (\tree\()_rsvmap - \tree) 23 fdtlong (\tree\()_strings_end - \tree\()_strings) 24 fdtlong (\tree\()_struct_end - \tree\()_struct) 44 fdtlong (\tree\()_\name - \tree\()_strings) 63 prophdr \tree, \name, (55f - 54f) 113 propstr test_tree1, placeholder, "this is a placeholder string\0string2" 131 propu32 test_tree1, phandle, PHANDLE_2 [all …]
|
D | overlay_overlay_bypath.dts | 6 * SPDX-License-Identifier: GPL-2.0+ 9 /dts-v1/; 13 &{/test-node} { 14 test-int-property = <43>; 17 /* Test that we can replace a string by a longer one */ 18 &{/test-node} { 19 test-str-property = "foobar"; 22 /* Test that we add a new property */ 23 &{/test-node} { 24 test-str-property-2 = "foobar2"; [all …]
|
D | overlay_overlay_no_fixups.dts | 5 * SPDX-License-Identifier: GPL-2.0+ 8 /dts-v1/; 12 target-path = "/test-node"; 15 test-int-property = <43>; 19 /* Test that we can replace a string by a longer one */ 21 target-path = "/test-node"; 24 test-str-property = "foobar"; 28 /* Test that we add a new property */ 30 target-path = "/test-node"; 33 test-str-property-2 = "foobar2"; [all …]
|
/external/dtc/libfdt/ |
D | fdt_overlay.c | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 3 * libfdt - Flat Device Tree manipulation 15 * overlay_get_target_phandle - retrieves the target phandle of a fragment 19 * overlay_get_target_phandle() retrieves the target phandle of an 20 * overlay fragment when that fragment uses a phandle (target 21 * property) instead of a path (target-path property). 24 * the phandle pointed by the target property 25 * 0, if the phandle was not found 26 * -1, if the phandle was malformed 37 if ((len != sizeof(*val)) || (fdt32_to_cpu(*val) == (uint32_t)-1)) in overlay_get_target_phandle() [all …]
|
D | libfdt.h | 1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ 5 * libfdt - Flat Device Tree manipulation 24 /* FDT_ERR_EXISTS: Attempted to create a node or property which 30 * device tree to a buffer with more space. */ 34 /* FDT_ERR_BADOFFSET: Function was passed a structure block 35 * offset which is out-of-bounds, or which points to an 38 /* FDT_ERR_BADPATH: Function was passed a badly formatted path 39 * (e.g. missing a leading / for a function which requires an 42 /* FDT_ERR_BADPHANDLE: Function was passed an invalid phandle. 43 * This can be caused either by an invalid phandle property [all …]
|
D | fdt_ro.c | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) 3 * libfdt - Flat Device Tree manipulation 54 err = -FDT_ERR_BADOFFSET; in fdt_get_string() 58 len = totalsize - absoffset; in fdt_get_string() 66 if ((fdt_size_dt_strings(fdt) - stroffset) < len) in fdt_get_string() 67 len = fdt_size_dt_strings(fdt) - stroffset; in fdt_get_string() 70 unsigned int sw_stroffset = -stroffset; in fdt_get_string() 78 err = -FDT_ERR_INTERNAL; in fdt_get_string() 86 err = -FDT_ERR_TRUNCATED; in fdt_get_string() 91 *lenp = n - s; in fdt_get_string() [all …]
|
/external/dtc/ |
D | checks.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 fprintf(stderr, "=== %s: ", (c)->name); \ 71 if (!(c->warn && (quiet < 1)) && !(c->error && (quiet < 2))) in check_msg() 74 if (prop && prop->srcpos) in check_msg() 75 pos = prop->srcpos; in check_msg() 76 else if (node && node->srcpos) in check_msg() 77 pos = node->srcpos; in check_msg() 83 } else if (streq(dti->outname, "-")) { in check_msg() 86 xasprintf(&str, "%s", dti->outname); in check_msg() 90 (c->error) ? "ERROR" : "Warning", c->name); in check_msg() [all …]
|
D | livetree.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 if (streq(new->label, label)) { in add_label() 20 new->deleted = 0; in add_label() 26 new->label = label; in add_label() 27 new->next = *labels; in add_label() 36 label->deleted = 1; in delete_labels() 46 new->name = name; in build_property() 47 new->val = val; in build_property() 48 new->srcpos = srcpos_copy(srcpos); in build_property() 59 new->name = name; in build_property_delete() [all …]
|
D | dtc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 int phandle_format = PHANDLE_EPAPR; /* Use linux,phandle or phandle properties */ 22 int auto_label_aliases; /* auto generate labels -> aliases */ 28 return (x > 0) && ((x & (x - 1)) == 0); in is_power_of_2() 36 tree->fullpath = join_path(prefix, tree->name); in fill_fullpaths() 38 unit = strchr(tree->name, '@'); in fill_fullpaths() 40 tree->basenamelen = unit - tree->name; in fill_fullpaths() 42 tree->basenamelen = strlen(tree->name); in fill_fullpaths() 45 fill_fullpaths(child, tree->fullpath); in fill_fullpaths() 50 static const char usage_short_opts[] = "qI:O:o:V:d:R:S:p:a:fb:i:H:sW:E:@AThv"; [all …]
|
D | dtc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 42 extern int phandle_format; /* Use linux,phandle or phandle properties */ 45 extern int auto_label_aliases; /* auto generate labels -> aliases */ 54 static inline bool phandle_is_valid(cell_t phandle) in phandle_is_valid() argument 56 return phandle != 0 && phandle != ~0U; in phandle_is_valid() 91 #define streq(a, b) (strcmp((a), (b)) == 0) argument 93 #define strprefixeq(a, n, b) (strlen(b) == (n) && (memcmp(a, b, n) == 0)) argument 102 return streq(str + len - suffix_len, suffix); in strends() 105 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) argument 144 for (; (m); (m) = (m)->next) [all …]
|
/external/dtc/Documentation/ |
D | dt-object-internal.txt | 2 ------------------------------------------- 4 The Device Tree for most platforms is a static representation of 13 -------------------------------- 15 Assume we have a platform which boots using following simplified Device Tree. 17 ---- foo.dts ----------------------------------------------------------------- 32 ---- foo.dts ----------------------------------------------------------------- 34 We have a number of peripherals that after probing (using some undefined method) 42 ---- foo+bar.dts ------------------------------------------------------------- 63 ---- foo+bar.dts ------------------------------------------------------------- 67 ---- foo+baz.dts ------------------------------------------------------------- [all …]
|
D | dtc-paper.tex | 36 \newcommand{\phandle}{\texttt{linux,phandle}\xspace} 42 We present a method for booting a \ppc{}\R Linux\R kernel on an 43 embedded machine. To do this, we supply the kernel with a compact 44 flattened-tree representation of the system's hardware based on the 49 --- the Device Tree Compiler --- that turns a simple text 51 the kernel. The compiler can produce either a binary ``blob'' or an 52 assembler file ready to be built into a firmware or bootwrapper 55 This flattened-tree approach is now the only supported method of 56 booting a \texttt{ppc64} kernel without Open Firmware, and we plan 66 \of (OF), a firmware environment defined by IEEE1275 \cite{IEEE1275}. [all …]
|
D | manual.txt | 4 I - "dtc", the device tree compiler 14 II - The DT block format 21 III - libfdt 23 IV - Utility Tools 24 1) convert-dtsv0 -- Conversion to Version 1 28 I - "dtc", the device tree compiler 49 and CCed to <devicetree-compiler@vger.kernel.org>. 53 The Device Tree Compiler, dtc, takes as input a device-tree in 54 a given format and outputs a device-tree in another format. 55 Typically, the input format is "dts", a human readable source [all …]
|
/external/arm-trusted-firmware/docs/components/ |
D | cot-binding.rst | 5 'cot' node which contain 'manifests' and 'images' as sub-nodes. 6 'manifests' and 'images' nodes contains number of sub-nodes (i.e. 'certificate' 9 Also, device tree describes 'non-volatile-counters' node which contains number of 10 sub-nodes mentioning properties of all non-volatile-counters used in the chain of trust. 13 ------------------------------------------------------------------ 14 This is root node which contains 'manifests' and 'images' as sub-nodes 18 ---------------------------------------------------------------- 20 - Manifests node 25 - compatible: 30 Definition: must be "arm, cert-descs" [all …]
|
/external/OpenCSD/decoder/include/common/ |
D | ocsd_dcd_tree_elem.h | 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 66 * The DecodeTree contains a list of elements. 74 …void SetDecoderElement(const std::string &name, IDecoderMngr *dcdMngr, TraceComponent *pHandle, bo… 92 …oderElement(const std::string &name, IDecoderMngr *dcdMngr, TraceComponent *pHandle, bool bCreated) in SetDecoderElement() argument 96 dcd_handle = pHandle; in SetDecoderElement() 99 protocol = dcd_mngr->getProtocolType(); in SetDecoderElement() 106 dcd_mngr->destroyDecoder(dcd_handle); in DestroyElem()
|
/external/swiftshader/src/Vulkan/ |
D | VkSemaphore.cpp | 5 // You may obtain a copy of the License at 7 // http://www.apache.org/licenses/LICENSE-2.0 30 // This is a base abstract class for all external semaphore implementations 37 // Initialize new instance with a given initial state. 61 virtual VkResult exportHandle(zx_handle_t *pHandle) in exportHandle() argument 94 // Create a new instance. The external instance will be allocated only 95 // the pCreateInfo->pNext chain indicates it needs to be exported. 98 for(const auto *nextInfo = reinterpret_cast<const VkBaseInStructure *>(pCreateInfo->pNext); in SemaphoreCreateInfo() 99 nextInfo != nullptr; nextInfo = nextInfo->pNext) in SemaphoreCreateInfo() 101 switch(nextInfo->sType) in SemaphoreCreateInfo() [all …]
|