From nobody Thu Dec 18 13:45:30 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4BAFF1EEA5E for ; Wed, 15 Jan 2025 08:54:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736931260; cv=none; b=miue/KIJCr8Yb3oyEACP/I9+V4mbD+18H1hZTgYzniBTg59GC1TI7ThfVzyPS55ByXDWfHQ+kPGi6dFF011HUvVwMPWrmz+BISb2Qfx3IsOjeSd25WTvaQy1mMSMwALY4g+2GFd6MU1ORurbz2Xm4ghAulflTwjhMN2cxMSBC/g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736931260; c=relaxed/simple; bh=dRrXqvb7qAZGJVnnmxZsvQ6Q9WO00unPZsLAUXbJXAU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=A0TI+mvthz0kyKnwYzqtJyreEarPqzH8XvKOek1BMXFWc4llYkBsQ748ptc+j6jtuWvSd9WKmxB/Mk4he65xFIHm4rRMbPSXuK1qA5r5/T3pTOQ4R3TLMIG5COX4BiBt5CsArgrQCe5tnMAGLu6IHbBZElCzQ/6XbRTqgSo/35M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ehuXfBqQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ehuXfBqQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7A4BC4CEE2; Wed, 15 Jan 2025 08:54:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736931259; bh=dRrXqvb7qAZGJVnnmxZsvQ6Q9WO00unPZsLAUXbJXAU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ehuXfBqQ0AATPKaJyN5rnA6S8khkEJeyqgb9dtRJE2ks1tNbB8Sf/Fc06fIygXfSK 4vPWv616Jqc3XR2oN6d6zRKVjdVKW/VSic+SLGBE0UfinonPxEwVa1wfWc0pxhdVES 2NhZM158KNGOYSlu3oD5eNGcBdEJV9DVtw/mMfxZ0PpZ2cqQ0eiUBlqYlGqj1j/FQm m/5cwRWLfkDCqVOYS1L/Orci2tmqNVDelAU+pboRB6gYt5nW6fjowwvPfKzID5gqCM 7iEufXItTn3RUBW+1tXqz0oQJp2UkesSJdb1VGrHASbQEoq+IoH3aUxdeMwkpBhr1x cFzyHGmAfjfxQ== From: "Jiri Slaby (SUSE)" To: tglx@linutronix.de Cc: maz@kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" Subject: [PATCH 04/18] irqdomain.h: Stop using 'host' for domain Date: Wed, 15 Jan 2025 09:53:53 +0100 Message-ID: <20250115085409.1629787-5-jirislaby@kernel.org> X-Mailer: git-send-email 2.48.0 In-Reply-To: <20250115085409.1629787-1-jirislaby@kernel.org> References: <20250115085409.1629787-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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) --- include/linux/irqdomain.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index e9d6fae36459..52c04ac932a8 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h @@ -72,7 +72,7 @@ void of_phandle_args_to_fwspec(struct device_node *np, co= nst u32 *args, =20 /** * struct irq_domain_ops - Methods for irq_domain objects - * @match: Match an interrupt controller device node to a host, returns + * @match: Match an interrupt controller device node to a domain, returns * 1 on a match * @select: Match an interrupt controller fw specification. It is more gen= eric * than @match as it receives a complete struct irq_fwspec. Therefore, @@ -454,7 +454,7 @@ static inline struct irq_domain *irq_domain_add_nomap(s= truct device_node *of_nod return IS_ERR(d) ? NULL : d; } =20 -unsigned int irq_create_direct_mapping(struct irq_domain *host); +unsigned int irq_create_direct_mapping(struct irq_domain *domain); #endif =20 static inline struct irq_domain *irq_domain_add_tree(struct device_node *o= f_node, @@ -507,7 +507,7 @@ static inline struct irq_domain *irq_domain_create_tree= (struct fwnode_handle *fw return IS_ERR(d) ? NULL : d; } =20 -void irq_domain_remove(struct irq_domain *host); +void irq_domain_remove(struct irq_domain *domain); =20 int irq_domain_associate(struct irq_domain *domain, unsigned int irq, irq_hw_number_t hwirq); @@ -515,16 +515,16 @@ void irq_domain_associate_many(struct irq_domain *dom= ain, unsigned int irq_base, irq_hw_number_t hwirq_base, int count); =20 -unsigned int irq_create_mapping_affinity(struct irq_domain *host, +unsigned int irq_create_mapping_affinity(struct irq_domain *domain, irq_hw_number_t hwirq, const struct irq_affinity_desc *affinity); unsigned int irq_create_fwspec_mapping(struct irq_fwspec *fwspec); void irq_dispose_mapping(unsigned int virq); =20 -static inline unsigned int irq_create_mapping(struct irq_domain *host, +static inline unsigned int irq_create_mapping(struct irq_domain *domain, irq_hw_number_t hwirq) { - return irq_create_mapping_affinity(host, hwirq, NULL); + return irq_create_mapping_affinity(domain, hwirq, NULL); } =20 struct irq_desc *__irq_resolve_mapping(struct irq_domain *domain, --=20 2.48.0