Lines Matching refs:directories
155 const u32 *directories[] = {NULL, NULL, NULL}; in get_modalias_ids() local
159 directories[0] = root_directory; in get_modalias_ids()
165 directories[1] = unit->directory; in get_modalias_ids()
167 directories[1] = vendor_directory; in get_modalias_ids()
168 directories[2] = unit->directory; in get_modalias_ids()
171 for (i = 0; i < ARRAY_SIZE(directories) && !!directories[i]; ++i) in get_modalias_ids()
172 get_ids(directories[i], id); in get_modalias_ids()
287 const u32 *directories[] = {NULL, NULL}; in show_immediate() local
293 directories[0] = fw_unit(dev)->directory; in show_immediate()
299 directories[0] = root_directory; in show_immediate()
304 directories[0] = vendor_directory; in show_immediate()
305 directories[1] = root_directory; in show_immediate()
309 for (i = 0; i < ARRAY_SIZE(directories) && !!directories[i]; ++i) { in show_immediate()
312 fw_csr_iterator_init(&ci, directories[i]); in show_immediate()
334 const u32 *directories[] = {NULL, NULL}; in show_text_leaf() local
342 directories[0] = fw_unit(dev)->directory; in show_text_leaf()
348 directories[0] = root_directory; in show_text_leaf()
353 directories[0] = root_directory; in show_text_leaf()
354 directories[1] = vendor_directory; in show_text_leaf()
366 for (i = 0; i < ARRAY_SIZE(directories) && !!directories[i]; ++i) { in show_text_leaf()
367 int result = fw_csr_string(directories[i], attr->key, buf, bufsize); in show_text_leaf()
375 result = fw_csr_string(directories[i], CSR_DIRECTORY | attr->key, buf, in show_text_leaf()