/linux-6.3-rc2/arch/powerpc/boot/ |
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()
|
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()
|
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()
|
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()
|
A D | pq2.h | 8 u32 *timebase, u32 *brgfreq); 9 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq);
|
/linux-6.3-rc2/arch/powerpc/platforms/85xx/ |
A D | smp.c | 43 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()
|
/linux-6.3-rc2/arch/powerpc/platforms/powermac/ |
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-6.3-rc2/arch/powerpc/platforms/pasemi/ |
A D | setup.c | 100 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()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/watchdog/ |
A D | xlnx,xps-timebase-wdt.yaml | 4 $id: http://devicetree.org/schemas/watchdog/xlnx,xps-timebase-wdt.yaml# 27 - xlnx,xps-timebase-wdt-1.01.a 28 - xlnx,xps-timebase-wdt-1.00.a 61 compatible = "xlnx,xps-timebase-wdt-1.00.a";
|
/linux-6.3-rc2/drivers/pwm/ |
A D | pwm-img.c | 94 u32 val, div, duty, timebase; in img_pwm_config() local 112 timebase = DIV_ROUND_UP(mul, 1); in img_pwm_config() 115 timebase = DIV_ROUND_UP(mul, 8); in img_pwm_config() 118 timebase = DIV_ROUND_UP(mul, 64); in img_pwm_config() 121 timebase = DIV_ROUND_UP(mul, 512); in img_pwm_config() 128 duty = DIV_ROUND_UP(timebase * duty_ns, period_ns); in img_pwm_config() 141 (timebase << PWM_CH_CFG_TMBASE_SHIFT); in img_pwm_config()
|
/linux-6.3-rc2/drivers/isdn/mISDN/ |
A D | l1oip_core.c | 265 u16 timebase, u8 *buf, int len) in l1oip_socket_send() argument 306 *p++ = timebase >> 8; /* time base */ in l1oip_socket_send() 307 *p++ = timebase; in l1oip_socket_send() 410 if (timebase >= (rx_counter & 0xffff)) in l1oip_socket_recv() 412 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv() 415 | timebase; in l1oip_socket_recv() 418 if (timebase < (rx_counter & 0xffff)) in l1oip_socket_recv() 423 | timebase; in l1oip_socket_recv() 449 u16 timebase; in l1oip_socket_parse() local 580 timebase = (*buf++) << 8; in l1oip_socket_parse() [all …]
|
/linux-6.3-rc2/arch/powerpc/boot/dts/ |
A D | iss4xx-mpic.dts | 39 timebase-frequency = <100000000>; 53 timebase-frequency = <100000000>; 69 timebase-frequency = <100000000>; 85 timebase-frequency = <100000000>;
|
A D | ps3.dts | 33 * dtc expects a clock-frequency and timebase-frequency entries, so 51 timebase-frequency = <0>;
|
A D | gamecube.dts | 36 timebase-frequency = <40500000>; /* 162MHz / 4 */
|
/linux-6.3-rc2/arch/powerpc/boot/dts/fsl/ |
A D | mpc8641si-pre.dtsi | 37 timebase-frequency = <0>; 49 timebase-frequency = <0>;
|
/linux-6.3-rc2/Documentation/devicetree/bindings/riscv/ |
A D | cpus.yaml | 88 # RISC-V requires 'timebase-frequency' in /cpus, so disallow it here 89 timebase-frequency: false 135 timebase-frequency = <1000000>;
|
/linux-6.3-rc2/Documentation/devicetree/bindings/timer/ |
A D | sifive,clint.yaml | 19 The clock frequency of CLINT is specified via "timebase-frequency" DT 20 property of "/cpus" DT node. The "timebase-frequency" DT property is
|
A D | riscv,timer.yaml | 19 "timebase-frequency" DT property of "/cpus" DT node which is described
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | dtl.h | 17 __be64 timebase; member
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | rtas.c | 2014 static u64 timebase = 0; variable 2023 timebase = get_tb(); in rtas_give_timebase() 2026 while (timebase) in rtas_give_timebase() 2034 while (!timebase) in rtas_take_timebase() 2037 set_tb(timebase >> 32, timebase & 0xffffffff); in rtas_take_timebase() 2038 timebase = 0; in rtas_take_timebase()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/powerpc/opal/ |
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-6.3-rc2/arch/riscv/boot/dts/renesas/ |
A D | r9a07g043f.dtsi | 18 timebase-frequency = <12000000>;
|
/linux-6.3-rc2/arch/riscv/boot/dts/allwinner/ |
A D | sun20i-d1s.dtsi | 10 timebase-frequency = <24000000>;
|
/linux-6.3-rc2/arch/riscv/boot/dts/microchip/ |
A D | mpfs-polarberry.dts | 26 timebase-frequency = <MTIMER_FREQ>;
|
A D | mpfs-sev-kit.dts | 32 timebase-frequency = <MTIMER_FREQ>;
|