Lines Matching refs:list
260 self.specifier2cells: dict[str, list[str]] = {}
289 def bus(self) -> Union[None, str, list[str]]:
294 def buses(self) -> list[str]:
330 elif isinstance(include, list):
446 (not isinstance(bus, list) and
451 if isinstance(bus, list):
466 and not isinstance(val, list)
509 if "enum" in options and not isinstance(options["enum"], list):
597 def enum(self) -> Optional[list]:
632 def const(self) -> Union[None, int, list[int], str, list[str]]:
637 def default(self) -> Union[None, int, list[int], str, list[str]]:
657 list[int], list[str],
658 'Node', list['Node'],
659 list[Optional['ControllerAndData']],
743 def val_as_tokens(self) -> list[str]:
746 for subval in self.val if isinstance(self.val, list) else [self.val]:
752 def enum_indices(self) -> Optional[list[int]]:
755 val = self.val if isinstance(self.val, list) else [self.val]
894 conf_nodes: list['Node']
1076 self.compats: list[str] = compats
1077 self.ranges: list[Range] = []
1078 self.regs: list[Register] = []
1080 self.interrupts: list[ControllerAndData] = []
1081 self.pinctrls: list[PinCtrl] = []
1148 def labels(self) -> list[str]:
1183 def required_by(self) -> list['Node']:
1188 def depends_on(self) -> list['Node']:
1227 def aliases(self) -> list[str]:
1233 def buses(self) -> list[str]:
1240 def on_buses(self) -> list[str]:
1281 assert isinstance(parent_cs_lst, list)
1299 def gpio_hogs(self) -> list[ControllerAndData]:
1531 for subval in val if isinstance(val, list) else [val]:
1822 ) -> list[Optional[ControllerAndData]]:
1872 res: list[Optional[ControllerAndData]] = []
1911 cell_names: list[str] = controller._binding.specifier2cells[basename]
1995 bindings_dirs: list[str],
2054 self.nodes: list[Node] = []
2055 self.compat2nodes: dict[str, list[Node]] = defaultdict(list)
2056 self.compat2okay: dict[str, list[Node]] = defaultdict(list)
2057 self.compat2notokay: dict[str, list[Node]] = defaultdict(list)
2063 self.bindings_dirs: list[str] = list(bindings_dirs)
2076 self._binding_paths: list[str] = _binding_paths(self.bindings_dirs)
2169 def scc_order(self) -> list[list[Node]]:
2191 assert isinstance(prop.val, list)
2196 assert isinstance(prop.val, list)
2465 assert isinstance(compatibles, list)
2472 def bindings_from_paths(yaml_paths: list[str],
2473 ignore_errors: bool = False) -> list[Binding]:
2538 def _binding_paths(bindings_dirs: list[str]) -> list[str]:
2556 allowlist: Optional[list[str]],
2557 blocklist: Optional[list[str]],
2575 child_allowlist: Optional[list[str]] = (
2577 child_blocklist: Optional[list[str]] = (
2597 allowlist: Optional[list[str]],
2598 blocklist: Optional[list[str]],
2619 allowlist: Optional[list[str]],
2620 blocklist: Optional[list[str]],
2641 def _check_prop_filter(name: str, value: Optional[list[str]],
2649 if not isinstance(value, list):
2798 if not isinstance(default, list):
2920 def _interrupts(node: dtlib_Node) -> list[tuple[dtlib_Node, bytes]]:
2930 ret: list[tuple[dtlib_Node, bytes]] = []
3213 ) -> list[Optional[tuple[dtlib_Node, bytes]]]:
3231 res: list[Optional[tuple[dtlib_Node, bytes]]] = []
3304 size_hint: str) -> list[bytes]:
3388 _STATUS_ENUM: list[str] = "ok okay disabled reserved fail fail-sss".split()
3392 ) -> dict[str, Union[str, bool, list[str]]]:
3393 ret: dict[str, Union[str, bool, list[str]]] = {