From nobody Sun Dec 26 20:19:25 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2AE06190141A; Sun, 26 Dec 2021 20:19:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JMXFn6Sf6z3vNG; Sun, 26 Dec 2021 20:19:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BD96F10EBF; Sun, 26 Dec 2021 20:19:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BQKJP7j096619; Sun, 26 Dec 2021 20:19:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BQKJPXl096618; Sun, 26 Dec 2021 20:19:25 GMT (envelope-from git) Date: Sun, 26 Dec 2021 20:19:25 GMT Message-Id: <202112262019.1BQKJPXl096618@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Adrian Chadd Subject: git: a82907ed131a - main - clk: rename clknode_try_freq to clknode_test_freq List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adrian X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a82907ed131a093a4fcc1960fc5ae162bf29bb7c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640549965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o1uEzDPvXFi3fOhFRURTi8FSbLZLlqR/cHxNc/1XZFw=; b=rOjqiNH9ZFKyExrF94TojK886lwSYPcEWgalVP23FWH5OBJClnvDKVCJVeHjaUemSzscVw wn3ePqcJoH/UJwpjJEyDy084tlZTj9OQvLUKl4ikA2y4+YFBbLjVttddY7yW6tmw5ceg7c ABOyfPyoZk7TI2YOC3LvkGrivBtzdFCyAa5QcpxBrz7sOTNSb05tyVWl6cITWqJVfve7sp OGptqkTX0j+vIbCwjJ1XuxvicRHcIDNR+MJ8hIQc7CmXeSA69xNuyaYd1Q1Hd1pGu260JB Vmv/wdPJ6uZPXX4VPIkn1iCO7ZGIUyxNJg4MLx+6TL5WuXPT65XiQ2zU9XUulA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640549965; a=rsa-sha256; cv=none; b=GUQ6UQan5qtlCGFWlsArwPVteq5UYx4NU2maun+pB/eSYfef9GRnmXdA6gLw5lBeTSHnep 8d2okfkVQtVX3c00/tf/nElUzlChfs0CWFYy9ggewwnvs1janqzcOI0dx0pYGO+1qKLbT0 qrDDQLDOUQvNQRIq7ak3pY8CYKE6hNkr8w1iRpSVbdezJN6U/mgHqe3/FJefsdh5Sgdcpe u0OWdMTbuQcoohrlL7HXbnL6aJDY6rN+7bCyKwtkNZUtpa0PWQilQ5Gv6EcfSLfn7nsfrD ndA6XJoRNFNlejPQpwZ/D+o/1WpI2tDpxgcuDfzPstEMroUtSfbjbaytfA1zzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=a82907ed131a093a4fcc1960fc5ae162bf29bb7c commit a82907ed131a093a4fcc1960fc5ae162bf29bb7c Author: Adrian Chadd AuthorDate: 2021-12-26 14:16:02 +0000 Commit: Adrian Chadd CommitDate: 2021-12-26 14:16:02 +0000 clk: rename clknode_try_freq to clknode_test_freq This brings it in line with what the clk_*_freq routines are named. --- sys/dev/extres/clk/clk.c | 2 +- sys/dev/extres/clk/clk.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/extres/clk/clk.c b/sys/dev/extres/clk/clk.c index 2be233c465a9..26034a91919f 100644 --- a/sys/dev/extres/clk/clk.c +++ b/sys/dev/extres/clk/clk.c @@ -1049,7 +1049,7 @@ clknode_set_freq(struct clknode *clknode, uint64_t freq, int flags, } int -clknode_try_freq(struct clknode *clknode, uint64_t freq, int flags, +clknode_test_freq(struct clknode *clknode, uint64_t freq, int flags, int enablecnt, uint64_t *out_freq) { int rv; diff --git a/sys/dev/extres/clk/clk.h b/sys/dev/extres/clk/clk.h index 5daf3c0731ee..68a7811a736f 100644 --- a/sys/dev/extres/clk/clk.h +++ b/sys/dev/extres/clk/clk.h @@ -115,7 +115,7 @@ struct clknode *clknode_find_by_id(struct clkdom *clkdom, intptr_t id); int clknode_get_freq(struct clknode *clknode, uint64_t *freq); int clknode_set_freq(struct clknode *clknode, uint64_t freq, int flags, int enablecnt); -int clknode_try_freq(struct clknode *clknode, uint64_t freq, int flags, +int clknode_test_freq(struct clknode *clknode, uint64_t freq, int flags, int enablecnt, uint64_t *out_freq); int clknode_enable(struct clknode *clknode); int clknode_disable(struct clknode *clknode);