| /linux/arch/powerpc/boot/ |
| H A D | pq2.c | 29 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()
|
| H A D | simpleboot.c | 28 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()
|
| H A D | treeboot-currituck.c | 85 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()
|
| H A D | treeboot-akebono.c | 98 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()
|
| H A D | pq2.h | 8 u32 *timebase, u32 *brgfreq); 9 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq);
|
| /linux/arch/powerpc/platforms/powermac/ |
| H A D | smp.c | 67 static u64 timebase; variable 384 timebase = get_tb(); in smp_psurge_kick_cpu() 386 while (timebase) in smp_psurge_kick_cpu() 423 while (!timebase) in smp_psurge_take_timebase() 426 set_tb(timebase >> 32, timebase & 0xffffffff); in smp_psurge_take_timebase() 427 timebase = 0; in smp_psurge_take_timebase() 466 timebase = get_tb(); in smp_core99_give_timebase() 468 while (timebase) in smp_core99_give_timebase() 486 while (!timebase) in smp_core99_take_timebase() 489 set_tb(timebase >> 32, timebase & 0xffffffff); in smp_core99_take_timebase() [all …]
|
| /linux/arch/powerpc/platforms/pasemi/ |
| H A D | setup.c | 102 static unsigned long timebase; variable 113 timebase = get_tb(); in pas_give_timebase() 116 while (timebase) in pas_give_timebase() 124 while (!timebase) in pas_take_timebase() 128 set_tb(timebase >> 32, timebase & 0xffffffff); in pas_take_timebase() 129 timebase = 0; in pas_take_timebase()
|
| /linux/drivers/pwm/ |
| H A D | pwm-img.c | 92 u32 val, div, duty, timebase; in img_pwm_config() local 110 timebase = DIV_ROUND_UP(mul, 1); in img_pwm_config() 113 timebase = DIV_ROUND_UP(mul, 8); in img_pwm_config() 116 timebase = DIV_ROUND_UP(mul, 64); in img_pwm_config() 119 timebase = DIV_ROUND_UP(mul, 512); in img_pwm_config() 126 duty = DIV_ROUND_UP(timebase * duty_ns, period_ns); in img_pwm_config() 139 (timebase << PWM_CH_CFG_TMBASE_SHIFT); in img_pwm_config()
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | iss4xx-mpic.dts | 39 timebase-frequency = <100000000>; 53 timebase-frequency = <100000000>; 69 timebase-frequency = <100000000>; 85 timebase-frequency = <100000000>;
|
| H A D | ps3.dts | 33 * dtc expects a clock-frequency and timebase-frequency entries, so 51 timebase-frequency = <0>;
|
| H A D | microwatt.dts | 121 timebase-frequency = <100000000>; 151 timebase-frequency = <100000000>;
|
| H A D | gamecube.dts | 36 timebase-frequency = <40500000>; /* 162MHz / 4 */
|
| H A D | media5200.dts | 29 timebase-frequency = <33000000>; // 33 MHz, these were configured by U-Boot
|
| /linux/arch/powerpc/boot/dts/fsl/ |
| H A D | mpc8641si-pre.dtsi | 37 timebase-frequency = <0>; 49 timebase-frequency = <0>;
|
| H A D | mpc8568si-pre.dtsi | 65 &pmc 0x00004000>; // timebase
|
| H A D | mpc8569si-pre.dtsi | 64 &pmc 0x00004000>; // timebase
|
| /linux/tools/perf/util/ |
| H A D | powerpc-vpadtl.c | 37 u64 timebase; member 111 if (dtl->timebase != 0) { in powerpc_vpadtl_dump() 146 if (record->timebase) { in powerpc_vpadtl_timestamp() 149 diff = be64_to_cpu(record->timebase) - boot_tb; in powerpc_vpadtl_timestamp() 265 if (boottb->timebase == 0) { in powerpc_vpadtl_decode() 297 if ((long long)be64_to_cpu(vpaq->dtl->timebase) <= 0) { in powerpc_vpadtl_decode_all()
|
| /linux/Documentation/devicetree/bindings/powerpc/opal/ |
| H A D | power-mgt.txt | 15 extent of state-loss, whether timebase is stopped on this 45 0x00000002 /* Needs timebase restore */ 54 /* timebase (POWER8) */
|
| /linux/arch/powerpc/kernel/ |
| H A D | rtas.c | 2107 static u64 timebase = 0; variable 2116 timebase = get_tb(); in rtas_give_timebase() 2119 while (timebase) in rtas_give_timebase() 2127 while (!timebase) in rtas_take_timebase() 2130 set_tb(timebase >> 32, timebase & 0xffffffff); in rtas_take_timebase() 2131 timebase = 0; in rtas_take_timebase()
|
| /linux/arch/riscv/boot/dts/sophgo/ |
| H A D | cv180x-cpus.dtsi | 11 timebase-frequency = <25000000>;
|
| /linux/Documentation/arch/powerpc/ |
| H A D | vpa-dtl.rst | 114 u64 timebase; 153 …:256 256 [016] 105373.359913: vpa-dtl: timebase: 21403600706628… 154 …:256 256 [017] 105373.360012: vpa-dtl: timebase: 21403600706679…
|
| /linux/arch/powerpc/perf/ |
| H A D | vpa-dtl.c | 107 u64 timebase; member 235 boottb_freq.timebase = 0; in vpa_dtl_dump_sample_data()
|
| /linux/arch/riscv/boot/dts/sifive/ |
| H A D | hifive-unleashed-a00.dts | 22 timebase-frequency = <RTCCLK_FREQ>;
|
| /linux/arch/riscv/boot/dts/anlogic/ |
| H A D | dr1v90.dtsi | 16 timebase-frequency = <800000000>;
|
| /linux/arch/riscv/boot/dts/tenstorrent/ |
| H A D | blackhole.dtsi | 13 timebase-frequency = <50000000>;
|