Lines Matching refs:props
72 if "label" not in node.props:
75 return node.props["label"].val
218 if prop not in node.props:
221 if node.props[prop].type != "int":
224 return node.props[prop].val >> _dt_units_to_scale(unit)
244 if prop not in node.props:
246 if node.props[prop].type != "array":
248 if int(index) >= len(node.props[prop].val):
250 return node.props[prop].val[int(index)] >> _dt_units_to_scale(unit)
270 if prop not in node.props:
272 if node.props[prop].type != "phandle-array":
274 if int(index) >= len(node.props[prop].val):
276 if cell not in node.props[prop].val[int(index)].data.keys():
278 return node.props[prop].val[int(index)].data[cell] >> _dt_units_to_scale(unit)
488 if prop not in node.props:
491 if node.props[prop].type != "boolean":
494 if node.props[prop].val:
548 if prop in node.props:
680 if prop not in node.props:
682 if node.props[prop].type != "phandle":
685 phandle = node.props[prop].val
705 if prop not in node.props:
708 if node.props[prop].type != "string":
711 if node.props[prop].val == val:
768 if prop in node.props:
771 elif str(node.props[prop].val) == value:
787 if prop not in node.props:
858 if not node or (prop not in node.props) or (node.props[prop].type != "array"):
861 return "y" if int(val, base=0) in node.props[prop].val else "n"