Lines Matching +full:timebase +full:- +full:frequency
1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright 2002-2005 MontaVista Software Inc.
67 if (getprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)) < 0) { in ibm_currituck_fixups()
68 printf("%s: Failed to get dma-ranges\r\n", __func__); in ibm_currituck_fixups()
75 setprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)); in ibm_currituck_fixups()
85 const u32 *timebase; in platform_init() local
92 avail_ram = end_of_ram - (unsigned long)_end; in platform_init()
103 node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type", in platform_init()
107 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init()
108 if (timebase && (size == 4)) in platform_init()
109 timebase_period_ns = 1000000000 / *timebase; in platform_init()