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;
374 return sysfs_emit(buf, "%td\n", unit->directory - device->config_rom);
418 static int units_sprintf(char *buf, const u32 *directory)
425 fw_csr_iterator_init(&ci, directory);
571 * directory structure so we parse it using a stack of
573 * push a reference to the root directory on the stack to
613 * Now read in the block. If this is a directory
699 * Get the address of the unit directory and try to
706 unit->directory = ci.p + value - 1;
738 * fw_unit.directory, unless those accesses happen at safe occasions
867 * bus info block and root directory header matches that of a newly discovered
1097 /* Reread and compare bus info block and header of root directory */