Lines Matching refs:props
1011 dt_node.props["compatible"].to_strings()
1012 if "compatible" in dt_node.props
1026 self.props: Dict[str, Property] = {}
1072 if "label" in self._node.props:
1073 return self._node.props["label"].to_string()
1124 status = self._node.props.get("status")
1139 return "read-only" in self._node.props
1201 and "cs-gpios" in self.bus_node.props):
1208 parent_cs_lst = self.bus_node.props["cs-gpios"].val
1231 if "gpio-hog" not in self.props:
1234 if not self.parent or not "gpio-controller" in self.parent.props:
1237 if not "#gpio-cells" in self.parent._node.props:
1240 n_cells = self.parent._node.props["#gpio-cells"].to_num()
1334 for name, prop in self._node.props.items():
1422 self.props = {}
1435 for name in self._node.props:
1440 self.props[name] = Property(prop_spec, val, self)
1478 self.props[name] = Property(prop_spec, val, self)
1498 prop = node.props.get(name)
1592 for prop_name in self._node.props:
1613 if "ranges" not in node.props:
1616 raw_child_address_cells = node.props.get("#address-cells")
1622 raw_child_size_cells = node.props.get("#size-cells")
1632 if len(node.props["ranges"].value) == 0:
1676 if "reg" not in node.props:
1710 pinctrl_props = [prop for name, prop in node.props.items()
2047 for name, prop in chosen.props.items():
2112 for prop in props_node.props.values():
2139 if "compatible" in child.props:
2374 if 'compatible' not in node.props:
2377 compatibles = node.props['compatible'].val
2452 if "compatible" in node.props
2453 for compat in node.props["compatible"].to_strings()}
2527 props = raw.get('properties')
2528 _filter_properties_helper(props, allowlist, blocklist, binding_path)
2540 def _filter_properties_helper(props: Optional[dict],
2544 if props is None or (allowlist is None and blocklist is None):
2552 to_del = [prop for prop in props if prop not in allowset]
2557 to_del = [prop for prop in props if prop in blockset]
2560 del props[prop]
2745 if not node.parent or "ranges" not in node.parent.props:
2749 if not node.parent.props["ranges"].value:
2802 if full_names_ident in node.props:
2803 names = node.props[full_names_ident].to_strings()
2827 if "interrupt-parent" in node.props:
2828 return node.props["interrupt-parent"].to_node()
2842 if "interrupts-extended" in node.props:
2843 prop = node.props["interrupts-extended"]
2854 if "interrupts" in node.props:
2877 if "interrupt-controller" in parent.props:
2885 address_cells = node.props.get("#address-cells")
2916 if prop_name not in node.props:
2919 return node.props[prop_name].to_num()
2959 map_prop = parent.props.get(prefix + "-map")
2961 if require_controller and prefix + "-controller" not in parent.props:
3016 mask_prop = parent.props.get(prefix + "-map-mask")
3044 pass_thru_prop = parent.props.get(prefix + "-map-pass-thru")
3065 if 'reg' not in node.props:
3071 if len(node.props['reg'].value) < addr_len:
3075 return node.props['reg'].value[:addr_len]
3143 if full_n_cells_name not in node.props:
3146 n_cells = node.props[full_n_cells_name].to_num()
3162 if "#address-cells" in node.parent.props:
3163 return node.parent.props["#address-cells"].to_num()
3173 if "#size-cells" in node.parent.props:
3174 return node.parent.props["#size-cells"].to_num()
3182 if "#interrupt-cells" not in node.props:
3184 return node.props["#interrupt-cells"].to_num()
3205 if "status" in node.props:
3207 status_val = node.props["status"].to_string()
3218 ranges_prop = node.props.get("ranges")