/linux-4.1.27/drivers/rtc/ |
D | rtc-88pm80x.c | 117 unsigned long ticks, base, data; in pm80x_rtc_read_time() local 125 ticks = base + data; in pm80x_rtc_read_time() 127 base, data, ticks); in pm80x_rtc_read_time() 128 rtc_time_to_tm(ticks, tm); in pm80x_rtc_read_time() 136 unsigned long ticks, base, data; in pm80x_rtc_set_time() local 143 rtc_tm_to_time(tm, &ticks); in pm80x_rtc_set_time() 148 base = ticks - data; in pm80x_rtc_set_time() 150 base, data, ticks); in pm80x_rtc_set_time() 164 unsigned long ticks, base, data; in pm80x_rtc_read_alarm() local 173 ticks = base + data; in pm80x_rtc_read_alarm() [all …]
|
D | rtc-tps6586x.c | 73 unsigned long long ticks = 0; in tps6586x_rtc_read_time() local 86 ticks <<= 8; in tps6586x_rtc_read_time() 87 ticks |= buff[i]; in tps6586x_rtc_read_time() 90 seconds = ticks >> 10; in tps6586x_rtc_read_time() 100 unsigned long long ticks; in tps6586x_rtc_set_time() local 112 ticks = (unsigned long long)seconds << 10; in tps6586x_rtc_set_time() 113 buff[0] = (ticks >> 32) & 0xff; in tps6586x_rtc_set_time() 114 buff[1] = (ticks >> 24) & 0xff; in tps6586x_rtc_set_time() 115 buff[2] = (ticks >> 16) & 0xff; in tps6586x_rtc_set_time() 116 buff[3] = (ticks >> 8) & 0xff; in tps6586x_rtc_set_time() [all …]
|
D | rtc-88pm860x.c | 34 int (*sync)(unsigned int ticks); 113 unsigned long ticks, base, data; in pm860x_rtc_read_time() local 123 ticks = base + data; in pm860x_rtc_read_time() 125 base, data, ticks); in pm860x_rtc_read_time() 127 rtc_time_to_tm(ticks, tm); in pm860x_rtc_read_time() 136 unsigned long ticks, base, data; in pm860x_rtc_set_time() local 144 rtc_tm_to_time(tm, &ticks); in pm860x_rtc_set_time() 149 base = ticks - data; in pm860x_rtc_set_time() 151 base, data, ticks); in pm860x_rtc_set_time() 159 info->sync(ticks); in pm860x_rtc_set_time() [all …]
|
/linux-4.1.27/fs/ |
D | timerfd.c | 37 u64 ticks; member 66 ctx->ticks++; in timerfd_triggered() 107 ctx->ticks++; in timerfd_clock_was_set() 173 ctx->ticks = 0; in timerfd_setup() 228 if (ctx->ticks) in timerfd_poll() 240 u64 ticks = 0; in timerfd_read() local 242 if (count < sizeof(ticks)) in timerfd_read() 248 res = wait_event_interruptible_locked_irq(ctx->wqh, ctx->ticks); in timerfd_read() 256 ctx->ticks = 0; in timerfd_read() 261 if (ctx->ticks) { in timerfd_read() [all …]
|
/linux-4.1.27/drivers/watchdog/ |
D | cpu5wdt.c | 42 static int ticks = 10000; variable 75 pr_debug("trigger at %i ticks\n", ticks); in cpu5wdt_trigger() 78 ticks--; in cpu5wdt_trigger() 85 if (cpu5wdt_device.queue && ticks) in cpu5wdt_trigger() 97 ticks = cpu5wdt_device.default_ticks; in cpu5wdt_reset() 100 pr_debug("reset (%i ticks)\n", (int) ticks); in cpu5wdt_reset() 130 ticks = cpu5wdt_device.default_ticks; in cpu5wdt_stop() 228 cpu5wdt_device.default_ticks = ticks; in cpu5wdt_init() 298 module_param(ticks, int, 0); 299 MODULE_PARM_DESC(ticks, "count down ticks, default is 10000");
|
D | mtx-1_wdt.c | 57 static int ticks = 100 * HZ; variable 75 ticks--; in mtx1_wdt_trigger() 81 if (mtx1_wdt_device.queue && ticks) in mtx1_wdt_trigger() 90 ticks = mtx1_wdt_device.default_ticks; in mtx1_wdt_reset() 119 ticks = mtx1_wdt_device.default_ticks; in mtx1_wdt_stop() 223 mtx1_wdt_device.default_ticks = ticks; in mtx1_wdt_probe()
|
D | rdc321x_wdt.c | 52 static int ticks = 1000; variable 76 ticks--; in rdc321x_wdt_trigger() 88 if (rdc321x_wdt_device.queue && ticks) in rdc321x_wdt_trigger() 100 ticks = rdc321x_wdt_device.default_ticks; in rdc321x_wdt_reset() 134 ticks = rdc321x_wdt_device.default_ticks; in rdc321x_wdt_stop() 267 rdc321x_wdt_device.default_ticks = ticks; in rdc321x_wdt_probe()
|
D | bcm63xx_wdt.c | 48 atomic_t ticks; member 82 if (!atomic_dec_and_test(&bcm63xx_wdt_device.ticks)) { in bcm63xx_timer_tick() 91 atomic_set(&bcm63xx_wdt_device.ticks, wdt_time); in bcm63xx_wdt_pet()
|
D | iTCO_wdt.c | 144 static inline unsigned int ticks_to_seconds(int ticks) in ticks_to_seconds() argument 146 return iTCO_wdt_private.iTCO_version == 3 ? ticks : (ticks * 6) / 10; in ticks_to_seconds()
|
D | hpwdt.c | 43 #define TICKS_TO_SECS(ticks) ((ticks) * 128 / 1000) argument
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | mpic_timer.c | 93 const u64 ticks, struct timeval *time) in convert_ticks_to_time() argument 97 time->tv_sec = (__kernel_time_t)div_u64(ticks, priv->timerfreq); in convert_ticks_to_time() 102 if (tmp_sec <= ticks) in convert_ticks_to_time() 104 div_u64((ticks - tmp_sec) * 1000000, priv->timerfreq); in convert_ticks_to_time() 111 const struct timeval *time, u64 *ticks) in convert_time_to_ticks() argument 137 *ticks = tmp; in convert_time_to_ticks() 173 static int set_cascade_timer(struct timer_group_priv *priv, u64 ticks, in set_cascade_timer() argument 190 tmp_ticks = div_u64_rem(ticks, MAX_TICKS_CASCADE, &rem_ticks); in set_cascade_timer() 202 u64 ticks) in get_cascade_timer() argument 210 if (ticks > max_ticks) in get_cascade_timer() [all …]
|
/linux-4.1.27/drivers/ssb/ |
D | driver_extif.c | 115 u32 ssb_extif_watchdog_timer_set_wdt(struct bcm47xx_wdt *wdt, u32 ticks) in ssb_extif_watchdog_timer_set_wdt() argument 119 return ssb_extif_watchdog_timer_set(extif, ticks); in ssb_extif_watchdog_timer_set_wdt() 125 u32 ticks = (SSB_EXTIF_WATCHDOG_CLK / 1000) * ms; in ssb_extif_watchdog_timer_set_ms() local 127 ticks = ssb_extif_watchdog_timer_set(extif, ticks); in ssb_extif_watchdog_timer_set_ms() 129 return (ticks * 1000) / SSB_EXTIF_WATCHDOG_CLK; in ssb_extif_watchdog_timer_set_ms() 132 u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks) in ssb_extif_watchdog_timer_set() argument 134 if (ticks > SSB_EXTIF_WATCHDOG_MAX_TIMER) in ssb_extif_watchdog_timer_set() 135 ticks = SSB_EXTIF_WATCHDOG_MAX_TIMER; in ssb_extif_watchdog_timer_set() 136 extif_write32(extif, SSB_EXTIF_WATCHDOG, ticks); in ssb_extif_watchdog_timer_set() 138 return ticks; in ssb_extif_watchdog_timer_set()
|
D | driver_chipcommon.c | 311 u32 ssb_chipco_watchdog_timer_set_wdt(struct bcm47xx_wdt *wdt, u32 ticks) in ssb_chipco_watchdog_timer_set_wdt() argument 318 return ssb_chipco_watchdog_timer_set(cc, ticks); in ssb_chipco_watchdog_timer_set_wdt() 324 u32 ticks; in ssb_chipco_watchdog_timer_set_ms() local 329 ticks = ssb_chipco_watchdog_timer_set(cc, cc->ticks_per_ms * ms); in ssb_chipco_watchdog_timer_set_ms() 330 return ticks / cc->ticks_per_ms; in ssb_chipco_watchdog_timer_set_ms() 471 u32 ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, u32 ticks) in ssb_chipco_watchdog_timer_set() argument 478 if (ticks == 1) in ssb_chipco_watchdog_timer_set() 479 ticks = 2; in ssb_chipco_watchdog_timer_set() 480 else if (ticks > maxt) in ssb_chipco_watchdog_timer_set() 481 ticks = maxt; in ssb_chipco_watchdog_timer_set() [all …]
|
D | ssb_private.h | 228 u32 ticks); 251 extern u32 ssb_extif_watchdog_timer_set_wdt(struct bcm47xx_wdt *wdt, u32 ticks); 255 u32 ticks) in ssb_extif_watchdog_timer_set_wdt() argument
|
D | embedded.c | 23 int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks) in ssb_watchdog_timer_set() argument 26 ssb_chipco_watchdog_timer_set(&bus->chipco, ticks); in ssb_watchdog_timer_set() 30 ssb_extif_watchdog_timer_set(&bus->extif, ticks); in ssb_watchdog_timer_set()
|
/linux-4.1.27/drivers/bcma/ |
D | driver_chipcommon.c | 59 u32 ticks) in bcma_chipco_watchdog_timer_set_wdt() argument 63 return bcma_chipco_watchdog_timer_set(cc, ticks); in bcma_chipco_watchdog_timer_set_wdt() 70 u32 ticks; in bcma_chipco_watchdog_timer_set_ms_wdt() local 72 ticks = bcma_chipco_watchdog_timer_set(cc, cc->ticks_per_ms * ms); in bcma_chipco_watchdog_timer_set_ms_wdt() 73 return ticks / cc->ticks_per_ms; in bcma_chipco_watchdog_timer_set_ms_wdt() 178 u32 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks) in bcma_chipco_watchdog_timer_set() argument 184 if (ticks == 1) in bcma_chipco_watchdog_timer_set() 185 ticks = 2; in bcma_chipco_watchdog_timer_set() 186 else if (ticks > maxt) in bcma_chipco_watchdog_timer_set() 187 ticks = maxt; in bcma_chipco_watchdog_timer_set() [all …]
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | sdram-nokia.c | 159 int ticks, long rate, const char *name) in set_sdrc_timing_regval() argument 162 int ticks) in set_sdrc_timing_regval() 168 if (ticks >= 1 << nr_bits) in set_sdrc_timing_regval() 172 *regval |= ticks << st_bit; in set_sdrc_timing_regval() 174 printk(KERN_INFO "SDRC %s: %i ticks %i ns\n", name, ticks, in set_sdrc_timing_regval() 175 (unsigned int)sdrc_get_fclk_period(rate) * ticks / in set_sdrc_timing_regval() 202 int ticks, ret; in set_sdrc_timing_regval_ps() local 206 ticks = 0; in set_sdrc_timing_regval_ps() 208 ticks = sdrc_ps_to_ticks(time, rate); in set_sdrc_timing_regval_ps() 211 ret = set_sdrc_timing_regval(regval, st_bit, end_bit, ticks, in set_sdrc_timing_regval_ps() [all …]
|
/linux-4.1.27/drivers/char/hw_random/ |
D | n2-drv.c | 111 unsigned long hv_err, state, ticks, watchdog_delta, watchdog_status; in n2rng_generic_read_control_v2() local 116 &ticks, in n2rng_generic_read_control_v2() 131 __delay(ticks); in n2rng_generic_read_control_v2() 157 unsigned long *ticks) in n2rng_write_ctl_one() argument 163 watchdog_timeout, ticks); in n2rng_write_ctl_one() 169 *ticks = N2RNG_ACCUM_CYCLES_DEFAULT; in n2rng_write_ctl_one() 177 unsigned long ticks, hv_err; in n2rng_generic_read_data() local 181 hv_err = sun4v_rng_data_read(data_ra, &ticks); in n2rng_generic_read_data() 188 __delay(ticks); in n2rng_generic_read_data() 204 unsigned long *ticks) in n2rng_read_diag_data_one() argument [all …]
|
/linux-4.1.27/init/ |
D | calibrate.c | 189 unsigned long lpj, lpj_base, ticks, loopadd, loopadd_base, chop_limit; in calibrate_delay_converge() local 195 ticks = jiffies; in calibrate_delay_converge() 196 while (ticks == jiffies) in calibrate_delay_converge() 199 ticks = jiffies; in calibrate_delay_converge() 207 } while (ticks == jiffies); in calibrate_delay_converge() 227 ticks = jiffies; in calibrate_delay_converge() 228 while (ticks == jiffies) in calibrate_delay_converge() 230 ticks = jiffies; in calibrate_delay_converge() 232 if (jiffies != ticks) /* longer than 1 tick */ in calibrate_delay_converge()
|
/linux-4.1.27/drivers/hwmon/ |
D | hih6130.c | 63 static inline int hih6130_temp_ticks_to_millicelsius(int ticks) in hih6130_temp_ticks_to_millicelsius() argument 65 ticks = ticks >> 2; in hih6130_temp_ticks_to_millicelsius() 70 return (DIV_ROUND_CLOSEST(ticks * 1650, 16382) - 400) * 100; in hih6130_temp_ticks_to_millicelsius() 78 static inline int hih6130_rh_ticks_to_per_cent_mille(int ticks) in hih6130_rh_ticks_to_per_cent_mille() argument 80 ticks &= ~0xC000; /* clear status bits */ in hih6130_rh_ticks_to_per_cent_mille() 85 return DIV_ROUND_CLOSEST(ticks * 1000, 16382) * 100; in hih6130_rh_ticks_to_per_cent_mille()
|
D | htu21.c | 42 static inline int htu21_temp_ticks_to_millicelsius(int ticks) in htu21_temp_ticks_to_millicelsius() argument 44 ticks &= ~0x0003; /* clear status bits */ in htu21_temp_ticks_to_millicelsius() 49 return ((21965 * ticks) >> 13) - 46850; in htu21_temp_ticks_to_millicelsius() 52 static inline int htu21_rh_ticks_to_per_cent_mille(int ticks) in htu21_rh_ticks_to_per_cent_mille() argument 54 ticks &= ~0x0003; /* clear status bits */ in htu21_rh_ticks_to_per_cent_mille() 59 return ((15625 * ticks) >> 13) - 6000; in htu21_rh_ticks_to_per_cent_mille()
|
D | sht21.c | 61 static inline int sht21_temp_ticks_to_millicelsius(int ticks) in sht21_temp_ticks_to_millicelsius() argument 63 ticks &= ~0x0003; /* clear status bits */ in sht21_temp_ticks_to_millicelsius() 68 return ((21965 * ticks) >> 13) - 46850; in sht21_temp_ticks_to_millicelsius() 76 static inline int sht21_rh_ticks_to_per_cent_mille(int ticks) in sht21_rh_ticks_to_per_cent_mille() argument 78 ticks &= ~0x0003; /* clear status bits */ in sht21_rh_ticks_to_per_cent_mille() 83 return ((15625 * ticks) >> 13) - 6000; in sht21_rh_ticks_to_per_cent_mille()
|
/linux-4.1.27/sound/isa/gus/ |
D | gus_timer.c | 36 unsigned int ticks; in snd_gf1_timer1_start() local 41 ticks = timer->sticks; in snd_gf1_timer1_start() 43 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_1, 256 - ticks); /* timer 1 count */ in snd_gf1_timer1_start() 72 unsigned int ticks; in snd_gf1_timer2_start() local 77 ticks = timer->sticks; in snd_gf1_timer2_start() 79 snd_gf1_write8(gus, SNDRV_GF1_GB_ADLIB_TIMER_2, 256 - ticks); /* timer 2 count */ in snd_gf1_timer2_start() 130 .ticks = 256, 139 .ticks = 256,
|
/linux-4.1.27/drivers/macintosh/ |
D | windfarm_pm91.c | 101 int ticks; member 116 int ticks; member 129 int ticks; member 174 wf_smu_cpu_fans->ticks = 1; in wf_smu_create_cpu_fans() 223 if (--st->ticks != 0) { in wf_smu_cpu_fans_tick() 228 st->ticks = WF_SMU_CPU_FANS_INTERVAL; in wf_smu_cpu_fans_tick() 309 wf_smu_drive_fans->ticks = 1; in wf_smu_create_drive_fans() 332 if (--st->ticks != 0) { in wf_smu_drive_fans_tick() 337 st->ticks = st->pid.param.interval; in wf_smu_drive_fans_tick() 390 wf_smu_slots_fans->ticks = 1; in wf_smu_create_slots_fans() [all …]
|
D | windfarm_pm81.c | 180 int ticks; member 249 int ticks; member 293 wf_smu_sys_fans->ticks = 1; in wf_smu_create_sys_fans() 334 if (--st->ticks != 0) { in wf_smu_sys_fans_tick() 339 st->ticks = WF_SMU_SYS_FANS_INTERVAL; in wf_smu_sys_fans_tick() 426 wf_smu_cpu_fans->ticks = 1; in wf_smu_create_cpu_fans() 478 if (--st->ticks != 0) { in wf_smu_cpu_fans_tick() 483 st->ticks = WF_SMU_CPU_FANS_INTERVAL; in wf_smu_cpu_fans_tick()
|
D | windfarm_pm121.c | 441 int ticks; member 458 int ticks; member 549 pm121_sys_state[loop_id]->ticks = 1; in pm121_create_sys_fans() 604 if (--st->ticks != 0) { in pm121_sys_fans_tick() 609 st->ticks = PM121_SYS_INTERVAL; in pm121_sys_fans_tick() 684 pm121_cpu_state->ticks = 1; in pm121_create_cpu_fans() 734 if (--st->ticks != 0) { in pm121_cpu_fans_tick() 739 st->ticks = PM121_CPU_INTERVAL; in pm121_cpu_fans_tick()
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-tcpip.c | 256 long ticks = timeout * HZ; in libcfs_sock_write() local 276 .tv_sec = ticks / HZ, in libcfs_sock_write() 277 .tv_usec = ((ticks % HZ) * 1000000) / HZ in libcfs_sock_write() 290 ticks -= jiffies - then; in libcfs_sock_write() 303 if (ticks <= 0) in libcfs_sock_write() 318 long ticks = timeout * HZ; in libcfs_sock_read() local 323 LASSERT (ticks > 0); in libcfs_sock_read() 336 .tv_sec = ticks / HZ, in libcfs_sock_read() 337 .tv_usec = ((ticks % HZ) * 1000000) / HZ in libcfs_sock_read() 349 ticks -= jiffies - then; in libcfs_sock_read() [all …]
|
/linux-4.1.27/sound/core/ |
D | timer.c | 62 unsigned long ticks; member 472 int snd_timer_start(struct snd_timer_instance *timeri, unsigned int ticks) in snd_timer_start() argument 478 if (timeri == NULL || ticks < 1) in snd_timer_start() 497 timeri->ticks = timeri->cticks = ticks; in snd_timer_start() 499 result = snd_timer_start1(timer, timeri, ticks); in snd_timer_start() 584 timeri->cticks = timeri->ticks; in snd_timer_stop() 640 unsigned long ticks = ~0UL; in snd_timer_reschedule() local 649 if (ticks > ti->cticks) in snd_timer_reschedule() 650 ticks = ti->cticks; in snd_timer_reschedule() 653 if (ticks == ~0UL) { in snd_timer_reschedule() [all …]
|
D | rtctimer.c | 53 .ticks = 100000000L, /* FIXME: XXX */
|
D | pcm_timer.c | 95 .ticks = 1,
|
D | hrtimer.c | 146 timer->hw.ticks = NANO_SEC / resolution; in snd_hrtimer_init()
|
/linux-4.1.27/arch/m68k/atari/ |
D | time.c | 46 u32 ticks, offset = 0; in atari_gettimeoffset() local 49 ticks = st_mfp.tim_dt_c; in atari_gettimeoffset() 51 if (ticks > INT_TICKS - INT_TICKS / 50) in atari_gettimeoffset() 56 ticks = INT_TICKS - ticks; in atari_gettimeoffset() 57 ticks = ticks * 10000L / INT_TICKS; in atari_gettimeoffset() 59 return (ticks + offset) * 1000; in atari_gettimeoffset()
|
D | atasound.c | 54 void atari_mksound (unsigned int hz, unsigned int ticks) in atari_mksound() argument 84 if (ticks) { in atari_mksound() 86 int length = (ticks * PSG_ENV_FREQ_10) / HZ / 10; in atari_mksound()
|
D | config.c | 74 extern void atari_mksound(unsigned int count, unsigned int ticks);
|
/linux-4.1.27/arch/m68k/mac/ |
D | via.c | 331 unsigned long ticks, offset = 0; in mac_gettimeoffset() local 334 ticks = via1[vT1CL] | (via1[vT1CH] << 8); in mac_gettimeoffset() 336 if (ticks > MAC_CLOCK_TICK - MAC_CLOCK_TICK / 50) in mac_gettimeoffset() 340 ticks = MAC_CLOCK_TICK - ticks; in mac_gettimeoffset() 341 ticks = ticks * 10000L / MAC_CLOCK_TICK; in mac_gettimeoffset() 343 return (ticks + offset) * 1000; in mac_gettimeoffset()
|
/linux-4.1.27/arch/m68k/hp300/ |
D | time.c | 53 unsigned short ticks; in hp300_gettimeoffset() local 61 ticks = INTVAL - ((msb2 << 8) | lsb); in hp300_gettimeoffset() 62 return ((USECS_PER_JIFFY * ticks) / INTVAL) * 1000; in hp300_gettimeoffset()
|
/linux-4.1.27/include/sound/ |
D | timer.h | 61 unsigned long ticks; /* max timer ticks per interrupt */ member 102 unsigned long ticks, unsigned long resolution); 108 unsigned long ticks; /* auto-load ticks when expired */ member 136 int snd_timer_start(struct snd_timer_instance *timeri, unsigned int ticks);
|
/linux-4.1.27/arch/m68k/amiga/ |
D | amisound.c | 71 void amiga_mksound( unsigned int hz, unsigned int ticks ) in amiga_mksound() argument 95 if (ticks) { in amiga_mksound() 96 sound_timer.expires = jiffies + ticks; in amiga_mksound()
|
D | config.c | 101 extern void amiga_mksound(unsigned int count, unsigned int ticks); 500 u32 ticks, offset = 0; in amiga_gettimeoffset() local 512 ticks = hi << 8 | lo; in amiga_gettimeoffset() 514 if (ticks > jiffy_ticks / 2) in amiga_gettimeoffset() 519 ticks = jiffy_ticks - ticks; in amiga_gettimeoffset() 520 ticks = (10000 * ticks) / jiffy_ticks; in amiga_gettimeoffset() 522 return (ticks + offset) * 1000; in amiga_gettimeoffset()
|
/linux-4.1.27/drivers/acpi/acpica/ |
D | hwtimer.c | 94 acpi_status acpi_get_timer(u32 * ticks) in ACPI_EXPORT_SYMBOL() 100 if (!ticks) { in ACPI_EXPORT_SYMBOL() 110 status = acpi_hw_read(ticks, &acpi_gbl_FADT.xpm_timer_block); in ACPI_EXPORT_SYMBOL()
|
/linux-4.1.27/sound/core/seq/ |
D | seq_timer.c | 137 unsigned long ticks) in snd_seq_timer_interrupt() argument 154 resolution *= ticks; in snd_seq_timer_interrupt() 369 tmr->ticks = 1; in initialize_timer() 375 tmr->ticks = (unsigned int)(1000000000uL / (r * freq)); in initialize_timer() 376 if (! tmr->ticks) in initialize_timer() 377 tmr->ticks = 1; in initialize_timer() 393 snd_timer_start(tmr->timeri, tmr->ticks); in seq_timer_start() 421 snd_timer_start(tmr->timeri, tmr->ticks); in seq_timer_continue() 493 resolution = snd_timer_resolution(ti) * tmr->ticks; in snd_seq_info_timer_read()
|
D | seq_timer.h | 49 unsigned int ticks; member
|
/linux-4.1.27/Documentation/timers/ |
D | NO_HZ.txt | 11 (also known as "scheduling-clock ticks" or simply "ticks"): 13 1. Never omit scheduling-clock ticks (CONFIG_HZ_PERIODIC=y or 17 2. Omit scheduling-clock ticks on idle CPUs (CONFIG_NO_HZ_IDLE=y or 21 3. Omit scheduling-clock ticks on CPUs that are either idle or that 34 are incapable of omitting scheduling-clock ticks. It turns out that 104 Note that omitting scheduling-clock ticks for CPUs with only one runnable 109 and such CPUs are said to be "adaptive-ticks CPUs". This is important 119 By default, no CPU will be an adaptive-ticks CPU. The "nohz_full=" 120 boot parameter specifies the adaptive-ticks CPUs. For example, 121 "nohz_full=1,6-8" says that CPUs 1, 6, 7, and 8 are to be adaptive-ticks [all …]
|
D | highres.txt | 1 High resolution timers and dynamic ticks design notes 26 - dynamic ticks 39 - independent of ticks (the processing is based on nanoseconds) 52 convert the clock ticks to nanosecond based time values. All other time keeping 79 functionality like high resolution timers or dynamic ticks. 130 enabling of high resolution timers and dynamic ticks is simply provided by 159 dynamic ticks on i386 SMP systems which stop the local APIC in C3 power 204 dynamic ticks 207 Dynamic ticks are the logical consequence of the hrtimer based periodic tick
|
D | 00-INDEX | 4 - High resolution timers and dynamic ticks design notes
|
/linux-4.1.27/kernel/sched/ |
D | cputime.c | 340 struct rq *rq, int ticks) in irqtime_account_process_tick() argument 349 cputime *= ticks; in irqtime_account_process_tick() 350 scaled *= ticks; in irqtime_account_process_tick() 374 static void irqtime_account_idle_ticks(int ticks) in irqtime_account_idle_ticks() argument 378 irqtime_account_process_tick(current, 0, rq, ticks); in irqtime_account_idle_ticks() 381 static inline void irqtime_account_idle_ticks(int ticks) {} in irqtime_account_idle_ticks() argument 493 void account_steal_ticks(unsigned long ticks) in account_steal_ticks() argument 495 account_steal_time(jiffies_to_cputime(ticks)); in account_steal_ticks() 502 void account_idle_ticks(unsigned long ticks) in account_idle_ticks() argument 506 irqtime_account_idle_ticks(ticks); in account_idle_ticks() [all …]
|
D | proc.c | 346 void calc_global_load(unsigned long ticks) in calc_global_load() argument
|
/linux-4.1.27/sound/drivers/opl3/ |
D | opl3_lib.c | 162 unsigned int ticks; in snd_opl3_timer1_start() local 167 ticks = timer->sticks; in snd_opl3_timer1_start() 170 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER1, 256 - ticks); /* timer 1 count */ in snd_opl3_timer1_start() 199 unsigned int ticks; in snd_opl3_timer2_start() local 204 ticks = timer->sticks; in snd_opl3_timer2_start() 207 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER2, 256 - ticks); /* timer 1 count */ in snd_opl3_timer2_start() 236 .ticks = 256, 245 .ticks = 256,
|
/linux-4.1.27/drivers/ide/ |
D | ide-floppy_proc.c | 38 ide_devset_rw_field(ticks, pc_delay); 44 IDE_PROC_DEVSET(ticks, 0, 255),
|
/linux-4.1.27/Documentation/block/ |
D | stat.txt | 26 read ticks milliseconds total wait time for read requests 30 write ticks milliseconds total wait time for write requests 54 read ticks, write ticks 82 number of requests waiting (see "read ticks" above for an example).
|
/linux-4.1.27/kernel/time/ |
D | tick-sched.c | 54 unsigned long ticks = 0; in tick_do_update_jiffies64() local 78 ticks = ktime_divns(delta, incr); in tick_do_update_jiffies64() 81 incr * ticks); in tick_do_update_jiffies64() 83 do_timer(++ticks); in tick_do_update_jiffies64() 925 unsigned long ticks; in tick_nohz_account_idle_ticks() local 934 ticks = jiffies - ts->idle_jiffies; in tick_nohz_account_idle_ticks() 938 if (ticks && ticks < LONG_MAX) in tick_nohz_account_idle_ticks() 939 account_idle_ticks(ticks); in tick_nohz_account_idle_ticks()
|
D | timekeeping.h | 22 extern void do_timer(unsigned long ticks);
|
D | timekeeping.c | 1921 void do_timer(unsigned long ticks) in do_timer() argument 1923 jiffies_64 += ticks; in do_timer() 1924 calc_global_load(ticks); in do_timer() 2065 void xtime_update(unsigned long ticks) in xtime_update() argument 2068 do_timer(ticks); in xtime_update()
|
D | Kconfig | 73 bool "Periodic timer ticks (constant rate, no dynticks)"
|
/linux-4.1.27/drivers/md/ |
D | dm-stats.c | 28 unsigned long long ticks[2]; member 485 p->ticks[idx] += duration; in dm_stat_for_entry() 589 shared->tmp.ticks[READ] += ACCESS_ONCE(p->ticks[READ]); in __dm_stat_init_temporary_percpu_totals() 590 shared->tmp.ticks[WRITE] += ACCESS_ONCE(p->ticks[WRITE]); in __dm_stat_init_temporary_percpu_totals() 617 p->ticks[READ] -= shared->tmp.ticks[READ]; in __dm_stat_clear() 618 p->ticks[WRITE] -= shared->tmp.ticks[WRITE]; in __dm_stat_clear() 715 dm_jiffies_to_msec64(shared->tmp.ticks[READ]), in dm_stats_print() 719 dm_jiffies_to_msec64(shared->tmp.ticks[WRITE]), in dm_stats_print()
|
/linux-4.1.27/drivers/pps/ |
D | pps.c | 162 unsigned long ticks; in pps_cdev_ioctl() local 167 ticks = fdata.timeout.sec * HZ; in pps_cdev_ioctl() 168 ticks += fdata.timeout.nsec / (NSEC_PER_SEC / HZ); in pps_cdev_ioctl() 170 if (ticks != 0) { in pps_cdev_ioctl() 174 ticks); in pps_cdev_ioctl()
|
/linux-4.1.27/include/linux/ |
D | kernel_stat.h | 95 extern void account_steal_ticks(unsigned long ticks); 96 extern void account_idle_ticks(unsigned long ticks);
|
D | clockchips.h | 159 div_sc(unsigned long ticks, unsigned long nsec, int shift) in div_sc() argument 161 u64 tmp = ((u64)ticks) << shift; in div_sc()
|
D | amigaffs.h | 37 __be32 ticks; member 43 __be16 ticks; member
|
D | omap-gpmc.h | 162 extern unsigned int gpmc_ticks_to_ns(unsigned int ticks);
|
D | vt_kern.h | 30 extern void kd_mksound(unsigned int hz, unsigned int ticks);
|
D | genhd.h | 85 unsigned long ticks[2]; member
|
D | sched.h | 175 extern void calc_global_load(unsigned long ticks); 2354 extern void xtime_update(unsigned long ticks);
|
/linux-4.1.27/net/bridge/ |
D | br_stp_bpdu.c | 64 unsigned long ticks = (STP_HZ * j)/ HZ; in br_set_ticks() local 66 put_unaligned_be16(ticks, dest); in br_set_ticks() 71 unsigned long ticks = get_unaligned_be16(src); in br_get_ticks() local 73 return DIV_ROUND_UP(ticks * HZ, STP_HZ); in br_get_ticks()
|
/linux-4.1.27/arch/tile/kernel/ |
D | time.c | 130 static int tile_timer_set_next_event(unsigned long ticks, in tile_timer_set_next_event() argument 133 BUG_ON(ticks > MAX_TICK); in tile_timer_set_next_event() 134 __insn_mtspr(SPR_TILE_TIMER_CONTROL, ticks); in tile_timer_set_next_event()
|
/linux-4.1.27/sound/pci/pcxhr/ |
D | pcxhr_mix22.c | 420 unsigned int ticks; in hr222_get_external_clock() local 462 ticks = (unsigned int)PCXHR_INPB(mgr, PCXHR_XLX_CFG); in hr222_get_external_clock() 463 ticks = (ticks & 0x03) << 8; in hr222_get_external_clock() 464 ticks |= (unsigned int)PCXHR_INPB(mgr, PCXHR_DSP_RESET); in hr222_get_external_clock() 466 if (ticks != 0) in hr222_get_external_clock() 467 calc_rate = 28224000 / ticks; in hr222_get_external_clock()
|
/linux-4.1.27/drivers/clocksource/ |
D | em_sti.c | 115 cycle_t ticks; in em_sti_count() local 124 ticks = (cycle_t)(em_sti_read(p, STI_COUNT_H) & 0xffff) << 32; in em_sti_count() 125 ticks |= em_sti_read(p, STI_COUNT_L); in em_sti_count() 128 return ticks; in em_sti_count()
|
D | metag_generic.c | 108 unsigned long long ticks = __core_reg_get(TXTIMER); in sched_clock() local 109 return ticks << HARDWARE_TO_NS_SHIFT; in sched_clock()
|
/linux-4.1.27/arch/um/os-Linux/ |
D | time.c | 27 int timer_one_shot(int ticks) in timer_one_shot() argument 29 unsigned long usec = ticks * UM_USEC_PER_SEC / UM_HZ; in timer_one_shot()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
D | kernel.fuc | 253 // calculate the number of ticks in the specified nanoseconds delay 257 // $r14 - ticks (return) 287 // calculate the number of ticks in the specified microsecond delay 291 // $r14 - ticks (return) 314 // calculate the number of ticks in the specified microsecond delay 317 // $r14 - ticks 321 /* simply divide $ticks by HW_TICKS_PER_US */ 330 // $r14 - ticks (make sure it is < 2^31 to avoid any possible overflow) 349 // of the watchdog and add this time to the wanted ticks
|
/linux-4.1.27/drivers/soc/tegra/ |
D | pmc.c | 607 u64 ticks; in tegra_pmc_enter_suspend_mode() local 609 ticks = pmc->cpu_good_time * rate + USEC_PER_SEC - 1; in tegra_pmc_enter_suspend_mode() 610 do_div(ticks, USEC_PER_SEC); in tegra_pmc_enter_suspend_mode() 611 tegra_pmc_writel(ticks, PMC_CPUPWRGOOD_TIMER); in tegra_pmc_enter_suspend_mode() 613 ticks = pmc->cpu_off_time * rate + USEC_PER_SEC - 1; in tegra_pmc_enter_suspend_mode() 614 do_div(ticks, USEC_PER_SEC); in tegra_pmc_enter_suspend_mode() 615 tegra_pmc_writel(ticks, PMC_CPUPWROFF_TIMER); in tegra_pmc_enter_suspend_mode()
|
/linux-4.1.27/drivers/memory/ |
D | omap-gpmc.c | 350 unsigned int gpmc_clk_ticks_to_ns(unsigned ticks, int cs, in gpmc_clk_ticks_to_ns() argument 353 return ticks * gpmc_get_clk_period(cs, cd) / 1000; in gpmc_clk_ticks_to_ns() 356 unsigned int gpmc_ticks_to_ns(unsigned int ticks) in gpmc_ticks_to_ns() argument 358 return gpmc_clk_ticks_to_ns(ticks, /* any CS */ 0, GPMC_CD_FCLK); in gpmc_ticks_to_ns() 361 static unsigned int gpmc_ticks_to_ps(unsigned int ticks) in gpmc_ticks_to_ps() argument 363 return ticks * gpmc_get_fclk_period(); in gpmc_ticks_to_ps() 368 unsigned long ticks = gpmc_ps_to_ticks(time_ps); in gpmc_round_ps_to_ticks() local 370 return ticks * gpmc_get_fclk_period(); in gpmc_round_ps_to_ticks() 595 int ticks, mask, nr_bits; in set_gpmc_timing_reg() local 598 ticks = 0; in set_gpmc_timing_reg() [all …]
|
D | mvebu-devbus.c | 101 u32 *ticks) in get_timing_param_ps() argument 113 *ticks = (time_ps + devbus->tick_ps - 1) / devbus->tick_ps; in get_timing_param_ps() 116 name, time_ps, *ticks); in get_timing_param_ps()
|
/linux-4.1.27/drivers/iio/adc/ |
D | at91_adc.c | 806 unsigned int ticks; in calc_startup_ticks_9x5() local 808 ticks = startup_time * adc_clk_khz / 1000; in calc_startup_ticks_9x5() 810 if (ticks < startup_lookup[i]) in calc_startup_ticks_9x5() 813 ticks = i; in calc_startup_ticks_9x5() 814 if (ticks == size) in calc_startup_ticks_9x5() 816 ticks = size - 1; in calc_startup_ticks_9x5() 818 return ticks; in calc_startup_ticks_9x5() 1129 unsigned int prsc, mstrclk, ticks, adc_clk, adc_clk_khz, shtim; in at91_adc_probe() local 1236 ticks = (*st->caps->calc_startup_ticks)(st->startup_time, adc_clk_khz); in at91_adc_probe() 1250 reg |= AT91_ADC_STARTUP_(ticks) & st->registers->mr_startup_mask; in at91_adc_probe()
|
/linux-4.1.27/include/linux/ssb/ |
D | ssb_driver_extif.h | 178 extern u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks); 216 u32 ssb_extif_watchdog_timer_set(struct ssb_extif *extif, u32 ticks) in ssb_extif_watchdog_timer_set() argument
|
D | ssb_embedded.h | 8 extern int ssb_watchdog_timer_set(struct ssb_bus *bus, u32 ticks);
|
D | ssb_driver_chipcommon.h | 637 extern u32 ssb_chipco_watchdog_timer_set(struct ssb_chipcommon *cc, u32 ticks);
|
/linux-4.1.27/arch/m68k/q40/ |
D | q40ints.c | 110 void q40_mksound(unsigned int hz, unsigned int ticks) in q40_mksound() argument 126 sound_ticks = ticks << 1; in q40_mksound()
|
/linux-4.1.27/sound/pci/ctxfi/ |
D | cttimer.c | 148 static void ct_xfitimer_irq_rearm(struct ct_timer *atimer, int ticks) in ct_xfitimer_irq_rearm() argument 151 if (ticks > MAX_TICKS) in ct_xfitimer_irq_rearm() 152 ticks = MAX_TICKS; in ct_xfitimer_irq_rearm() 153 hw->set_timer_tick(hw, ticks); in ct_xfitimer_irq_rearm()
|
D | cthw20k2.c | 1124 static int set_timer_tick(struct hw *hw, unsigned int ticks) in set_timer_tick() argument 1126 if (ticks) in set_timer_tick() 1127 ticks |= TIMR_IE | TIMR_IP; in set_timer_tick() 1128 hw_write_20kx(hw, TIMR, ticks); in set_timer_tick()
|
D | cthw20k1.c | 1181 static int set_timer_tick(struct hw *hw, unsigned int ticks) in set_timer_tick() argument 1183 if (ticks) in set_timer_tick() 1184 ticks |= TIMR_IE | TIMR_IP; in set_timer_tick() 1185 hw_write_20kx(hw, TIMR, ticks); in set_timer_tick()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326.c | 31 u32 ticks; member 647 mac->instance->ticks >= MAJOR_UPDATE_TICKS) { in mac_update_statistics() 649 mac->instance->ticks = 0; in mac_update_statistics() 659 mac->instance->ticks++; in mac_update_statistics() 701 mac->instance->ticks = 0; in vsc7326_mac_create()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_common.h | 254 unsigned int ticks) in core_ticks_to_us() argument 256 return (ticks * 1000) / adapter->params.vpd.cclk; in core_ticks_to_us()
|
/linux-4.1.27/arch/x86/xen/ |
D | time.c | 120 cputime_t ticks; in do_stolen_accounting() local 141 ticks = iter_div_u64_rem(stolen, NS_PER_TICK, &stolen); in do_stolen_accounting() 143 account_steal_ticks(ticks); in do_stolen_accounting()
|
/linux-4.1.27/Documentation/devicetree/bindings/net/ |
D | cpsw.txt | 20 - cpts_clock_mult : Numerator to convert input clock ticks into nanoseconds 21 - cpts_clock_shift : Denominator to convert input clock ticks into nanoseconds
|
/linux-4.1.27/arch/s390/kernel/ |
D | time.c | 307 unsigned long long delta, ticks; in adjust_time() local 312 delta = ticks = clock - old; in adjust_time() 313 delta = ticks = (delta < delay) ? 0 : delta - delay; in adjust_time() 314 delta -= do_div(ticks, CLK_TICKS_PER_JIFFY); in adjust_time() 315 adjust.offset = ticks * (1000000 / HZ); in adjust_time() 318 delta = ticks = old - clock; in adjust_time() 319 delta -= do_div(ticks, CLK_TICKS_PER_JIFFY); in adjust_time() 321 adjust.offset = -ticks * (1000000 / HZ); in adjust_time()
|
/linux-4.1.27/sound/usb/line6/ |
D | toneport.c | 370 int ticks; in toneport_setup() local 375 ticks = (int)get_seconds(); in toneport_setup() 376 line6_write_data(line6, 0x80c6, &ticks, 4); in toneport_setup()
|
/linux-4.1.27/sound/pci/emu10k1/ |
D | timer.c | 72 .ticks = 1024,
|
/linux-4.1.27/fs/xfs/ |
D | xfs_linux.h | 172 static inline void delay(long ticks) in delay() argument 174 schedule_timeout_uninterruptible(ticks); in delay()
|
/linux-4.1.27/arch/mips/fw/cfe/ |
D | cfe_api_int.h | 88 s64 ticks; /* current time in ticks */ member
|
D | cfe_api.c | 295 xiocb.plist.xiocb_time.ticks = 0; in cfe_getticks() 299 return xiocb.plist.xiocb_time.ticks; in cfe_getticks()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_plog.h | 137 u32 ticks; member
|
D | bfa_cs.h | 44 #define BFA_TRC_TS(_trcm) ((_trcm)->ticks++) 70 u32 ticks; member
|
/linux-4.1.27/drivers/net/wan/lmc/ |
D | lmc_media.c | 680 u32 ticks; in lmc_ssi_get_link_status() local 707 ticks = LMC_CSR_READ (sc, csr_gp_timer); in lmc_ssi_get_link_status() 708 ticks = 0x0000ffff - (ticks & 0x0000ffff); in lmc_ssi_get_link_status() 716 else if (ticks == 0 ) { /* no clock found ? */ in lmc_ssi_get_link_status()
|
D | lmc_var.h | 174 u32 ticks; /* ticks/sec */ member
|
D | lmc_main.c | 644 u32 ticks; in lmc_watchdog() local 784 ticks = LMC_CSR_READ (sc, csr_gp_timer); in lmc_watchdog() 786 sc->ictl.ticks = 0x0000ffff - (ticks & 0x0000ffff); in lmc_watchdog()
|
/linux-4.1.27/drivers/ata/ |
D | sata_fsl.c | 294 unsigned int count, unsigned int ticks) in fsl_sata_set_irq_coalescing() argument 305 if (ticks > ICC_MAX_INT_TICKS_THRESHOLD) in fsl_sata_set_irq_coalescing() 306 ticks = ICC_MAX_INT_TICKS_THRESHOLD; in fsl_sata_set_irq_coalescing() 307 else if ((ICC_MIN_INT_TICKS_THRESHOLD == ticks) && in fsl_sata_set_irq_coalescing() 309 ticks = ICC_SAFE_INT_TICKS; in fsl_sata_set_irq_coalescing() 312 iowrite32((count << 24 | ticks), hcr_base + ICC); in fsl_sata_set_irq_coalescing() 315 intr_coalescing_ticks = ticks; in fsl_sata_set_irq_coalescing()
|
D | sata_sx4.c | 1274 u32 ticks = 0; in pdc20621_dimm_init() local 1309 ticks = (time_period - tcount); in pdc20621_dimm_init() 1310 VPRINTK("Num counters 0x%x (%d)\n", ticks, ticks); in pdc20621_dimm_init() 1312 clock = (ticks / 300000); in pdc20621_dimm_init()
|
/linux-4.1.27/include/uapi/linux/ |
D | soundcard.h | 1240 #define SEQ_WAIT_TIME(ticks) _TIMER_EVENT(TMR_WAIT_ABS, ticks) argument 1241 #define SEQ_DELTA_TIME(ticks) _TIMER_EVENT(TMR_WAIT_REL, ticks) argument
|
/linux-4.1.27/drivers/net/irda/ |
D | stir4200.c | 653 long ticks; in turnaround_delay() local 663 ticks = us / (1000000 / HZ); in turnaround_delay() 664 if (ticks > 0) in turnaround_delay() 665 schedule_timeout_interruptible(1 + ticks); in turnaround_delay()
|
D | bfin_sir.c | 27 long ticks; in turnaround_delay() local 30 ticks = 1 + mtt / (USEC_PER_SEC / HZ); in turnaround_delay() 31 schedule_timeout_uninterruptible(ticks); in turnaround_delay()
|
/linux-4.1.27/Documentation/device-mapper/ |
D | cache-policies.txt | 19 issues periodic ticks to the policy. It's suggested that the policy 21 for each tick. The core ticks by watching bios complete, and so
|
/linux-4.1.27/drivers/mmc/host/ |
D | usdhi6rol0.c | 868 unsigned long ticks; in usdhi6_timeout_set() local 871 ticks = host->rate / 1000 * mrq->cmd->busy_timeout; in usdhi6_timeout_set() 873 ticks = host->rate / 1000000 * (mrq->data->timeout_ns / 1000) + in usdhi6_timeout_set() 876 if (!ticks || ticks > 1 << 27) in usdhi6_timeout_set() 879 else if (ticks < 1 << 13) in usdhi6_timeout_set() 883 val = order_base_2(ticks) - 13; in usdhi6_timeout_set() 886 mrq->data ? "data" : "cmd", ticks, host->rate); in usdhi6_timeout_set()
|
D | mxs-mmc.c | 344 const unsigned int ticks = ms * clock_per_ms; in mxs_ns_to_ssp_ticks() local 345 const unsigned int ssp_ticks = ticks / ssp_timeout_mul; in mxs_ns_to_ssp_ticks()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | dsi.c | 3220 unsigned ticks, bool x4, bool x16) in dsi_set_lp_rx_timeout() argument 3226 BUG_ON(ticks > 0x1fff); in dsi_set_lp_rx_timeout() 3235 r = FLD_MOD(r, ticks, 12, 0); /* LP_RX_COUNTER */ in dsi_set_lp_rx_timeout() 3238 total_ticks = ticks * (x16 ? 16 : 1) * (x4 ? 4 : 1); in dsi_set_lp_rx_timeout() 3242 ticks, x4 ? " x4" : "", x16 ? " x16" : "", in dsi_set_lp_rx_timeout() 3246 static void dsi_set_ta_timeout(struct platform_device *dsidev, unsigned ticks, in dsi_set_ta_timeout() argument 3253 BUG_ON(ticks > 0x1fff); in dsi_set_ta_timeout() 3262 r = FLD_MOD(r, ticks, 28, 16); /* TA_TO_COUNTER */ in dsi_set_ta_timeout() 3265 total_ticks = ticks * (x16 ? 16 : 1) * (x8 ? 8 : 1); in dsi_set_ta_timeout() 3269 ticks, x8 ? " x8" : "", x16 ? " x16" : "", in dsi_set_ta_timeout() [all …]
|
/linux-4.1.27/arch/alpha/kernel/ |
D | osf_sys.c | 1219 unsigned long ticks; in SYSCALL_DEFINE2() local 1224 ticks = timeval_to_jiffies(&tmp); in SYSCALL_DEFINE2() 1226 ticks = schedule_timeout_interruptible(ticks); in SYSCALL_DEFINE2() 1229 jiffies_to_timeval(ticks, &tmp); in SYSCALL_DEFINE2()
|
/linux-4.1.27/drivers/scsi/csiostor/ |
D | csio_hw.h | 521 csio_core_ticks_to_us(struct csio_hw *hw, uint32_t ticks) in csio_core_ticks_to_us() argument 524 return (ticks * 1000 + hw->vpd.cclk/2) / hw->vpd.cclk; in csio_core_ticks_to_us()
|
D | csio_lnode.c | 1867 csio_scan_done(struct csio_lnode *ln, unsigned long ticks, in csio_scan_done() argument 1877 ln->tgt_scan_tick = ticks; in csio_scan_done() 1879 if (((ticks - ln->tgt_scan_tick) >= delta_scan_ticks)) { in csio_scan_done() 1888 ln->tgt_scan_tick = ticks; in csio_scan_done()
|
/linux-4.1.27/drivers/tty/vt/ |
D | vt_ioctl.c | 385 unsigned int ticks, count; in vt_ioctl() local 391 ticks = msecs_to_jiffies((arg >> 16) & 0xffff); in vt_ioctl() 392 count = ticks ? (arg & 0xffff) : 0; in vt_ioctl() 395 kd_mksound(count, ticks); in vt_ioctl()
|
D | keyboard.c | 253 void kd_mksound(unsigned int hz, unsigned int ticks) in kd_mksound() argument 259 if (hz && ticks) in kd_mksound() 260 mod_timer(&kd_mksound_timer, jiffies + ticks); in kd_mksound()
|
/linux-4.1.27/net/sched/ |
D | sch_netem.c | 344 u64 ticks; in packet_len_2_sched_time() local 356 ticks = (u64)len * NSEC_PER_SEC; in packet_len_2_sched_time() 358 do_div(ticks, q->rate); in packet_len_2_sched_time() 359 return PSCHED_NS2TICKS(ticks); in packet_len_2_sched_time()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | time_64.c | 837 unsigned long ticks = tick_ops->get_tick(); in sched_clock() local 839 return (ticks * timer_ticks_per_nsec_quotient) in sched_clock()
|
/linux-4.1.27/Documentation/RCU/ |
D | stallwarn.txt | 33 information on scheduling-clock ticks and RCU's idle-CPU tracking. 108 0: (63959 ticks this GP) idle=241/3fffffffffffffff/0 softirq=82/543 115 …0: (64628 ticks this GP) idle=dd5/3fffffffffffffff/0 softirq=82/543 last_accelerate: a345/d342 non… 118 The "(64628 ticks this GP)" indicates that this CPU has taken more
|
D | RTFP.txt | 2011 ,Title="{[PATCH]} add support for dynamic ticks and preempt rcu"
|
/linux-4.1.27/sound/sparc/ |
D | cs4231.c | 669 unsigned int ticks; in snd_cs4231_timer_start() local 673 ticks = timer->sticks; in snd_cs4231_timer_start() 675 (unsigned char)(ticks >> 8) != chip->image[CS4231_TIMER_HIGH] || in snd_cs4231_timer_start() 676 (unsigned char)ticks != chip->image[CS4231_TIMER_LOW]) { in snd_cs4231_timer_start() 679 (unsigned char) (ticks >> 8)); in snd_cs4231_timer_start() 682 (unsigned char) ticks); in snd_cs4231_timer_start() 874 .ticks = 65535,
|
/linux-4.1.27/arch/ia64/kernel/ |
D | smpboot.c | 497 int ticks; in decay() local 498 get_option (&str, &ticks); in decay()
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | pcnet32.c | 885 unsigned long ticks; in pcnet32_loopback_test() local 965 ticks = 0; in pcnet32_loopback_test() 967 while ((lp->rx_ring[x].status & teststatus) && (ticks < 200)) { in pcnet32_loopback_test() 972 ticks++; in pcnet32_loopback_test() 974 if (ticks == 200) { in pcnet32_loopback_test() 1080 int ticks; in pcnet32_suspend() local 1091 ticks = 0; in pcnet32_suspend() 1099 ticks++; in pcnet32_suspend() 1100 if (ticks > 200) { in pcnet32_suspend()
|
/linux-4.1.27/net/appletalk/ |
D | aarp.c | 994 static const char *dt2str(unsigned long ticks) in dt2str() argument 998 sprintf(buf, "%ld.%02ld", ticks / HZ, ((ticks % HZ) * 100) / HZ); in dt2str()
|
/linux-4.1.27/sound/isa/wss/ |
D | wss_lib.c | 769 unsigned int ticks; in snd_wss_timer_start() local 772 ticks = timer->sticks; in snd_wss_timer_start() 774 (unsigned char)(ticks >> 8) != chip->image[CS4231_TIMER_HIGH] || in snd_wss_timer_start() 775 (unsigned char)ticks != chip->image[CS4231_TIMER_LOW]) { in snd_wss_timer_start() 776 chip->image[CS4231_TIMER_HIGH] = (unsigned char) (ticks >> 8); in snd_wss_timer_start() 779 chip->image[CS4231_TIMER_LOW] = (unsigned char) ticks; in snd_wss_timer_start() 982 .ticks = 65535,
|
/linux-4.1.27/kernel/ |
D | cpuset.c | 1391 time_t ticks = now - fmp->time; in fmeter_update() local 1393 if (ticks == 0) in fmeter_update() 1396 ticks = min(FM_MAXTICKS, ticks); in fmeter_update() 1397 while (ticks-- > 0) in fmeter_update()
|
/linux-4.1.27/block/ |
D | partition-generic.c | 128 jiffies_to_msecs(part_stat_read(p, ticks[READ])), in part_stat_show() 132 jiffies_to_msecs(part_stat_read(p, ticks[WRITE])), in part_stat_show()
|
D | genhd.c | 1175 jiffies_to_msecs(part_stat_read(hd, ticks[READ])), in diskstats_show() 1179 jiffies_to_msecs(part_stat_read(hd, ticks[WRITE])), in diskstats_show()
|
D | bio.c | 1727 part_stat_add(cpu, part, ticks[rw], duration); in generic_end_io_acct()
|
D | blk-core.c | 2173 part_stat_add(cpu, part, ticks[rw], duration); in blk_account_io_done()
|
/linux-4.1.27/Documentation/watchdog/ |
D | watchdog-parameters.txt | 74 ticks: count down ticks, default is 10000 194 timeout: Watchdog timeout in ticks. (0<timeout<65536, default=65535)
|
/linux-4.1.27/drivers/scsi/ |
D | aha152x.c | 1741 long ticks; in msgi_run() local 1756 ticks = (MSGI(3) * 4 + 49) / 50; in msgi_run() 1760 if (ticks > 9 || MSGI(4) < 1 || MSGI(4) > 8) { in msgi_run() 1768 SYNCRATE |= ((ticks - 2) << 4) + MSGI(4); in msgi_run() 1769 } else if (ticks <= 9 && MSGI(4) >= 1) { in msgi_run() 1773 if (ticks < 4) { in msgi_run() 1774 ticks = 4; in msgi_run() 1784 SYNCRATE |= ((ticks - 2) << 4) + MSGI(4); in msgi_run()
|
/linux-4.1.27/drivers/net/ethernet/realtek/ |
D | atp.h | 258 #define eeprom_delay(ticks) \ argument
|
/linux-4.1.27/include/linux/mfd/ |
D | 88pm860x.h | 416 int (*sync)(unsigned int ticks);
|
/linux-4.1.27/include/uapi/sound/ |
D | asound.h | 734 unsigned int ticks; /* requested resolution in ticks */ member 768 unsigned int ticks; member
|
/linux-4.1.27/arch/um/include/shared/ |
D | os.h | 243 extern int timer_one_shot(int ticks);
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | time.c | 611 unsigned long long tb_to_ns(unsigned long long ticks) in tb_to_ns() argument 613 return mulhdu(ticks, tb_to_ns_scale) << tb_to_ns_shift; in tb_to_ns()
|
/linux-4.1.27/drivers/block/ |
D | amiflop.c | 222 int ticks; in ms_delay() local 227 ticks = MS_TICKS*ms-1; in ms_delay() 228 ciaa.tblo=ticks%256; in ms_delay() 229 ciaa.tbhi=ticks/256; in ms_delay()
|
/linux-4.1.27/Documentation/ |
D | kernel-per-CPU-kthreads.txt | 114 to be de-jittered is marked as an adaptive-ticks CPU using the 137 adaptive-ticks state by doing all of the following: 140 to be de-jittered is marked as an adaptive-ticks CPU using
|
D | kernel-parameters.txt | 2403 nohz= [KNL] Boottime enable/disable dynamic ticks
|
/linux-4.1.27/drivers/mtd/nand/ |
D | s3c2410.c | 252 #define to_ns(ticks, clk) (((ticks) * NS_IN_KHZ) / (unsigned int)(clk)) argument
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-stat.txt | 164 8117.370256 task clock ticks # 11.281 CPU utilization factor
|
/linux-4.1.27/Documentation/input/ |
D | atarikbd.txt | 269 X ; x threshold in mouse ticks (positive integers) 270 Y ; y threshold in mouse ticks (positive integers) 280 X ; horizontal mouse ticks per internal X 281 Y ; vertical mouse ticks per internal Y
|
/linux-4.1.27/include/linux/bcma/ |
D | bcma_driver_chipcommon.h | 666 extern u32 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks);
|
/linux-4.1.27/fs/affs/ |
D | inode.c | 151 be32_to_cpu(tail->change.ticks) / 50 + in affs_iget()
|
D | amigaffs.c | 384 ds->ticks = cpu_to_be32(secs * 50); in secs_to_datestamp()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 1110 unsigned int ticks) in core_ticks_to_us() argument 1113 return ((ticks * 1000 + adapter->params.vpd.cclk/2) / in core_ticks_to_us()
|
/linux-4.1.27/arch/cris/arch-v10/drivers/ |
D | Kconfig | 37 int "Receive flush timeout (ticks) " 41 Number of timer ticks between flush of receive fifo (1 tick = 10ms).
|
/linux-4.1.27/include/acpi/ |
D | acpixf.h | 839 ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_get_timer(u32 *ticks))
|
/linux-4.1.27/drivers/firewire/ |
D | ohci.c | 1698 u32 ticks; in cycle_timer_ticks() local 1700 ticks = cycle_timer & 0xfff; in cycle_timer_ticks() 1701 ticks += 3072 * ((cycle_timer >> 12) & 0x1fff); in cycle_timer_ticks() 1702 ticks += (3072 * 8000) * (cycle_timer >> 25); in cycle_timer_ticks() 1704 return ticks; in cycle_timer_ticks()
|
/linux-4.1.27/drivers/s390/scsi/ |
D | zfcp_fsf.c | 1980 int ticks = req->adapter->timer_ticks; in zfcp_fsf_req_trace() local 1995 blktrc.channel_lat = lat_in->channel_lat * ticks; in zfcp_fsf_req_trace() 1996 blktrc.fabric_lat = lat_in->fabric_lat * ticks; in zfcp_fsf_req_trace()
|
/linux-4.1.27/Documentation/metag/ |
D | kernel-ABI.txt | 83 kernel (including asynchronous events such as interrupts and timer ticks) except
|
/linux-4.1.27/Documentation/filesystems/ |
D | exofs.txt | 116 to=<integer> - Timeout in ticks for a single command.
|
D | proc.txt | 1801 ticks: 0 1806 where 'clockid' is the clock type and 'ticks' is the number of the timer expirations
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 4990 u8 ticks) in storm_memset_hc_timeout() argument 4994 REG_WR8(bp, addr, ticks); in storm_memset_hc_timeout() 4997 port, fw_sb_id, sb_index, ticks); in storm_memset_hc_timeout() 5021 u8 ticks = usec / BNX2X_BTR; in bnx2x_update_coalesce_sb_index() local 5023 storm_memset_hc_timeout(bp, port, fw_sb_id, sb_index, ticks); in bnx2x_update_coalesce_sb_index()
|
/linux-4.1.27/drivers/net/ethernet/via/ |
D | via-velocity.h | 1494 u32 ticks; member
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 268 unsigned int ticks) in gfar_ticks2usecs() argument 288 return (ticks * count) / 1000; in gfar_ticks2usecs()
|
/linux-4.1.27/sound/pci/ |
D | azt3328.c | 2244 ….ticks = 1024000, /* max tick count, defined by the value register; actually it's not 1024000, but… 2264 snd_azf3328_timer_hw.ticks /= seqtimer_scaling; in snd_azf3328_timer()
|
/linux-4.1.27/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 437 .ticks = 65535,
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | tlan.c | 244 tlan_set_timer(struct net_device *dev, u32 ticks, u32 type) in tlan_set_timer() argument 264 mod_timer(&priv->timer, jiffies + ticks); in tlan_set_timer()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | skge.c | 605 static inline u32 skge_clk2usec(const struct skge_hw *hw, u32 ticks) in skge_clk2usec() argument 607 return (ticks * 1000) / hwkhz(hw); in skge_clk2usec()
|
/linux-4.1.27/Documentation/virtual/kvm/ |
D | timekeeping.txt | 495 ticks and compensate for them internally. Although promising in theory, the
|
/linux-4.1.27/sound/pci/ymfpci/ |
D | ymfpci_main.c | 1944 .ticks = 0x10000,
|
/linux-4.1.27/lib/ |
D | Kconfig.debug | 1307 regarding scheduling-clock ticks, idle state, and,
|