Lines Matching refs:domain
300 extern void irq_domain_update_bus_token(struct irq_domain *domain,
391 extern int irq_domain_associate(struct irq_domain *domain, unsigned int irq,
393 extern void irq_domain_associate_many(struct irq_domain *domain,
409 extern struct irq_desc *__irq_resolve_mapping(struct irq_domain *domain,
413 static inline struct irq_desc *irq_resolve_mapping(struct irq_domain *domain, in irq_resolve_mapping() argument
416 return __irq_resolve_mapping(domain, hwirq, NULL); in irq_resolve_mapping()
424 static inline unsigned int irq_find_mapping(struct irq_domain *domain, in irq_find_mapping() argument
429 if (__irq_resolve_mapping(domain, hwirq, &irq)) in irq_find_mapping()
435 static inline unsigned int irq_linear_revmap(struct irq_domain *domain, in irq_linear_revmap() argument
438 return irq_find_mapping(domain, hwirq); in irq_linear_revmap()
465 int irq_reserve_ipi(struct irq_domain *domain, const struct cpumask *dest);
469 extern struct irq_data *irq_domain_get_irq_data(struct irq_domain *domain,
471 extern void irq_domain_set_info(struct irq_domain *domain, unsigned int virq,
494 extern int __irq_domain_alloc_irqs(struct irq_domain *domain, int irq_base,
502 static inline int irq_domain_alloc_irqs(struct irq_domain *domain, in irq_domain_alloc_irqs() argument
505 return __irq_domain_alloc_irqs(domain, -1, nr_irqs, node, arg, false, in irq_domain_alloc_irqs()
509 extern int irq_domain_alloc_irqs_hierarchy(struct irq_domain *domain,
512 extern int irq_domain_set_hwirq_and_chip(struct irq_domain *domain,
517 extern void irq_domain_free_irqs_common(struct irq_domain *domain,
520 extern void irq_domain_free_irqs_top(struct irq_domain *domain,
523 extern int irq_domain_push_irq(struct irq_domain *domain, int virq, void *arg);
524 extern int irq_domain_pop_irq(struct irq_domain *domain, int virq);
526 extern int irq_domain_alloc_irqs_parent(struct irq_domain *domain,
530 extern void irq_domain_free_irqs_parent(struct irq_domain *domain,
534 extern int irq_domain_disconnect_hierarchy(struct irq_domain *domain,
537 static inline bool irq_domain_is_hierarchy(struct irq_domain *domain) in irq_domain_is_hierarchy() argument
539 return domain->flags & IRQ_DOMAIN_FLAG_HIERARCHY; in irq_domain_is_hierarchy()
542 static inline bool irq_domain_is_ipi(struct irq_domain *domain) in irq_domain_is_ipi() argument
544 return domain->flags & in irq_domain_is_ipi()
548 static inline bool irq_domain_is_ipi_per_cpu(struct irq_domain *domain) in irq_domain_is_ipi_per_cpu() argument
550 return domain->flags & IRQ_DOMAIN_FLAG_IPI_PER_CPU; in irq_domain_is_ipi_per_cpu()
553 static inline bool irq_domain_is_ipi_single(struct irq_domain *domain) in irq_domain_is_ipi_single() argument
555 return domain->flags & IRQ_DOMAIN_FLAG_IPI_SINGLE; in irq_domain_is_ipi_single()
558 static inline bool irq_domain_is_msi(struct irq_domain *domain) in irq_domain_is_msi() argument
560 return domain->flags & IRQ_DOMAIN_FLAG_MSI; in irq_domain_is_msi()
563 static inline bool irq_domain_is_msi_remap(struct irq_domain *domain) in irq_domain_is_msi_remap() argument
565 return domain->flags & IRQ_DOMAIN_FLAG_MSI_REMAP; in irq_domain_is_msi_remap()
568 extern bool irq_domain_hierarchical_is_msi_remap(struct irq_domain *domain);
571 static inline int irq_domain_alloc_irqs(struct irq_domain *domain, in irq_domain_alloc_irqs() argument
580 static inline bool irq_domain_is_hierarchy(struct irq_domain *domain) in irq_domain_is_hierarchy() argument
585 static inline bool irq_domain_is_ipi(struct irq_domain *domain) in irq_domain_is_ipi() argument
590 static inline bool irq_domain_is_ipi_per_cpu(struct irq_domain *domain) in irq_domain_is_ipi_per_cpu() argument
595 static inline bool irq_domain_is_ipi_single(struct irq_domain *domain) in irq_domain_is_ipi_single() argument
600 static inline bool irq_domain_is_msi(struct irq_domain *domain) in irq_domain_is_msi() argument
605 static inline bool irq_domain_is_msi_remap(struct irq_domain *domain) in irq_domain_is_msi_remap() argument
611 irq_domain_hierarchical_is_msi_remap(struct irq_domain *domain) in irq_domain_hierarchical_is_msi_remap() argument