Lines Matching +full:rclk +full:-
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
71 for (cd_it = *cd; cd_it->cd_hid != NULL; cd_it++) { in uart_acpi_find_device()
72 if (acpi_MatchHid(h, cd_it->cd_hid)) in uart_acpi_find_device()
85 uint32_t rclk; in uart_acpi_probe() local
89 rclk = 0; in uart_acpi_probe()
95 sc->sc_class = cd->cd_class; in uart_acpi_probe()
96 if (cd->cd_desc != NULL) in uart_acpi_probe()
97 device_set_desc(dev, cd->cd_desc); in uart_acpi_probe()
99 size = device_get_property(dev, "clock-frequency", &rclk, in uart_acpi_probe()
100 sizeof(rclk), DEVICE_PROP_UINT32); in uart_acpi_probe()
101 if (size < 0 || rclk == 0) in uart_acpi_probe()
102 rclk = cd->cd_rclk; in uart_acpi_probe()
104 return (uart_bus_probe(dev, cd->cd_regshft, cd->cd_regiowidth, in uart_acpi_probe()
105 rclk, 0, 0, cd->cd_quirks)); in uart_acpi_probe()