Lines Matching refs:raw
165 raw: Any = None, require_compatible: bool = True,
198 if raw is None:
202 raw = yaml.load(f, Loader=_BindingLoader)
207 self.raw: dict = self._merge_includes(raw, self.path)
212 if "child-binding" in raw:
213 if not isinstance(raw["child-binding"], dict):
218 raw=raw["child-binding"],
229 for prop_name in self.raw.get("properties", {}).keys():
232 for key, val in self.raw.items():
247 return self.raw.get('description')
252 return self.raw.get('compatible')
257 return self.raw.get('bus')
262 if self.raw.get('bus') is not None:
270 return self.raw.get('on-bus')
272 def _merge_includes(self, raw: dict, binding_path: Optional[str]) -> dict:
281 if "include" not in raw:
282 return raw
284 include = raw.pop("include")
335 _merge_props(raw, merged, None, binding_path, check_required=True)
337 return raw
360 raw = self.raw
362 if "compatible" in raw:
363 compatible = raw["compatible"]
371 if "description" in raw:
372 description = raw["description"]
394 for key in raw:
402 if "bus" in raw:
403 bus = raw["bus"]
416 if ("on-bus" in raw
417 and not isinstance(raw["on-bus"], str)):
423 for key, val in raw.items():
433 raw = self.raw
435 if "properties" not in raw:
442 for prop_name, options in raw["properties"].items():
533 self._raw: Dict[str, Any] = self.binding.raw["properties"][name]
1330 raw: Dict[str, Any] = {
1359 raw['properties'][name] = pp
1363 self._binding = Binding(None, {}, raw=raw, require_compatible=False)
2210 raw = yaml.load(contents, Loader=_BindingLoader)
2218 binding = self._binding(raw, binding_path, dt_compats)
2228 raw: Optional[dict],
2239 if raw is None or "compatible" not in raw:
2243 compatible = raw["compatible"]
2250 return Binding(binding_path, self._binding_fname2path, raw=raw)
2518 def _filter_properties(raw: dict,
2527 props = raw.get('properties')
2530 child_binding = raw.get('child-binding')
2861 return [_map_interrupt(node, iparent, raw)
2862 for raw in _slice(node, "interrupts", 4*interrupt_cells,
2970 raw = map_prop.value
2971 while raw:
2972 if len(raw) < len(child_spec):
2974 child_spec_entry = raw[:len(child_spec)]
2975 raw = raw[len(child_spec):]
2977 if len(raw) < 4:
2979 phandle = to_num(raw[:4])
2980 raw = raw[4:]
2988 if len(raw) < map_parent_spec_len:
2990 parent_spec = raw[:map_parent_spec_len]
2991 raw = raw[map_parent_spec_len:]
3128 raw = prop.value
3129 while raw:
3130 if len(raw) < 4:
3133 phandle = to_num(raw[:4])
3134 raw = raw[4:]
3147 if len(raw) < 4*n_cells:
3150 res.append((node, raw[:4*n_cells]))
3151 raw = raw[4*n_cells:]
3290 raw={