Lines Matching defs:directory
50 static const u32 *search_leaf(const u32 *directory, int search_key)
55 fw_csr_iterator_init(&ci, directory);
98 * @directory: e.g. root directory or unit directory
99 * @key: the key of the preceding directory entry
109 int fw_csr_string(const u32 *directory, int key, char *buf, size_t size)
111 const u32 *leaf = search_leaf(directory, key);
119 static void get_ids(const u32 *directory, int *id)
124 fw_csr_iterator_init(&ci, directory);
138 get_ids(unit->directory, id);
259 dir = fw_unit(dev)->directory;
292 dir = fw_unit(dev)->directory;
375 (int)(unit->directory - device->config_rom));
420 static int units_sprintf(char *buf, const u32 *directory)
427 fw_csr_iterator_init(&ci, directory);
573 * directory structure so we parse it using a stack of
575 * push a reference to the root directory on the stack to
615 * Now read in the block. If this is a directory
701 * Get the address of the unit directory and try to
708 unit->directory = ci.p + value - 1;
740 * fw_unit.directory, unless those accesses happen at safe occasions
869 * bus info block and root directory header matches that of a newly discovered
1099 /* Reread and compare bus info block and header of root directory */