/linux-master/sound/core/ |
H A D | pcm_timer.c | 82 .ticks = 1,
|
/linux-master/sound/core/seq/ |
H A D | seq_timer.h | 25 int ppq; /* time resolution, ticks/quarter */ 34 unsigned int ticks; member in struct:snd_seq_timer 35 unsigned long preferred_resolution; /* timer resolution, ticks/sec */ 68 /* compare ticks */
|
/linux-master/include/linux/ |
H A D | kernel_stat.h | 131 extern void account_idle_ticks(unsigned long ticks);
|
H A D | vt_kern.h | 19 void kd_mksound(unsigned int hz, unsigned int ticks);
|
H A D | timekeeping.h | 15 extern void legacy_timer_tick(unsigned long ticks);
|
/linux-master/kernel/time/ |
H A D | tick-sched.c | 59 unsigned long ticks = 1; local 108 ticks += ktime_divns(delta, incr); 111 incr * ticks); 118 jiffies_64 += ticks; 261 * when we go busy again does not account too many ticks. 1405 unsigned long ticks; local 1416 ticks = jiffies - ts->idle_jiffies; 1418 * We might be one off. Do not randomly account a huge number of ticks! 1420 if (ticks && ticks < LONG_MA [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_common.h | 321 unsigned int ticks) 323 return (ticks * 1000) / adapter->params.vpd.cclk; 320 core_ticks_to_us(const struct adapter *adapter, unsigned int ticks) argument
|
/linux-master/include/linux/ssb/ |
H A D | ssb_driver_extif.h | 177 extern u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks); 215 u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks) argument
|
/linux-master/kernel/sched/ |
H A D | cputime.c | 250 * ticks are not redelivered later. Due to that, this function may on 377 int ticks) 379 u64 other, cputime = TICK_NSEC * ticks; 382 * When returning from idle, many ticks can get accounted at 383 * once, including some ticks of steal, irq, and softirq time. 384 * Subtract those ticks from the amount of time accounted to 386 * other time can exceed ticks occasionally. 412 static void irqtime_account_idle_ticks(int ticks) argument 414 irqtime_account_process_tick(current, 0, ticks); 417 static inline void irqtime_account_idle_ticks(int ticks) { } argument 376 irqtime_account_process_tick(struct task_struct *p, int user_tick, int ticks) argument 519 account_idle_ticks(unsigned long ticks) argument [all...] |
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_est.c | 153 td = rcu_dereference(kd->ticks[row]); 161 td = rcu_dereference(kd->ticks[row]); 414 /* For small number of estimators prefer to use few ticks, 444 td = rcu_dereference_protected(kd->ticks[row], 1); 451 rcu_assign_pointer(kd->ticks[row], td); 544 td = rcu_dereference_protected(kd->ticks[row], 1); 552 RCU_INIT_POINTER(kd->ticks[row], NULL); 804 td = rcu_dereference_protected(kd->ticks[row], 1); 828 if (td != rcu_dereference_protected(kd->ticks[row], 1))
|
/linux-master/fs/xfs/ |
H A D | xfs_linux.h | 142 static inline void delay(long ticks) argument 144 schedule_timeout_uninterruptible(ticks);
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_cs.h | 37 #define BFA_TRC_TS(_trcm) ((_trcm)->ticks++) 63 u32 ticks; member in struct:bfa_trc_mod_s
|
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | vsc7326.c | 30 u32 ticks; member in struct:_cmac_instance 637 * and do a full update at major ticks, which can be every 30 minutes or more. 643 mac->instance->ticks >= MAJOR_UPDATE_TICKS) { 645 mac->instance->ticks = 0; 655 mac->instance->ticks++; 697 mac->instance->ticks = 0;
|
/linux-master/drivers/iio/adc/ |
H A D | at91_adc.c | 763 * Number of ticks needed to cover the startup time of the ADC 766 * Startup Time = (ticks + 1) * 8 / ADC Clock 784 unsigned int ticks; local 786 ticks = startup_time * adc_clk_khz / 1000; 788 if (ticks < startup_lookup[i]) 791 ticks = i; 792 if (ticks == size) 794 ticks = size - 1; 796 return ticks; 998 unsigned int prsc, mstrclk, ticks, adc_cl local [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | efx.h | 171 unsigned int efx_ticks_to_usecs(struct efx_nic *efx, unsigned int ticks);
|
/linux-master/drivers/memory/ |
H A D | omap-gpmc.c | 360 static unsigned int gpmc_clk_ticks_to_ns(unsigned int ticks, int cs, argument 363 return ticks * gpmc_get_clk_period(cs, cd) / 1000; 366 unsigned int gpmc_ticks_to_ns(unsigned int ticks) argument 368 return gpmc_clk_ticks_to_ns(ticks, /* any CS */ 0, GPMC_CD_FCLK); 371 static unsigned int gpmc_ticks_to_ps(unsigned int ticks) argument 373 return ticks * gpmc_get_fclk_period(); 378 unsigned long ticks = gpmc_ps_to_ticks(time_ps); local 380 return ticks * gpmc_get_fclk_period(); 430 * tick format: gpmc,name = <value> /‍* x ns -- y ns; x ticks *‍/ 470 pr_info("gpmc,%s = <%u>; /* %u ns - %u ns; %i ticks 616 int ticks, mask, nr_bits; local [all...] |
/linux-master/drivers/clocksource/ |
H A D | timer-mediatek.c | 62 * - Allow timeout ticks being updated. 93 static int mtk_syst_clkevt_next_event(unsigned long ticks, argument 102 * Write new timeout ticks. Timer shall start countdown 103 * after timeout ticks are updated. 105 writel(ticks, SYST_VAL_REG(to));
|
/linux-master/arch/powerpc/kernel/ |
H A D | watchdog.c | 78 static u64 wd_panic_timeout_tb __read_mostly; /* timebase ticks until panic */ 456 unsigned long ticks = tb_ticks_per_usec * wd_timer_period_ms * 1000; local 464 if (tb - per_cpu(wd_timer_tb, cpu) >= ticks) {
|
/linux-master/drivers/watchdog/ |
H A D | hpwdt.c | 30 #define TICKS_TO_SECS(ticks) ((ticks) * 128 / 1000)
|
H A D | iTCO_wdt.c | 134 * The iTCO v1 and v2's internal timer is stored as ticks which decrement 145 int ticks) 147 return p->iTCO_version == 3 ? ticks : (ticks * 6) / 10; 607 * Suspend-to-idle requires this, because it stops the ticks and timekeeping, so 144 ticks_to_seconds(struct iTCO_wdt_private *p, int ticks) argument
|
/linux-master/drivers/ata/ |
H A D | sata_fsl.c | 34 "INT coalescing timer threshold in AHB ticks"); 292 unsigned int count, unsigned int ticks) 303 if (ticks > ICC_MAX_INT_TICKS_THRESHOLD) 304 ticks = ICC_MAX_INT_TICKS_THRESHOLD; 305 else if ((ICC_MIN_INT_TICKS_THRESHOLD == ticks) && 307 ticks = ICC_SAFE_INT_TICKS; 310 iowrite32((count << 24 | ticks), hcr_base + ICC); 313 intr_coalescing_ticks = ticks; 316 dev_dbg(host->dev, "interrupt coalescing, count = 0x%x, ticks = %x\n", 291 fsl_sata_set_irq_coalescing(struct ata_host *host, unsigned int count, unsigned int ticks) argument
|
/linux-master/arch/alpha/kernel/ |
H A D | osf_sys.c | 1138 unsigned long ticks; local 1143 ticks = timespec64_to_jiffies(&tmp); 1145 ticks = schedule_timeout_interruptible(ticks); 1148 jiffies_to_timespec64(ticks, &tmp); 1172 long tick; /* (modified) usecs between clock ticks */
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_hw.h | 579 csio_core_ticks_to_us(struct csio_hw *hw, uint32_t ticks) argument 581 /* add Core Clock / 2 to round ticks to nearest uS */ 582 return (ticks * 1000 + hw->vpd.cclk/2) / hw->vpd.cclk;
|
/linux-master/arch/mips/fw/cfe/ |
H A D | cfe_api.c | 282 xiocb.plist.xiocb_time.ticks = 0; 286 return xiocb.plist.xiocb_time.ticks;
|
/linux-master/drivers/mmc/host/ |
H A D | usdhi6rol0.c | 876 unsigned long ticks; local 879 ticks = host->rate / 1000 * mrq->cmd->busy_timeout; 881 ticks = host->rate / 1000000 * (mrq->data->timeout_ns / 1000) + 884 if (!ticks || ticks > 1 << 27) 887 else if (ticks < 1 << 13) 891 val = order_base_2(ticks) - 13; 893 dev_dbg(mmc_dev(host->mmc), "Set %s timeout %lu ticks @ %lu Hz\n", 894 mrq->data ? "data" : "cmd", ticks, host->rate);
|