/Linux-v4.19/arch/powerpc/boot/ |
D | pq2.c | 32 u32 *timebase, u32 *brgfreq) in pq2_get_clocks() argument 58 if (timebase) in pq2_get_clocks() 59 *timebase = busclk / 4; in pq2_get_clocks() 78 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq) in pq2_set_clocks() argument 82 dt_fixup_cpu_clocks(corefreq, timebase, sysfreq); in pq2_set_clocks() 95 u32 sysfreq, corefreq, timebase, brgfreq; in pq2_fixup_clocks() local 97 if (!pq2_get_clocks(crystal, &sysfreq, &corefreq, &timebase, &brgfreq)) in pq2_fixup_clocks() 100 pq2_set_clocks(sysfreq, corefreq, timebase, brgfreq); in pq2_fixup_clocks()
|
D | simpleboot.c | 31 const u32 *na, *ns, *reg, *timebase; in platform_init() local 76 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init() 77 if (timebase && (size == 4)) in platform_init() 78 timebase_period_ns = 1000000000 / *timebase; in platform_init()
|
D | treeboot-currituck.c | 89 const u32 *timebase; in platform_init() local 111 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init() 112 if (timebase && (size == 4)) in platform_init() 113 timebase_period_ns = 1000000000 / *timebase; in platform_init()
|
D | treeboot-akebono.c | 102 const u32 *timebase; in platform_init() local 155 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init() 156 if (timebase && (size == 4)) in platform_init() 157 timebase_period_ns = 1000000000 / *timebase; in platform_init()
|
D | pq2.h | 8 u32 *timebase, u32 *brgfreq); 9 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq);
|
/Linux-v4.19/Documentation/devicetree/bindings/watchdog/ |
D | of-xilinx-wdt.txt | 5 - compatible : Should be "xlnx,xps-timebase-wdt-1.00.a" or 6 "xlnx,xps-timebase-wdt-1.01.a". 19 axi-timebase-wdt@40100000 { 21 compatible = "xlnx,xps-timebase-wdt-1.00.a";
|
/Linux-v4.19/arch/powerpc/platforms/85xx/ |
D | smp.c | 48 static u64 timebase; variable 78 asm volatile("mfspr %0, %1" : "=r" (timebase) : in mpc85xx_give_timebase() 82 prev = timebase; in mpc85xx_give_timebase() 83 asm volatile("mfspr %0, %1" : "=r" (timebase) : in mpc85xx_give_timebase() 85 } while (prev != timebase); in mpc85xx_give_timebase() 88 timebase = get_tb(); in mpc85xx_give_timebase() 112 set_tb(timebase >> 32, timebase & 0xffffffff); in mpc85xx_take_timebase()
|
/Linux-v4.19/arch/powerpc/platforms/powermac/ |
D | smp.c | 70 static u64 timebase; variable 390 timebase = get_tb(); in smp_psurge_kick_cpu() 392 while (timebase) in smp_psurge_kick_cpu() 431 while (!timebase) in smp_psurge_take_timebase() 434 set_tb(timebase >> 32, timebase & 0xffffffff); in smp_psurge_take_timebase() 435 timebase = 0; in smp_psurge_take_timebase() 474 timebase = get_tb(); in smp_core99_give_timebase() 476 while (timebase) in smp_core99_give_timebase() 494 while (!timebase) in smp_core99_take_timebase() 497 set_tb(timebase >> 32, timebase & 0xffffffff); in smp_core99_take_timebase() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/pasemi/ |
D | setup.c | 77 static unsigned long timebase; variable 88 timebase = get_tb(); in pas_give_timebase() 91 while (timebase) in pas_give_timebase() 99 while (!timebase) in pas_take_timebase() 103 set_tb(timebase >> 32, timebase & 0xffffffff); in pas_take_timebase() 104 timebase = 0; in pas_take_timebase()
|
/Linux-v4.19/drivers/pwm/ |
D | pwm-img.c | 98 u32 val, div, duty, timebase; in img_pwm_config() local 116 timebase = DIV_ROUND_UP(mul, 1); in img_pwm_config() 119 timebase = DIV_ROUND_UP(mul, 8); in img_pwm_config() 122 timebase = DIV_ROUND_UP(mul, 64); in img_pwm_config() 125 timebase = DIV_ROUND_UP(mul, 512); in img_pwm_config() 132 duty = DIV_ROUND_UP(timebase * duty_ns, period_ns); in img_pwm_config() 145 (timebase << PWM_CH_CFG_TMBASE_SHIFT); in img_pwm_config()
|
/Linux-v4.19/drivers/isdn/mISDN/ |
D | l1oip_core.c | 279 u16 timebase, u8 *buf, int len) in l1oip_socket_send() argument 320 *p++ = timebase >> 8; /* time base */ in l1oip_socket_send() 321 *p++ = timebase; in l1oip_socket_send() 364 l1oip_socket_recv(struct l1oip *hc, u8 remotecodec, u8 channel, u16 timebase, in l1oip_socket_recv() argument 422 if (((s16)(timebase - rx_counter)) >= 0) { in l1oip_socket_recv() 424 if (timebase >= (rx_counter & 0xffff)) in l1oip_socket_recv() 426 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv() 429 | timebase; in l1oip_socket_recv() 432 if (timebase < (rx_counter & 0xffff)) in l1oip_socket_recv() 434 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv() [all …]
|
/Linux-v4.19/arch/powerpc/boot/dts/ |
D | iss4xx-mpic.dts | 39 timebase-frequency = <100000000>; 53 timebase-frequency = <100000000>; 69 timebase-frequency = <100000000>; 85 timebase-frequency = <100000000>;
|
D | ps3.dts | 45 * dtc expects a clock-frequency and timebase-frequency entries, so 63 timebase-frequency = <0>;
|
D | sbc8548-pre.dtsi | 40 timebase-frequency = <0>; // From uboot
|
D | gamecube.dts | 41 timebase-frequency = <40500000>; /* 162MHz / 4 */
|
D | storcenter.dts | 36 timebase-frequency = <25000000>;
|
D | virtex440-ml507.dts | 53 timebase-frequency = <400000000>; 383 xps_timebase_wdt_1: xps-timebase-wdt@83a00000 { 384 compatible = "xlnx,xps-timebase-wdt-1.00.b";
|
D | media5200.dts | 33 timebase-frequency = <33000000>; // 33 MHz, these were configured by U-Boot
|
/Linux-v4.19/drivers/leds/ |
D | leds-asic3.c | 45 u32 timebase; in brightness_set() local 48 timebase = (value == LED_OFF) ? 0 : (LED_EN|0x4); in brightness_set() 54 asic3_write_register(asic, (base + ASIC3_LED_TimeBase), timebase); in brightness_set()
|
/Linux-v4.19/arch/powerpc/boot/dts/fsl/ |
D | mpc8641si-pre.dtsi | 42 timebase-frequency = <0>; 54 timebase-frequency = <0>;
|
D | mpc8568si-pre.dtsi | 65 &pmc 0x00004000>; // timebase
|
D | mpc8569si-pre.dtsi | 64 &pmc 0x00004000>; // timebase
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | rtas.c | 1226 static u64 timebase = 0; variable 1236 timebase = get_tb(); in rtas_give_timebase() 1239 while (timebase) in rtas_give_timebase() 1247 while (!timebase) in rtas_take_timebase() 1250 set_tb(timebase >> 32, timebase & 0xffffffff); in rtas_take_timebase() 1251 timebase = 0; in rtas_take_timebase()
|
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/opal/ |
D | power-mgt.txt | 15 extent of state-loss, whether timebase is stopped on this 45 0x00000002 /* Needs timebase restore */ 54 /* timebase (POWER8) */
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | lppaca.h | 148 __be64 timebase; member
|