| /linux/drivers/clocksource/ |
| H A D | timer-vt8500.c | 43 static u64 vt8500_timer_read(struct clocksource *cs) in vt8500_timer_read() 53 static struct clocksource clocksource = { variable 65 u64 alarm = clocksource.read(&clocksource) + cycles; in vt8500_timer_set_next_event() 71 if ((signed)(alarm - clocksource.read(&clocksource)) <= MIN_OSCR_DELTA) in vt8500_timer_set_next_event() 126 ret = clocksource_register_hz(&clocksource, VT8500_TIMER_HZ); in vt8500_timer_init() 129 __func__, clocksource.name); in vt8500_timer_init()
|
| H A D | timer-pistachio.c | 48 struct clocksource cs; 68 pistachio_clocksource_read_cycles(struct clocksource *cs) in pistachio_clocksource_read_cycles() 93 static void pistachio_clksrc_set_mode(struct clocksource *cs, int timeridx, in pistachio_clksrc_set_mode() 108 static void pistachio_clksrc_enable(struct clocksource *cs, int timeridx) in pistachio_clksrc_enable() 118 static void pistachio_clksrc_disable(struct clocksource *cs, int timeridx) in pistachio_clksrc_disable() 124 static int pistachio_clocksource_enable(struct clocksource *cs) in pistachio_clocksource_enable() 130 static void pistachio_clocksource_disable(struct clocksource *cs) in pistachio_clocksource_disable()
|
| H A D | arc_timer.c | 58 static u64 arc_read_gfrc(struct clocksource *cs) in arc_read_gfrc() 95 static struct clocksource arc_counter_gfrc = { 128 static u64 arc_read_rtc(struct clocksource *cs) in arc_read_rtc() 153 static struct clocksource arc_counter_rtc = { 196 static u64 arc_read_timer1(struct clocksource *cs) in arc_read_timer1() 206 static struct clocksource arc_counter_timer1 = {
|
| H A D | ingenic-ost.c | 39 struct clocksource cs; 56 static u64 notrace ingenic_ost_clocksource_readl(struct clocksource *cs) in ingenic_ost_clocksource_readl() 61 static u64 notrace ingenic_ost_clocksource_readh(struct clocksource *cs) in ingenic_ost_clocksource_readh() 71 struct clocksource *cs; in ingenic_ost_probe()
|
| H A D | timer-goldfish.c | 13 struct clocksource cs; 24 static struct goldfish_timer *cs_to_gf(struct clocksource *cs) in cs_to_gf() 29 static u64 goldfish_timer_read(struct clocksource *cs) in goldfish_timer_read() 131 timerdrv->cs = (struct clocksource){ in goldfish_timer_init()
|
| H A D | timer-ti-32k.c | 50 struct clocksource cs; 53 static inline struct ti_32k *to_ti_32k(struct clocksource *cs) in to_ti_32k() 58 static u64 notrace ti_32k_read_cycles(struct clocksource *cs) in ti_32k_read_cycles()
|
| H A D | clksrc-dbx500-prcmu.c | 30 static u64 notrace clksrc_dbx500_prcmu_read(struct clocksource *cs) in clksrc_dbx500_prcmu_read() 44 static struct clocksource clocksource_dbx500_prcmu = {
|
| H A D | scx200_hrt.c | 42 static u64 read_hrt(struct clocksource *cs) in read_hrt() 48 static struct clocksource cs_hrt = {
|
| H A D | numachip.c | 15 static cycles_t numachip2_timer_read(struct clocksource *cs) in numachip2_timer_read() 20 static struct clocksource numachip2_clocksource = {
|
| /linux/arch/arm/mach-footbridge/ |
| H A D | dc21285-timer.c | 23 static u64 cksrc_dc21285_read(struct clocksource *cs) in cksrc_dc21285_read() 28 static int cksrc_dc21285_enable(struct clocksource *cs) in cksrc_dc21285_enable() 36 static void cksrc_dc21285_disable(struct clocksource *cs) in cksrc_dc21285_disable() 41 static struct clocksource cksrc_dc21285 = {
|
| /linux/arch/mips/kernel/ |
| H A D | csrc-bcm1480.c | 19 static u64 bcm1480_hpt_read(struct clocksource *cs) in bcm1480_hpt_read() 24 struct clocksource bcm1480_clocksource = { 39 struct clocksource *cs = &bcm1480_clocksource; in sb1480_clocksource_init()
|
| H A D | csrc-sb1250.c | 35 static u64 sb1250_hpt_read(struct clocksource *cs) in sb1250_hpt_read() 40 struct clocksource bcm1250_clocksource = { 55 struct clocksource *cs = &bcm1250_clocksource; in sb1250_clocksource_init()
|
| H A D | csrc-ioasic.c | 16 static u64 dec_ioasic_hpt_read(struct clocksource *cs) in dec_ioasic_hpt_read() 21 static struct clocksource clocksource_dec = {
|
| /linux/arch/m68k/hp300/ |
| H A D | time.c | 25 static u64 hp300_read_clk(struct clocksource *cs); 27 static struct clocksource hp300_clk = { 77 static u64 hp300_read_clk(struct clocksource *cs) in hp300_read_clk()
|
| /linux/tools/testing/selftests/timers/ |
| H A D | clocksource-switch.c | 86 int change_clocksource(char *clocksource) in change_clocksource() argument 96 size = write(fd, clocksource, strlen(clocksource)); in change_clocksource()
|
| /linux/arch/mips/loongson64/ |
| H A D | hpet.c | 250 static u64 hpet_read_counter(struct clocksource *cs) in hpet_read_counter() 255 static void hpet_suspend(struct clocksource *cs) in hpet_suspend() 259 static void hpet_resume(struct clocksource *cs) in hpet_resume() 265 static struct clocksource csrc_hpet = {
|
| /linux/tools/rcu/ |
| H A D | extract-stall.sh | 6 echo Filter out clocksource lines. Note that preceding-lines excludes the 47 }' < "$1" | tr -d '\015' | grep -v clocksource
|
| /linux/arch/m68k/mvme147/ |
| H A D | config.c | 110 static u64 mvme147_read_clk(struct clocksource *cs); 112 static struct clocksource mvme147_clk = { 162 static u64 mvme147_read_clk(struct clocksource *cs) in mvme147_read_clk()
|
| /linux/arch/alpha/kernel/ |
| H A D | time.c | 138 qemu_cs_read(struct clocksource *cs) in qemu_cs_read() 143 static struct clocksource qemu_cs = { 264 static u64 read_rpcc(struct clocksource *cs) in read_rpcc() 269 static struct clocksource clocksource_rpcc = {
|
| /linux/kernel/time/ |
| H A D | jiffies.c | 16 static u64 jiffies_read(struct clocksource *cs) in jiffies_read() 32 static struct clocksource clocksource_jiffies = { 65 struct clocksource * __init __weak clocksource_default_clock(void) in clocksource_default_clock() 74 static struct clocksource refined_jiffies;
|
| /linux/arch/arm/mach-rpc/ |
| H A D | time.c | 29 static u64 ioc_timer_read(struct clocksource *cs) in ioc_timer_read() 67 static struct clocksource ioctime_clocksource = {
|
| /linux/arch/arc/boot/dts/ |
| H A D | skeleton_hs.dtsi | 33 /* 64-bit Local RTC: preferred clocksource for UP */ 39 /* TIMER1 for free running clocksource: Fallback if rtc not found */
|
| /linux/arch/m68k/68000/ |
| H A D | timers.c | 72 static u64 m68328_read_clk(struct clocksource *cs) in m68328_read_clk() 86 static struct clocksource m68328_clk = {
|
| /linux/Documentation/translations/zh_CN/arch/mips/ |
| H A D | ingenic-tcu.rst | 62 定时器 drivers/clocksource/ingenic-timer.c 63 OST drivers/clocksource/ingenic-ost.c
|
| /linux/Documentation/translations/zh_TW/arch/mips/ |
| H A D | ingenic-tcu.rst | 62 定時器 drivers/clocksource/ingenic-timer.c 63 OST drivers/clocksource/ingenic-ost.c
|