Lines Matching refs:bindings

42     def __init__(self, vendor_prefixes, bindings):  argument
44 self.vnd2bindings = self.init_vnd2bindings(bindings)
50 def bindings(self, vnd, default=None): member in VndLookup
84 def init_vnd2bindings(self, bindings): argument
102 for binding in bindings:
165 bindings = load_bindings(args.dts_roots, args.dts_folders)
168 vnd_lookup = VndLookup(args.vendor_prefixes, bindings)
169 dump_content(bindings, base_binding, vnd_lookup, driver_sources, args.out_dir,
217 bindings = edtlib.bindings_from_paths(binding_files, ignore_errors=True)
219 num_total = len(bindings)
224 bindings = [binding for binding in bindings if
228 len(bindings), num_total - len(bindings), dts_roots)
230 return bindings
299 def dump_content(bindings, base_binding, vnd_lookup, driver_sources, out_dir, turbo_mode): argument
307 setup_bindings_dir(bindings, out_dir)
309 write_dummy_index(bindings, out_dir)
312 write_orphans(bindings, base_binding, vnd_lookup, driver_sources, out_dir)
314 def setup_bindings_dir(bindings, out_dir): argument
325 for binding in bindings:
336 def write_dummy_index(bindings, out_dir): argument
350 compatibles = {binding.compatible for binding in bindings}
383 for vnd, bindings in vnd_lookup.vnd2bindings.items():
384 if len(bindings) == 0:
412 for vnd, bindings in vnd_lookup.vnd2bindings.items():
421 if len(bindings) == 0:
432 for binding in bindings:
438 def write_orphans(bindings, base_binding, vnd_lookup, driver_sources, out_dir): argument
446 logging.info('updating :orphan: files for %d bindings', len(bindings))
455 for binding in bindings:
457 dup_compat2bindings = {compatible: bindings for compatible, bindings
458 in compat2bindings.items() if len(bindings) > 1}
467 for binding in bindings:
774 def print_compatible_disambiguation_page(compatible, bindings, string_io): argument
778 assert len(bindings) > 1, (compatible, bindings)
782 for binding in bindings)