Lines Matching +full:rclk +full:-
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2009-2010 The FreeBSD Foundation
63 if (b1->bst != b2->bst) in uart_cpu_eqres()
65 if (pmap_kextract(b1->bsh) == 0) in uart_cpu_eqres()
67 if (pmap_kextract(b2->bsh) == 0) in uart_cpu_eqres()
69 return ((pmap_kextract(b1->bsh) == pmap_kextract(b2->bsh)) ? 1 : 0); in uart_cpu_eqres()
78 u_int shift, iowidth, rclk; in uart_cpu_getdev() local
87 err = uart_cpu_fdt_probe(&class, &bst, &bsh, &br, &rclk, in uart_cpu_getdev()
95 di->bas.chan = 0; in uart_cpu_getdev()
96 di->bas.regshft = shift; in uart_cpu_getdev()
97 di->bas.regiowidth = iowidth; in uart_cpu_getdev()
98 di->baudrate = br; in uart_cpu_getdev()
99 di->bas.rclk = rclk; in uart_cpu_getdev()
100 di->ops = uart_getops(class); in uart_cpu_getdev()
101 di->databits = 8; in uart_cpu_getdev()
102 di->stopbits = 1; in uart_cpu_getdev()
103 di->parity = UART_PARITY_NONE; in uart_cpu_getdev()
104 di->bas.bst = bst; in uart_cpu_getdev()
105 di->bas.bsh = bsh; in uart_cpu_getdev()
107 uart_bus_space_mem = di->bas.bst; in uart_cpu_getdev()