opnsense-src/sys/dev/clk
Mitchell Horne 08635c51d1 clkdom_dump(): improve output text
If the call to clknode_get_freq() returns an error (unlikely), report
this, rather than printing the error code as the clock frequency.

If the clock has no parent (e.g. a fixed reference clock), print "none"
rather than "(NULL)(-1)". This is a more human-legible presentation of the
same information.

Reviewed by:	manu
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D44267
2024-03-08 10:09:36 -04:00
..
allwinner hwreset: Move reset code in dev/hwreset 2024-01-10 19:20:28 +01:00
rockchip syscon: Move syscon code in dev/syscon 2024-01-10 19:20:37 +01:00
xilinx hwreset: Move reset code in dev/hwreset 2024-01-10 19:20:28 +01:00
clk.c clkdom_dump(): improve output text 2024-03-08 10:09:36 -04:00
clk.h clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clk_bus.c clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clk_div.c clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clk_div.h clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clk_fixed.c clk_fixed: quiet by default 2024-03-08 10:09:36 -04:00
clk_fixed.h clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clk_gate.c clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clk_gate.h clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clk_link.c clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clk_link.h clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clk_mux.c clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clk_mux.h clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clkdev_if.m clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00
clknode_if.m clk: Move clock code in dev/clk 2024-01-10 19:20:26 +01:00