irqdomain: Stop using 'host' for domain

It is confusing to see 'host' and 'domain' to be used as 'domain'. Given
this header is all about domains, switch the remaining 'host' uses to
'domain'.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250319092951.37667-5-jirislaby@kernel.org

authored by Jiri Slaby (SUSE) and committed by Thomas Gleixner d2705d33 0a27ea38

+6 -6
+6 -6
include/linux/irqdomain.h
··· 72 73 /** 74 * struct irq_domain_ops - Methods for irq_domain objects 75 - * @match: Match an interrupt controller device node to a host, returns 76 * 1 on a match 77 * @select: Match an interrupt controller fw specification. It is more generic 78 * than @match as it receives a complete struct irq_fwspec. Therefore, ··· 454 return IS_ERR(d) ? NULL : d; 455 } 456 457 - unsigned int irq_create_direct_mapping(struct irq_domain *host); 458 #endif 459 460 static inline struct irq_domain *irq_domain_add_tree(struct device_node *of_node, ··· 507 return IS_ERR(d) ? NULL : d; 508 } 509 510 - void irq_domain_remove(struct irq_domain *host); 511 512 int irq_domain_associate(struct irq_domain *domain, unsigned int irq, 513 irq_hw_number_t hwirq); ··· 515 unsigned int irq_base, 516 irq_hw_number_t hwirq_base, int count); 517 518 - unsigned int irq_create_mapping_affinity(struct irq_domain *host, 519 irq_hw_number_t hwirq, 520 const struct irq_affinity_desc *affinity); 521 unsigned int irq_create_fwspec_mapping(struct irq_fwspec *fwspec); 522 void irq_dispose_mapping(unsigned int virq); 523 524 - static inline unsigned int irq_create_mapping(struct irq_domain *host, 525 irq_hw_number_t hwirq) 526 { 527 - return irq_create_mapping_affinity(host, hwirq, NULL); 528 } 529 530 struct irq_desc *__irq_resolve_mapping(struct irq_domain *domain,
··· 72 73 /** 74 * struct irq_domain_ops - Methods for irq_domain objects 75 + * @match: Match an interrupt controller device node to a domain, returns 76 * 1 on a match 77 * @select: Match an interrupt controller fw specification. It is more generic 78 * than @match as it receives a complete struct irq_fwspec. Therefore, ··· 454 return IS_ERR(d) ? NULL : d; 455 } 456 457 + unsigned int irq_create_direct_mapping(struct irq_domain *domain); 458 #endif 459 460 static inline struct irq_domain *irq_domain_add_tree(struct device_node *of_node, ··· 507 return IS_ERR(d) ? NULL : d; 508 } 509 510 + void irq_domain_remove(struct irq_domain *domain); 511 512 int irq_domain_associate(struct irq_domain *domain, unsigned int irq, 513 irq_hw_number_t hwirq); ··· 515 unsigned int irq_base, 516 irq_hw_number_t hwirq_base, int count); 517 518 + unsigned int irq_create_mapping_affinity(struct irq_domain *domain, 519 irq_hw_number_t hwirq, 520 const struct irq_affinity_desc *affinity); 521 unsigned int irq_create_fwspec_mapping(struct irq_fwspec *fwspec); 522 void irq_dispose_mapping(unsigned int virq); 523 524 + static inline unsigned int irq_create_mapping(struct irq_domain *domain, 525 irq_hw_number_t hwirq) 526 { 527 + return irq_create_mapping_affinity(domain, hwirq, NULL); 528 } 529 530 struct irq_desc *__irq_resolve_mapping(struct irq_domain *domain,