Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/altera KNF
details: https://anonhg.NetBSD.org/src/rev/355aad17d0c4
branches: trunk
changeset: 447580:355aad17d0c4
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Jan 17 12:49:53 2019 +0000
description:
KNF
diffstat:
sys/arch/arm/altera/cycv_clkmgr.c | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diffs (65 lines):
diff -r 2f05add26fec -r 355aad17d0c4 sys/arch/arm/altera/cycv_clkmgr.c
--- a/sys/arch/arm/altera/cycv_clkmgr.c Thu Jan 17 10:20:01 2019 +0000
+++ b/sys/arch/arm/altera/cycv_clkmgr.c Thu Jan 17 12:49:53 2019 +0000
@@ -1,9 +1,9 @@
-/* $NetBSD: cycv_clkmgr.c,v 1.1 2018/09/19 17:31:38 aymeric Exp $ */
+/* $NetBSD: cycv_clkmgr.c,v 1.2 2019/01/17 12:49:53 skrll Exp $ */
/* This file is in the public domain. */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cycv_clkmgr.c,v 1.1 2018/09/19 17:31:38 aymeric Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cycv_clkmgr.c,v 1.2 2019/01/17 12:49:53 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -323,7 +323,8 @@
}
static struct cycv_clk_mux_info *
-cycv_clkmgr_get_mux_info(const char *name) {
+cycv_clkmgr_get_mux_info(const char *name)
+{
size_t i;
for (i = 0; i < __arraycount(cycv_clk_mux_tree); i++) {
@@ -363,7 +364,8 @@
}
static void
-cycv_clkmgr_clock_print(struct cycv_clkmgr_softc *sc, struct cycv_clk *clk) {
+cycv_clkmgr_clock_print(struct cycv_clkmgr_softc *sc, struct cycv_clk *clk)
+{
uint32_t numer;
uint32_t denom;
uint32_t tmp;
@@ -510,7 +512,8 @@
}
static int
-cycv_clkmgr_clock_set(void *priv, struct clk *base_clk, int val) {
+cycv_clkmgr_clock_set(void *priv, struct clk *base_clk, int val)
+{
struct cycv_clkmgr_softc *sc = priv;
struct cycv_clk *clk = (struct cycv_clk *) base_clk;
@@ -602,7 +605,8 @@
*/
uint32_t
-cycv_clkmgr_early_get_mpu_clk(void) {
+cycv_clkmgr_early_get_mpu_clk(void)
+{
bus_space_tag_t bst = &armv7_generic_bs_tag;
bus_space_handle_t bsh;
uint32_t tmp;
@@ -620,7 +624,8 @@
}
uint32_t
-cycv_clkmgr_early_get_l4_sp_clk(void) {
+cycv_clkmgr_early_get_l4_sp_clk(void)
+{
bus_space_tag_t bst = &armv7_generic_bs_tag;
bus_space_handle_t bsh;
uint32_t tmp;
Home |
Main Index |
Thread Index |
Old Index