/linux-master/include/uapi/sound/ |
H A D | asound.h | 435 unsigned int sleep_min; /* min ticks to sleep */ 958 unsigned int ticks; /* requested resolution in ticks */ member in struct:snd_timer_params 1003 unsigned int ticks; member in struct:snd_timer_read 1008 SNDRV_TIMER_EVENT_TICK, /* val = ticks */
|
/linux-master/drivers/md/ |
H A D | dm-stats.c | 29 unsigned long long ticks[2]; member in struct:dm_stat_percpu 606 p->ticks[idx] += duration_jiffies; 609 p->ticks[idx] += stats_aux->duration_ns; 737 shared->tmp.ticks[READ] = 0; 738 shared->tmp.ticks[WRITE] = 0; 755 shared->tmp.ticks[READ] += READ_ONCE(p->ticks[READ]); 756 shared->tmp.ticks[WRITE] += READ_ONCE(p->ticks[WRITE]); 789 p->ticks[REA [all...] |
/linux-master/drivers/tty/vt/ |
H A D | keyboard.c | 276 void kd_mksound(unsigned int hz, unsigned int ticks) argument 282 if (hz && ticks) 283 mod_timer(&kd_mksound_timer, jiffies + ticks);
|
/linux-master/tools/testing/selftests/tc-testing/plugin-lib/ |
H A D | nsPlugin.py | 41 ticks = 20 43 if ticks == 0: 53 ticks -= 1 132 ticks = 20 134 if ticks == 0: 144 ticks -= 1 149 ticks = 20 151 if ticks == 0: 159 ticks -= 1
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | siena.c | 41 unsigned int ticks; local 43 ticks = efx_siena_usecs_to_ticks(efx, channel->irq_moderation_us); 48 ticks - 1);
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | efx.c | 420 unsigned int efx_ticks_to_usecs(struct efx_nic *efx, unsigned int ticks) argument 422 /* We must round up when converting ticks to microseconds 425 return DIV_ROUND_UP(ticks * efx->timer_quantum_ns, 1000);
|
H A D | ef10.c | 2008 unsigned int ticks = efx_usecs_to_ticks(efx, usecs); local 2013 ERF_DD_EVQ_IND_TIMER_VAL, ticks); 2017 unsigned int ticks = efx_usecs_to_ticks(efx, usecs); local 2020 ERF_DZ_TC_TIMER_VAL, ticks, 2021 ERF_FZ_TC_TMR_REL_VAL, 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/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/drivers/mtd/nand/raw/ |
H A D | s3c2410.c | 270 #define to_ns(ticks, clk) (((ticks) * NS_IN_KHZ) / (unsigned int)(clk))
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_admin.c | 287 int adf_send_admin_hb_timer(struct adf_accel_dev *accel_dev, uint32_t ticks) argument 295 req.heartbeat_ticks = ticks;
|
H A D | adf_admin.h | 16 int adf_send_admin_hb_timer(struct adf_accel_dev *accel_dev, uint32_t ticks);
|
/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/arch/m68k/q40/ |
H A D | q40.h | 5 void q40_mksound(unsigned int hz, unsigned int ticks);
|
H A D | q40ints.c | 109 int ql_ticks; /* 200Hz ticks since last jiffie */ 114 void q40_mksound(unsigned int hz, unsigned int ticks) argument 130 sound_ticks = ticks << 1;
|
/linux-master/arch/m68k/mvme16x/ |
H A D | config.c | 415 u32 ticks; local 419 ticks = in_be32(PCCTCNT1); 422 ticks = in_be32(PCCTCNT1); 423 ticks += overflow * PCC_TIMER_CYCLES; 424 ticks += clk_total; 427 return ticks;
|
/linux-master/arch/m68k/mvme147/ |
H A D | config.c | 148 u32 ticks; local 157 ticks = count + overflow * PCC_TIMER_CYCLES; 158 ticks += clk_total; 161 return ticks;
|
/linux-master/arch/m68k/mac/ |
H A D | via.c | 615 u32 ticks; local 633 ticks = VIA_TIMER_CYCLES - count; 634 ticks += clk_offset + clk_total; 637 return ticks;
|
/linux-master/arch/m68k/hp300/ |
H A D | time.c | 81 u32 ticks; local 96 ticks = INTVAL - ((msb << 8) | lsb); 97 ticks += clk_offset + clk_total; 100 return ticks;
|
/linux-master/arch/m68k/atari/ |
H A D | time.c | 81 u32 ticks; local 90 ticks = INT_TICKS - count; 91 ticks += clk_total; 94 return ticks;
|
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/m68k/amiga/ |
H A D | amisound.c | 73 void amiga_mksound( unsigned int hz, unsigned int ticks ) 97 if (ticks) { 98 sound_timer.expires = jiffies + ticks;
|
H A D | amiga.h | 5 void amiga_mksound(unsigned int hz, unsigned int ticks);
|
/linux-master/net/appletalk/ |
H A D | aarp.c | 992 static const char *dt2str(unsigned long ticks) argument 996 sprintf(buf, "%ld.%02ld", ticks / HZ, ((ticks % HZ) * 100) / HZ);
|