Lines Matching +full:phandle +full:- +full:array +full:- +full:foo +full:- +full:names
1 # Copyright (c) 2018-2019 Linaro
4 # SPDX-License-Identifier: Apache-2.0
17 "python-devicetree", "src"))
155 should be a node label, like "foo" is here:
157 foo: some-node { ... };
230 property called 'prop' and if that 'prop' is an array type will return
246 if node.props[prop].type != "array":
256 called 'prop' and if that 'prop' is an phandle-array type.
257 Then it will check if that phandle array has a cell matching the given index
258 and then return the value of the cell named 'cell' in this array index.
272 if node.props[prop].type != "phandle-array":
454 should be a node label, like "foo" is here:
456 foo: some-node { ... };
613 is an array type will return the value of the property 'prop' at the given
640 called 'prop' and if that 'prop' is an phandle-array type.
641 Then it will check if that phandle array has a cell matching the given index
642 and ten return the value of the cell named 'cell' in this array index as
668 and if that 'prop' is an phandle type. Then it will return the
669 path to the pointed-to node, or an empty string if there is
682 if node.props[prop].type != "phandle":
685 phandle = node.props[prop].val
687 return phandle.path if phandle else ""
849 'prop' with type "array". If so, and the property contains
858 if not node or (prop not in node.props) or (node.props[prop].type != "array"):
913 Normalize the string, so that the string only contains alpha-numeric
914 characters or underscores. All non-alpha-numeric characters are replaced
918 return re.sub(r'[^a-zA-Z0-9_]', '_', string).upper()
956 $(add, 10, 3) # -> 13
957 $(add, 10, 3, 2) # -> 15
958 $(sub, 10, 3) # -> 7
959 $(sub, 10, 3, 2) # -> 5
960 $(mul, 10, 3) # -> 30
961 $(mul, 10, 3, 2) # -> 60
962 $(div, 10, 3) # -> 3
963 $(div, 10, 3, 2) # -> 1
964 $(mod, 10, 3) # -> 1
965 $(mod, 10, 3, 2) # -> 1
966 $(inc, 1) # -> 2
967 $(inc, 1, 1) # -> "2,2"
968 $(inc, $(inc, 1, 1)) # -> "3,3"
969 $(dec, 1) # -> 0
970 $(dec, 1, 1) # -> "0,0"
971 $(dec, $(dec, 1, 1)) # -> "-1,-1"
972 $(add, $(inc, 1, 1)) # -> 4
1007 return ",".join(map(lambda a: str(a - 1), intarray))
1012 # Keys in this dict are the function names as they appear