Home
last modified time | relevance | path

Searched refs:timebase (Results 1 – 25 of 116) sorted by relevance

12345

/arch/powerpc/boot/
Dpq2.c29 u32 *timebase, u32 *brgfreq) in pq2_get_clocks() argument
55 if (timebase) in pq2_get_clocks()
56 *timebase = busclk / 4; in pq2_get_clocks()
75 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq) in pq2_set_clocks() argument
79 dt_fixup_cpu_clocks(corefreq, timebase, sysfreq); in pq2_set_clocks()
92 u32 sysfreq, corefreq, timebase, brgfreq; in pq2_fixup_clocks() local
94 if (!pq2_get_clocks(crystal, &sysfreq, &corefreq, &timebase, &brgfreq)) in pq2_fixup_clocks()
97 pq2_set_clocks(sysfreq, corefreq, timebase, brgfreq); in pq2_fixup_clocks()
Dtreeboot-currituck.c85 const u32 *timebase; in platform_init() local
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()
Dsimpleboot.c28 const u32 *na, *ns, *reg, *timebase; in platform_init() local
73 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init()
74 if (timebase && (size == 4)) in platform_init()
75 timebase_period_ns = 1000000000 / *timebase; in platform_init()
Dtreeboot-akebono.c98 const u32 *timebase; in platform_init() local
151 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init()
152 if (timebase && (size == 4)) in platform_init()
153 timebase_period_ns = 1000000000 / *timebase; in platform_init()
Dpq2.h8 u32 *timebase, u32 *brgfreq);
9 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq);
/arch/powerpc/platforms/85xx/
Dsmp.c43 static u64 timebase; variable
73 asm volatile("mfspr %0, %1" : "=r" (timebase) : in mpc85xx_give_timebase()
77 prev = timebase; in mpc85xx_give_timebase()
78 asm volatile("mfspr %0, %1" : "=r" (timebase) : in mpc85xx_give_timebase()
80 } while (prev != timebase); in mpc85xx_give_timebase()
83 timebase = get_tb(); in mpc85xx_give_timebase()
107 set_tb(timebase >> 32, timebase & 0xffffffff); in mpc85xx_take_timebase()
/arch/powerpc/platforms/powermac/
Dsmp.c67 static u64 timebase; variable
383 timebase = get_tb(); in smp_psurge_kick_cpu()
385 while (timebase) in smp_psurge_kick_cpu()
422 while (!timebase) in smp_psurge_take_timebase()
425 set_tb(timebase >> 32, timebase & 0xffffffff); in smp_psurge_take_timebase()
426 timebase = 0; in smp_psurge_take_timebase()
465 timebase = get_tb(); in smp_core99_give_timebase()
467 while (timebase) in smp_core99_give_timebase()
485 while (!timebase) in smp_core99_take_timebase()
488 set_tb(timebase >> 32, timebase & 0xffffffff); in smp_core99_take_timebase()
[all …]
/arch/powerpc/platforms/pasemi/
Dsetup.c100 static unsigned long timebase; variable
111 timebase = get_tb(); in pas_give_timebase()
114 while (timebase) in pas_give_timebase()
122 while (!timebase) in pas_take_timebase()
126 set_tb(timebase >> 32, timebase & 0xffffffff); in pas_take_timebase()
127 timebase = 0; in pas_take_timebase()
/arch/powerpc/boot/dts/fsl/
Dmpc8641si-pre.dtsi37 timebase-frequency = <0>;
49 timebase-frequency = <0>;
Dmpc8568si-pre.dtsi65 &pmc 0x00004000>; // timebase
Dmpc8569si-pre.dtsi64 &pmc 0x00004000>; // timebase
/arch/powerpc/boot/dts/
Diss4xx-mpic.dts39 timebase-frequency = <100000000>;
53 timebase-frequency = <100000000>;
69 timebase-frequency = <100000000>;
85 timebase-frequency = <100000000>;
Dps3.dts33 * dtc expects a clock-frequency and timebase-frequency entries, so
51 timebase-frequency = <0>;
Dsbc8548-pre.dtsi36 timebase-frequency = <0>; // From uboot
Dgamecube.dts36 timebase-frequency = <40500000>; /* 162MHz / 4 */
Dmedia5200.dts29 timebase-frequency = <33000000>; // 33 MHz, these were configured by U-Boot
Dstorcenter.dts36 timebase-frequency = <25000000>;
Diss4xx.dts37 timebase-frequency = <100000000>;
Dadder875-redboot.dts33 timebase-frequency = <0>;
Dadder875-uboot.dts33 timebase-frequency = <0>;
Damigaone.dts29 timebase-frequency = <0>; // 33.3 MHz, from U-boot
/arch/powerpc/include/asm/
Ddtl.h17 __be64 timebase; member
/arch/powerpc/kernel/
Drtas.c1352 static u64 timebase = 0; variable
1362 timebase = get_tb(); in rtas_give_timebase()
1365 while (timebase) in rtas_give_timebase()
1373 while (!timebase) in rtas_take_timebase()
1376 set_tb(timebase >> 32, timebase & 0xffffffff); in rtas_take_timebase()
1377 timebase = 0; in rtas_take_timebase()
/arch/riscv/boot/dts/sifive/
Dhifive-unleashed-a00.dts23 timebase-frequency = <RTCCLK_FREQ>;
/arch/riscv/boot/dts/kendryte/
Dk210.dtsi30 timebase-frequency = <7800000>;

12345