• Home
  • Raw
  • Download

Lines Matching refs:d

41 static void debugfs_add_domain_dir(struct irq_domain *d);
42 static void debugfs_remove_domain_dir(struct irq_domain *d);
44 static inline void debugfs_add_domain_dir(struct irq_domain *d) { } in debugfs_add_domain_dir() argument
45 static inline void debugfs_remove_domain_dir(struct irq_domain *d) { } in debugfs_remove_domain_dir() argument
771 static int irq_domain_translate(struct irq_domain *d, in irq_domain_translate() argument
776 if (d->ops->translate) in irq_domain_translate()
777 return d->ops->translate(d, fwspec, hwirq, type); in irq_domain_translate()
779 if (d->ops->xlate) in irq_domain_translate()
780 return d->ops->xlate(d, to_of_node(fwspec->fwnode), in irq_domain_translate()
975 int irq_domain_xlate_onecell(struct irq_domain *d, struct device_node *ctrlr, in irq_domain_xlate_onecell() argument
994 int irq_domain_xlate_twocell(struct irq_domain *d, struct device_node *ctrlr, in irq_domain_xlate_twocell() argument
1001 return irq_domain_translate_twocell(d, &fwspec, out_hwirq, out_type); in irq_domain_xlate_twocell()
1016 int irq_domain_xlate_onetwocell(struct irq_domain *d, in irq_domain_xlate_onetwocell() argument
1041 int irq_domain_translate_onecell(struct irq_domain *d, in irq_domain_translate_onecell() argument
1062 int irq_domain_translate_twocell(struct irq_domain *d, in irq_domain_translate_twocell() argument
1551 static void irq_domain_fix_revmap(struct irq_data *d) in irq_domain_fix_revmap() argument
1555 if (d->hwirq < d->domain->revmap_size) in irq_domain_fix_revmap()
1559 mutex_lock(&d->domain->revmap_tree_mutex); in irq_domain_fix_revmap()
1560 slot = radix_tree_lookup_slot(&d->domain->revmap_tree, d->hwirq); in irq_domain_fix_revmap()
1562 radix_tree_replace_slot(&d->domain->revmap_tree, slot, d); in irq_domain_fix_revmap()
1563 mutex_unlock(&d->domain->revmap_tree_mutex); in irq_domain_fix_revmap()
1923 irq_domain_debug_show_one(struct seq_file *m, struct irq_domain *d, int ind) in irq_domain_debug_show_one() argument
1925 seq_printf(m, "%*sname: %s\n", ind, "", d->name); in irq_domain_debug_show_one()
1927 d->revmap_size + d->revmap_direct_max_irq); in irq_domain_debug_show_one()
1928 seq_printf(m, "%*smapped: %u\n", ind + 1, "", d->mapcount); in irq_domain_debug_show_one()
1929 seq_printf(m, "%*sflags: 0x%08x\n", ind +1 , "", d->flags); in irq_domain_debug_show_one()
1930 if (d->ops && d->ops->debug_show) in irq_domain_debug_show_one()
1931 d->ops->debug_show(m, d, NULL, ind + 1); in irq_domain_debug_show_one()
1933 if (!d->parent) in irq_domain_debug_show_one()
1935 seq_printf(m, "%*sparent: %s\n", ind + 1, "", d->parent->name); in irq_domain_debug_show_one()
1936 irq_domain_debug_show_one(m, d->parent, ind + 4); in irq_domain_debug_show_one()
1942 struct irq_domain *d = m->private; in irq_domain_debug_show() local
1945 if (!d) { in irq_domain_debug_show()
1948 d = irq_default_domain; in irq_domain_debug_show()
1950 irq_domain_debug_show_one(m, d, 0); in irq_domain_debug_show()
1955 static void debugfs_add_domain_dir(struct irq_domain *d) in debugfs_add_domain_dir() argument
1957 if (!d->name || !domain_dir || d->debugfs_file) in debugfs_add_domain_dir()
1959 d->debugfs_file = debugfs_create_file(d->name, 0444, domain_dir, d, in debugfs_add_domain_dir()
1963 static void debugfs_remove_domain_dir(struct irq_domain *d) in debugfs_remove_domain_dir() argument
1965 debugfs_remove(d->debugfs_file); in debugfs_remove_domain_dir()
1966 d->debugfs_file = NULL; in debugfs_remove_domain_dir()
1971 struct irq_domain *d; in irq_domain_debugfs_init() local
1978 list_for_each_entry(d, &irq_domain_list, link) in irq_domain_debugfs_init()
1979 debugfs_add_domain_dir(d); in irq_domain_debugfs_init()