/linux-master/arch/m68k/amiga/ |
H A D | amiga.h | 5 void amiga_mksound(unsigned int hz, unsigned int ticks);
|
H A D | amisound.c | 73 void amiga_mksound( unsigned int hz, unsigned int ticks ) 97 if (ticks) { 98 sound_timer.expires = jiffies + ticks;
|
/linux-master/arch/m68k/q40/ |
H A D | q40.h | 5 void q40_mksound(unsigned int hz, unsigned int ticks);
|
/linux-master/kernel/time/ |
H A D | tick-legacy.c | 15 * @ticks: number of ticks, that have elapsed since the last call. 20 * If 'ticks' is zero, the CPU is not handling timekeeping, so 25 void legacy_timer_tick(unsigned long ticks) argument 27 if (ticks) { 30 do_timer(ticks);
|
H A D | timekeeping.h | 26 extern void do_timer(unsigned long ticks);
|
/linux-master/drivers/staging/media/atomisp/pci/runtime/timer/src/ |
H A D | timer.c | 27 curr_ts->ticks = (clock_value_t)gp_timer_read(GP_TIMER_SEL);
|
/linux-master/arch/m68k/atari/ |
H A D | atari.h | 10 void atari_mksound(unsigned int hz, unsigned int ticks);
|
H A D | atasound.c | 54 void atari_mksound (unsigned int hz, unsigned int ticks) argument 57 ticks. */ 84 if (ticks) { 86 int length = (ticks * PSG_ENV_FREQ_10) / HZ / 10;
|
/linux-master/arch/arm/mach-rpc/ |
H A D | time.c | 33 u32 ticks; local 45 ticks = ioc_time + RPC_LATCH - count2; 54 ticks += RPC_LATCH; 59 * been processed, so add the missed ticks. 61 ticks += RPC_LATCH; 64 return ticks;
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_timer.h | 30 clock_value_t ticks; /** measured time in ticks.*/ member in struct:ia_css_clock_tick 49 clock_value_t start_timer_value; /** measured time in ticks */ 50 clock_value_t end_timer_value; /** measured time in ticks */
|
/linux-master/drivers/rtc/ |
H A D | rtc-88pm80x.c | 103 unsigned long ticks, base, data; local 113 ticks = base + data; 114 dev_dbg(info->dev, "get base:0x%lx, RO count:0x%lx, ticks:0x%lx\n", 115 base, data, ticks); 116 rtc_time64_to_tm(ticks, tm); 124 unsigned long ticks, base, data; local 126 ticks = rtc_tm_to_time64(tm); 132 base = ticks - data; 133 dev_dbg(info->dev, "set base:0x%lx, RO count:0x%lx, ticks:0x%lx\n", 134 base, data, ticks); 148 unsigned long ticks, base, data; local 174 unsigned long ticks, base, data; local [all...] |
H A D | rtc-tps6586x.c | 59 unsigned long long ticks = 0; local 72 ticks <<= 8; 73 ticks |= buff[i]; 76 seconds = ticks >> 10; 85 unsigned long long ticks; local 92 ticks = (unsigned long long)seconds << 10; 93 buff[0] = (ticks >> 32) & 0xff; 94 buff[1] = (ticks >> 24) & 0xff; 95 buff[2] = (ticks >> 16) & 0xff; 96 buff[3] = (ticks >> 140 unsigned long ticks; local 187 unsigned long ticks; local [all...] |
/linux-master/init/ |
H A D | calibrate.c | 190 unsigned long lpj, lpj_base, ticks, loopadd, loopadd_base, chop_limit; local 196 ticks = jiffies; 197 while (ticks == jiffies) 200 ticks = jiffies; 208 } while (ticks == jiffies); 228 ticks = jiffies; 229 while (ticks == jiffies) 231 ticks = jiffies; 233 if (jiffies != ticks) /* longer than 1 tick */
|
/linux-master/tools/perf/util/ |
H A D | spark.c | 13 static const char *ticks[NUM_SPARKS] = { local 30 ticks[((val[i] - min) << SPARK_SHIFT) / f]);
|
/linux-master/sound/isa/gus/ |
H A D | gus_timer.c | 21 unsigned int ticks; local 26 ticks = timer->sticks; 28 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_1, 256 - ticks); /* timer 1 count */ 57 unsigned int ticks; local 62 ticks = timer->sticks; 64 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_2, 256 - ticks); /* timer 2 count */ 115 .ticks = 256, 124 .ticks = 256,
|
/linux-master/drivers/acpi/acpica/ |
H A D | hwtimer.c | 53 * PARAMETERS: ticks - Where the timer value is returned 55 * RETURN: Status and current timer value (ticks) 57 * DESCRIPTION: Obtains current value of ACPI PM Timer (in ticks). 60 acpi_status acpi_get_timer(u32 * ticks) 67 if (!ticks) { 82 *ticks = (u32)timer_value; 104 * The PM Timer's clock ticks at roughly 3.6 times per
|
/linux-master/arch/powerpc/sysdev/ |
H A D | mpic_timer.c | 85 const u64 ticks, time64_t *time) 87 *time = (u64)div_u64(ticks, priv->timerfreq); 90 /* the time set by the user is converted to "ticks" */ 92 time64_t time, u64 *ticks) 101 *ticks = (u64)time * (u64)priv->timerfreq; 137 static int set_cascade_timer(struct timer_group_priv *priv, u64 ticks, argument 154 tmp_ticks = div_u64_rem(ticks, MAX_TICKS_CASCADE, &rem_ticks); 166 u64 ticks) 174 if (ticks > max_ticks) 182 /* set ticks t 84 convert_ticks_to_time(struct timer_group_priv *priv, const u64 ticks, time64_t *time) argument 91 convert_time_to_ticks(struct timer_group_priv *priv, time64_t time, u64 *ticks) argument 165 get_cascade_timer(struct timer_group_priv *priv, u64 ticks) argument 195 u64 ticks; local 292 u64 ticks; local [all...] |
/linux-master/drivers/ssb/ |
H A D | driver_extif.c | 115 u32 ssb_extif_watchdog_timer_set_wdt(struct bcm47xx_wdt *wdt, u32 ticks) argument 119 return ssb_extif_watchdog_timer_set(extif, ticks); 125 u32 ticks = (SSB_EXTIF_WATCHDOG_CLK / 1000) * ms; local 127 ticks = ssb_extif_watchdog_timer_set(extif, ticks); 129 return (ticks * 1000) / SSB_EXTIF_WATCHDOG_CLK; 132 u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks) argument 134 if (ticks > SSB_EXTIF_WATCHDOG_MAX_TIMER) 135 ticks = SSB_EXTIF_WATCHDOG_MAX_TIMER; 136 extif_write32(extif, SSB_EXTIF_WATCHDOG, ticks); [all...] |
/linux-master/drivers/hwmon/ |
H A D | hih6130.c | 46 * hih6130_temp_ticks_to_millicelsius() - convert raw temperature ticks to 48 * @ticks: temperature ticks value received from sensor 50 static inline int hih6130_temp_ticks_to_millicelsius(int ticks) argument 52 ticks = ticks >> 2; 55 * Formula T = ( ticks / ( 2^14 - 2 ) ) * 165 -40 57 return (DIV_ROUND_CLOSEST(ticks * 1650, 16382) - 400) * 100; 61 * hih6130_rh_ticks_to_per_cent_mille() - convert raw humidity ticks to 63 * @ticks 65 hih6130_rh_ticks_to_per_cent_mille(int ticks) argument [all...] |
/linux-master/arch/loongarch/kvm/ |
H A D | timer.c | 55 unsigned long ticks, delta, period; local 90 ticks = kvm_read_sw_gcsr(csr, LOONGARCH_CSR_TVAL); 92 if (!(cfg & CSR_TCFG_PERIOD) && (ticks > cfg)) { 140 unsigned long ticks, delta, cfg; local 145 ticks = kvm_read_sw_gcsr(csr, LOONGARCH_CSR_TVAL); 154 if (ticks < cfg) 155 delta = tick_to_ns(vcpu, ticks);
|
/linux-master/fs/ |
H A D | timerfd.c | 39 u64 ticks; member in struct:timerfd_ctx 69 ctx->ticks++; 94 * wake-up requires ctx->ticks to be non zero, therefore we increment 110 ctx->ticks++; 201 ctx->ticks = 0; 258 if (ctx->ticks) 270 u64 ticks = 0; local 272 if (count < sizeof(ticks)) 278 res = wait_event_interruptible_locked_irq(ctx->wqh, ctx->ticks); 282 * ticks an 357 u64 ticks; local [all...] |
/linux-master/drivers/watchdog/ |
H A D | cpu5wdt.c | 28 static int ticks = 10000; variable 61 pr_debug("trigger at %i ticks\n", ticks); 64 ticks--; 71 if (cpu5wdt_device.queue && ticks) 74 /* ticks doesn't matter anyway */ 83 ticks = cpu5wdt_device.default_ticks; 86 pr_debug("reset (%i ticks)\n", (int) ticks); 116 ticks [all...] |
H A D | mtx-1_wdt.c | 46 static int ticks = 100 * HZ; variable 64 ticks--; 70 if (mtx1_wdt_device.queue && ticks) 79 ticks = mtx1_wdt_device.default_ticks; 108 ticks = mtx1_wdt_device.default_ticks; 212 mtx1_wdt_device.default_ticks = ticks;
|
/linux-master/sound/core/ |
H A D | hrtimer.c | 35 unsigned long ticks; local 42 ticks = t->sticks; 48 ticks += ktime_divns(delta, ticks * resolution); 50 snd_timer_interrupt(stime->timer, ticks); 145 timer->hw.ticks = NANO_SEC / resolution;
|
/linux-master/drivers/misc/ |
H A D | vcpu_stall_detector.c | 60 u32 ticks, ping_timeout_ms; local 67 ticks = vcpu_stall_config.clock_freq_hz * 70 VCPU_STALL_REG_LOAD_CNT, ticks); local 82 u32 ticks, ping_timeout_ms; local 90 /* Compute the number of ticks required for the stall detector 94 ticks = vcpu_stall_config.clock_freq_hz * 96 vcpu_stall_reg_write(cpu, VCPU_STALL_REG_LOAD_CNT, ticks);
|