period            256 arch/alpha/kernel/perf_event.c 	long period = hwc->sample_period;
period            259 arch/alpha/kernel/perf_event.c 	if (unlikely(left <= -period)) {
period            260 arch/alpha/kernel/perf_event.c 		left = period;
period            262 arch/alpha/kernel/perf_event.c 		hwc->last_period = period;
period            267 arch/alpha/kernel/perf_event.c 		left += period;
period            269 arch/alpha/kernel/perf_event.c 		hwc->last_period = period;
period            247 arch/arc/kernel/perf_event.c 	s64 period = hwc->sample_period;
period            252 arch/arc/kernel/perf_event.c 	if (unlikely(left <= -period)) {
period            254 arch/arc/kernel/perf_event.c 		left = period;
period            256 arch/arc/kernel/perf_event.c 		hwc->last_period = period;
period            260 arch/arc/kernel/perf_event.c 		left += period;
period            262 arch/arc/kernel/perf_event.c 		hwc->last_period = period;
period             85 arch/arm/mach-davinci/time.c 	unsigned long period;
period            128 arch/arm/mach-davinci/time.c 		__raw_writel(__raw_readl(t->base + t->tim_off) + t->period,
period            139 arch/arm/mach-davinci/time.c 		__raw_writel(t->period, t->base + t->prd_off);
period            182 arch/arm/mach-davinci/time.c 		.period     = ~0,
period            293 arch/arm/mach-davinci/time.c 	t->period = cycles;
period            320 arch/arm/mach-davinci/time.c 	t->period = davinci_clock_tick_rate / (HZ);
period            117 arch/arm/mach-omap2/timer.c 	u32 period;
period            121 arch/arm/mach-omap2/timer.c 	period = clkev.rate / HZ;
period            122 arch/arm/mach-omap2/timer.c 	period -= 1;
period            124 arch/arm/mach-omap2/timer.c 	__omap_dm_timer_write(&clkev, OMAP_TIMER_LOAD_REG, 0xffffffff - period,
period            128 arch/arm/mach-omap2/timer.c 				   0xffffffff - period, OMAP_TIMER_POSTED);
period            294 arch/arm/mach-orion5x/ts78xx-setup.c 	.period		= 1000000, /* one second */
period            128 arch/arm/mach-spear/time.c 	u32 period;
period            134 arch/arm/mach-spear/time.c 	period = clk_get_rate(gpt_clk) / HZ;
period            135 arch/arm/mach-spear/time.c 	period >>= CTRL_PRESCALER16;
period            136 arch/arm/mach-spear/time.c 	writew(period, gpt_base + LOAD(CLKEVT));
period             77 arch/c6x/platforms/timer64.c static void timer64_config(unsigned long period)
period             82 arch/c6x/platforms/timer64.c 	soc_writel(period - 1, &timer->prdlo);
period            882 arch/csky/kernel/perf_event.c 	s64 period = hwc->sample_period;
period            885 arch/csky/kernel/perf_event.c 	if (unlikely(left <= -period)) {
period            886 arch/csky/kernel/perf_event.c 		left = period;
period            888 arch/csky/kernel/perf_event.c 		hwc->last_period = period;
period            893 arch/csky/kernel/perf_event.c 		left += period;
period            895 arch/csky/kernel/perf_event.c 		hwc->last_period = period;
period             82 arch/m68k/amiga/amisound.c 		unsigned long period = (clock_constant / hz);
period             84 arch/m68k/amiga/amisound.c 		if (period < amiga_audio_min_period)
period             85 arch/m68k/amiga/amisound.c 			period = amiga_audio_min_period;
period             86 arch/m68k/amiga/amisound.c 		if (period > MAX_PERIOD)
period             87 arch/m68k/amiga/amisound.c 			period = MAX_PERIOD;
period             92 arch/m68k/amiga/amisound.c 		custom.aud[2].audper = (unsigned short)period;
period             60 arch/m68k/atari/atasound.c 	int period;
period             75 arch/m68k/atari/atasound.c 	    period = PSG_FREQ / hz;
period             77 arch/m68k/atari/atasound.c 	    if (period > 0xfff) period = 0xfff;
period             81 arch/m68k/atari/atasound.c 	sound_ym.wd_data = period & 0xff;
period             83 arch/m68k/atari/atasound.c 	sound_ym.wd_data = (period >> 8) & 0xf;
period             54 arch/m68k/kernel/time.c 	    static unsigned cnt = 0, period = 0, dist = 0;
period             61 arch/m68k/kernel/time.c 	    if (++cnt > period) {
period             67 arch/m68k/kernel/time.c 		period = ((672<<FSHIFT)/(5*avenrun[0]+(7<<FSHIFT))) + 30;
period             68 arch/m68k/kernel/time.c 		dist = period / 4;
period             80 arch/mips/include/asm/mach-jz4740/timer.h static inline void jz4740_timer_set_period(unsigned int timer, uint16_t period)
period             82 arch/mips/include/asm/mach-jz4740/timer.h 	writew(period, jz4740_timer_base + JZ_REG_TIMER_DFR(timer));
period            375 arch/mips/kernel/perf_event_mipsxx.c 	u64 period = hwc->sample_period;
period            378 arch/mips/kernel/perf_event_mipsxx.c 	if (unlikely((left + period) & (1ULL << 63))) {
period            380 arch/mips/kernel/perf_event_mipsxx.c 		left = period;
period            382 arch/mips/kernel/perf_event_mipsxx.c 		hwc->last_period = period;
period            384 arch/mips/kernel/perf_event_mipsxx.c 	} else	if (unlikely((left + period) <= period)) {
period            386 arch/mips/kernel/perf_event_mipsxx.c 		left += period;
period            388 arch/mips/kernel/perf_event_mipsxx.c 		hwc->last_period = period;
period            741 arch/mips/kernel/perf_event_mipsxx.c 	data->period = event->hw.last_period;
period             38 arch/mips/loongson32/common/time.c static inline void ls1x_pwmtimer_set_period(uint32_t period)
period             40 arch/mips/loongson32/common/time.c 	__raw_writel(period, timer_reg_base + PWM_HRC);
period             41 arch/mips/loongson32/common/time.c 	__raw_writel(period, timer_reg_base + PWM_LRC);
period            188 arch/nds32/kernel/perf_event_cpu.c 	s64 period = hwc->sample_period;
period            192 arch/nds32/kernel/perf_event_cpu.c 	if (unlikely(period != hwc->last_period))
period            193 arch/nds32/kernel/perf_event_cpu.c 		left = period - (hwc->last_period - left);
period            195 arch/nds32/kernel/perf_event_cpu.c 	if (unlikely(left <= -period)) {
period            196 arch/nds32/kernel/perf_event_cpu.c 		left = period;
period            198 arch/nds32/kernel/perf_event_cpu.c 		hwc->last_period = period;
period            203 arch/nds32/kernel/perf_event_cpu.c 		left += period;
period            205 arch/nds32/kernel/perf_event_cpu.c 		hwc->last_period = period;
period            135 arch/nios2/kernel/time.c static void nios2_timer_config(struct nios2_timer *timer, unsigned long period,
period            142 arch/nios2/kernel/time.c 	 period--;
period            150 arch/nios2/kernel/time.c 	timer_writew(timer, period, ALTERA_TIMER_PERIODL_REG);
period            151 arch/nios2/kernel/time.c 	timer_writew(timer, period >> 16, ALTERA_TIMER_PERIODH_REG);
period            182 arch/nios2/kernel/time.c 	unsigned long period;
period            186 arch/nios2/kernel/time.c 	period = DIV_ROUND_UP(timer->freq, HZ);
period            187 arch/nios2/kernel/time.c 	nios2_timer_config(timer, period, true);
period            283 arch/powerpc/include/asm/mpc52xx.h extern int mpc52xx_gpt_start_timer(struct mpc52xx_gpt_priv *gpt, u64 period,
period            554 arch/powerpc/kvm/booke.c 	u32 period = TCR_GET_WP(vcpu->arch.tcr);
period            556 arch/powerpc/kvm/booke.c 	wdt_tb = 1ULL << (63 - period);
period           2041 arch/powerpc/perf/core-book3s.c 	u64 period = event->hw.sample_period;
period           2063 arch/powerpc/perf/core-book3s.c 	if (period) {
period           2065 arch/powerpc/perf/core-book3s.c 			left += period;
period           2067 arch/powerpc/perf/core-book3s.c 				left = period;
period            605 arch/powerpc/perf/core-fsl-emb.c 	u64 period = event->hw.sample_period;
period            625 arch/powerpc/perf/core-fsl-emb.c 	if (period) {
period            627 arch/powerpc/perf/core-fsl-emb.c 			left += period;
period            629 arch/powerpc/perf/core-fsl-emb.c 				left = period;
period           1175 arch/powerpc/perf/imc-pmu.c 	data->period = event->hw.last_period;
period            387 arch/powerpc/platforms/52xx/mpc52xx_gpt.c static int mpc52xx_gpt_do_start(struct mpc52xx_gpt_priv *gpt, u64 period,
period            407 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	clocks = period * (u64)gpt->ipb_freq;
period            457 arch/powerpc/platforms/52xx/mpc52xx_gpt.c int mpc52xx_gpt_start_timer(struct mpc52xx_gpt_priv *gpt, u64 period,
period            460 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	return mpc52xx_gpt_do_start(gpt, period, continuous, 0);
period            495 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	u64 period;
period            500 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	period = in_be32(&gpt->regs->count);
period            503 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	prescale = period >> 16;
period            504 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	period &= 0xffff;
period            507 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	period = period * prescale * 1000000000ULL;
period            508 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	do_div(period, (u64)gpt->ipb_freq);
period            509 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	return period;
period            677 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 				 const u32 *period)
period            685 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	if (!period || *period == 0)
period            688 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 	real_timeout = (u64) *period * 1000000000ULL;
period            692 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 		dev_info(gpt->dev, "watchdog set to %us timeout\n", *period);
period            704 arch/powerpc/platforms/52xx/mpc52xx_gpt.c 					const u32 *period)
period            607 arch/s390/kernel/perf_cpum_sf.c static void hw_init_period(struct hw_perf_event *hwc, u64 period)
period            609 arch/s390/kernel/perf_cpum_sf.c 	hwc->sample_period = period;
period            891 arch/sparc/kernel/perf_event.c 	s64 period = hwc->sample_period;
period            895 arch/sparc/kernel/perf_event.c 	if (unlikely(period != hwc->last_period))
period            896 arch/sparc/kernel/perf_event.c 		left = period - (hwc->last_period - left);
period            898 arch/sparc/kernel/perf_event.c 	if (unlikely(left <= -period)) {
period            899 arch/sparc/kernel/perf_event.c 		left = period;
period            901 arch/sparc/kernel/perf_event.c 		hwc->last_period = period;
period            906 arch/sparc/kernel/perf_event.c 		left += period;
period            908 arch/sparc/kernel/perf_event.c 		hwc->last_period = period;
period            114 arch/x86/events/amd/ibs.c 	s64 period = hwc->sample_period;
period            120 arch/x86/events/amd/ibs.c 	if (unlikely(left <= -period)) {
period            121 arch/x86/events/amd/ibs.c 		left = period;
period            123 arch/x86/events/amd/ibs.c 		hwc->last_period = period;
period            128 arch/x86/events/amd/ibs.c 		left += period;
period            130 arch/x86/events/amd/ibs.c 		hwc->last_period = period;
period            317 arch/x86/events/amd/ibs.c 			       struct hw_perf_event *hwc, u64 *period)
period            322 arch/x86/events/amd/ibs.c 	overflow = perf_event_set_period(hwc, 1<<4, perf_ibs->max_period, period);
period            397 arch/x86/events/amd/ibs.c 	u64 period;
period            405 arch/x86/events/amd/ibs.c 	perf_ibs_set_period(perf_ibs, hwc, &period);
period            412 arch/x86/events/amd/ibs.c 	perf_ibs_enable_event(perf_ibs, hwc, period >> 4);
period            580 arch/x86/events/amd/ibs.c 	u64 *buf, *config, period;
period            609 arch/x86/events/amd/ibs.c 	if (!perf_ibs_set_period(perf_ibs, hwc, &period))
period            669 arch/x86/events/amd/ibs.c 		period >>= 4;
period            673 arch/x86/events/amd/ibs.c 			period |= *config & IBS_OP_CUR_CNT_RAND;
period            675 arch/x86/events/amd/ibs.c 		perf_ibs_enable_event(perf_ibs, hwc, period);
period           1195 arch/x86/events/core.c 	s64 period = hwc->sample_period;
period           1204 arch/x86/events/core.c 	if (unlikely(left <= -period)) {
period           1205 arch/x86/events/core.c 		left = period;
period           1207 arch/x86/events/core.c 		hwc->last_period = period;
period           1212 arch/x86/events/core.c 		left += period;
period           1214 arch/x86/events/core.c 		hwc->last_period = period;
period           1361 arch/x86/events/intel/ds.c 	data->period = event->hw.last_period;
period           1531 arch/x86/events/intel/ds.c 	data->period = event->hw.last_period;
period           1670 arch/x86/events/intel/ds.c 	u64 period = hwc->sample_period;
period           1674 arch/x86/events/intel/ds.c 	WARN_ON(!period);
period           1714 arch/x86/events/intel/ds.c 	local64_add(new - old + count * period, &event->count);
period            705 arch/x86/events/perf_event.h 	int (*check_period) (struct perf_event *event, u64 period);
period            925 arch/x86/events/perf_event.h static inline bool intel_pmu_has_bts_period(struct perf_event *event, u64 period)
period            936 arch/x86/events/perf_event.h 	return hw_event == bts_event && period == 1;
period             32 arch/x86/include/asm/intel_telemetry.h 	u8 period;
period            141 arch/x86/kernel/hpet.c 	u32 i, id, period, cfg, status, channels, l, h;
period            146 arch/x86/kernel/hpet.c 	period = hpet_readl(HPET_PERIOD);
period            147 arch/x86/kernel/hpet.c 	pr_info("ID: 0x%x, PERIOD: 0x%x\n", id, period);
period             88 arch/x86/kvm/i8254.c 	if (!ps->period)
period            101 arch/x86/kvm/i8254.c 	elapsed = ps->period - ktime_to_ns(remaining);
period            278 arch/x86/kvm/i8254.c 		hrtimer_add_expires_ns(&ps->timer, ps->period);
period            328 arch/x86/kvm/i8254.c 	ps->period = interval;
period            341 arch/x86/kvm/i8254.c 		if (ps->period < min_period) {
period            345 arch/x86/kvm/i8254.c 			    ps->period, min_period);
period            346 arch/x86/kvm/i8254.c 			ps->period = min_period;
period             30 arch/x86/kvm/i8254.h 	s64 period; 				/* unit: ns */
period           1229 arch/x86/kvm/lapic.c 		apic->lapic_timer.period == 0)
period           1237 arch/x86/kvm/lapic.c 	ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period);
period           1403 arch/x86/kvm/lapic.c 	if (apic_lvtt_period(apic) && apic->lapic_timer.period) {
period           1406 arch/x86/kvm/lapic.c 		if (apic->lapic_timer.period < min_period) {
period           1411 arch/x86/kvm/lapic.c 			    apic->lapic_timer.period, min_period);
period           1412 arch/x86/kvm/lapic.c 			apic->lapic_timer.period = min_period;
period           1427 arch/x86/kvm/lapic.c 			apic->lapic_timer.period = 0;
period           1607 arch/x86/kvm/lapic.c 	apic->lapic_timer.period = (u64)kvm_lapic_get_reg(apic, APIC_TMICT)
period           1632 arch/x86/kvm/lapic.c 	apic->lapic_timer.period = (u64)kvm_lapic_get_reg(apic, APIC_TMICT)
period           1635 arch/x86/kvm/lapic.c 	if (!apic->lapic_timer.period) {
period           1643 arch/x86/kvm/lapic.c 		nsec_to_cycles(apic->vcpu, apic->lapic_timer.period);
period           1644 arch/x86/kvm/lapic.c 	apic->lapic_timer.target_expiration = ktime_add_ns(now, apic->lapic_timer.period);
period           1664 arch/x86/kvm/lapic.c 				apic->lapic_timer.period);
period           1672 arch/x86/kvm/lapic.c 	if (!apic->lapic_timer.period)
period           1791 arch/x86/kvm/lapic.c 	if (apic_lvtt_period(apic) && apic->lapic_timer.period) {
period           1966 arch/x86/kvm/lapic.c 				apic->lapic_timer.period) {
period           2275 arch/x86/kvm/lapic.c 		hrtimer_add_expires_ns(&ktimer->timer, ktimer->period);
period             28 arch/x86/kvm/lapic.h 	s64 period; 				/* unit: ns */
period            163 arch/xtensa/kernel/perf_event.c 		s64 period = hwc->sample_period;
period            166 arch/xtensa/kernel/perf_event.c 		if (left <= -period) {
period            167 arch/xtensa/kernel/perf_event.c 			left = period;
period            169 arch/xtensa/kernel/perf_event.c 			hwc->last_period = period;
period            172 arch/xtensa/kernel/perf_event.c 			left += period;
period            174 arch/xtensa/kernel/perf_event.c 			hwc->last_period = period;
period            665 drivers/acpi/apei/ghes.c 	unsigned long long now, duration, period, max_period = 0;
period            687 drivers/acpi/apei/ghes.c 		period = duration;
period            688 drivers/acpi/apei/ghes.c 		do_div(period, (count + 1));
period            689 drivers/acpi/apei/ghes.c 		if (period > max_period) {
period            690 drivers/acpi/apei/ghes.c 			max_period = period;
period            577 drivers/atm/he.c 		unsigned period = clock / rate;
period            579 drivers/atm/he.c 		he_writel_mbox(he_dev, period, CS_TGRLD0 + reg);
period           2124 drivers/atm/he.c 	unsigned cid, rsr0, rsr1, rsr4, tsr0, tsr0_aal, tsr4, period, reg, clock;
period           2227 drivers/atm/he.c 				period = clock / pcr_goal;
period           2230 drivers/atm/he.c 								reg, period);
period           2232 drivers/atm/he.c 				he_writel_mbox(he_dev, rate_to_atmf(period/2),
period            303 drivers/bus/ts-nbus.c 	if (!pargs.period) {
period            313 drivers/bus/ts-nbus.c 	ret = pwm_config(pwm, pargs.period, pargs.period);
period            843 drivers/char/hpet.c 	unsigned long period;
period            893 drivers/char/hpet.c 	period = (cap & HPET_COUNTER_CLK_PERIOD_MASK) >>
period            896 drivers/char/hpet.c 	temp += period >> 1; /* round */
period            897 drivers/char/hpet.c 	do_div(temp, period);
period             35 drivers/char/hw_random/timeriomem-rng.c 	ktime_t			period;
period             50 drivers/char/hw_random/timeriomem-rng.c 	int period_us = ktime_to_us(priv->period);
period             86 drivers/char/hw_random/timeriomem-rng.c 	hrtimer_forward_now(&priv->timer, priv->period);
period            109 drivers/char/hw_random/timeriomem-rng.c 	int period;
period            139 drivers/char/hw_random/timeriomem-rng.c 			period = i;
period            151 drivers/char/hw_random/timeriomem-rng.c 		period = pdata->period;
period            155 drivers/char/hw_random/timeriomem-rng.c 	priv->period = ns_to_ktime(period * NSEC_PER_USEC);
period            179 drivers/char/hw_random/timeriomem-rng.c 			priv->io_base, period);
period             55 drivers/clk/clk-pwm.c 	duty->den = state.period;
period             86 drivers/clk/clk-pwm.c 	if (!pargs.period) {
period             92 drivers/clk/clk-pwm.c 		clk_pwm->fixed_rate = NSEC_PER_SEC / pargs.period;
period             94 drivers/clk/clk-pwm.c 	if (pargs.period != NSEC_PER_SEC / clk_pwm->fixed_rate &&
period             95 drivers/clk/clk-pwm.c 	    pargs.period != DIV_ROUND_UP(NSEC_PER_SEC, clk_pwm->fixed_rate)) {
period            106 drivers/clk/clk-pwm.c 	ret = pwm_config(pwm, (pargs.period + 1) >> 1, pargs.period);
period            170 drivers/clocksource/dw_apb_timer.c 	unsigned long period = DIV_ROUND_UP(dw_ced->timer.freq, HZ);
period            186 drivers/clocksource/dw_apb_timer.c 	pr_debug("Setting clock period %lu for HZ %d\n", period, HZ);
period            187 drivers/clocksource/dw_apb_timer.c 	apbt_writel(&dw_ced->timer, period, APBTMR_N_LOAD_COUNT);
period            210 drivers/clocksource/timer-fttmr010.c 	u32 period = DIV_ROUND_CLOSEST(fttmr010->tick_rate, HZ);
period            220 drivers/clocksource/timer-fttmr010.c 		writel(period, fttmr010->base + TIMER1_LOAD);
period            222 drivers/clocksource/timer-fttmr010.c 		cr = 0xffffffff - (period - 1);
period             74 drivers/clocksource/timer-keystone.c static int keystone_timer_config(u64 period, int mask)
period             93 drivers/clocksource/timer-keystone.c 	keystone_timer_writel(period & 0xffffffff, PRD12);
period             94 drivers/clocksource/timer-keystone.c 	keystone_timer_writel(period >> 32, PRD34);
period            184 drivers/clocksource/timer-mediatek.c 	mtk_gpt_clkevt_time_setup(to, to->of_clk.period, TIMER_CLK_EVT);
period             92 drivers/clocksource/timer-milbeaut.c 	mlb_evt_timer_register_count(to, to->of_clk.period);
period            137 drivers/clocksource/timer-of.c 	of_clk->period = DIV_ROUND_UP(of_clk->rate, HZ);
period             31 drivers/clocksource/timer-of.h 	unsigned long period;
period             66 drivers/clocksource/timer-of.h 	return to->of_clk.period;
period             72 drivers/clocksource/timer-oxnas-rps.c 				   unsigned long period,
period             77 drivers/clocksource/timer-oxnas-rps.c 	if (period)
period             83 drivers/clocksource/timer-oxnas-rps.c 	writel_relaxed(period, rps->clkevt_base + TIMER_LOAD_REG);
period            228 drivers/clocksource/timer-stm32.c 	to->of_clk.period = DIV_ROUND_UP(to->of_clk.rate, HZ);
period             85 drivers/clocksource/timer-tegra.c 	unsigned long period = timer_of_period(to_timer_of(evt));
period             87 drivers/clocksource/timer-tegra.c 	writel_relaxed(TIMER_PTV_EN | TIMER_PTV_PER | (period - 1),
period            319 drivers/clocksource/timer-tegra.c 		cpu_to->of_clk.period = rate / HZ;
period            878 drivers/dma/s3c24xx-dma.c 	struct dma_chan *chan, dma_addr_t addr, size_t size, size_t period,
period            894 drivers/dma/s3c24xx-dma.c 		size, period, s3cchan->name);
period            948 drivers/dma/s3c24xx-dma.c 	sg_len = size / period;
period            958 drivers/dma/s3c24xx-dma.c 		dsg->len = period;
period            961 drivers/dma/s3c24xx-dma.c 			dsg->len = size - period * i;
period            963 drivers/dma/s3c24xx-dma.c 			dsg->src_addr = addr + period * i;
period            967 drivers/dma/s3c24xx-dma.c 			dsg->dst_addr = addr + period * i;
period             77 drivers/dma/sa11x0-dma.c 	unsigned		period;
period            237 drivers/dma/sa11x0-dma.c 			if ((p->sg_done % txd->period) == 0)
period            605 drivers/dma/sa11x0-dma.c 	struct dma_chan *chan, dma_addr_t addr, size_t size, size_t period,
period            619 drivers/dma/sa11x0-dma.c 	sgperiod = DIV_ROUND_UP(period, DMA_MAX_SIZE & ~DMA_ALIGN);
period            620 drivers/dma/sa11x0-dma.c 	sglen = size * sgperiod / period;
period            632 drivers/dma/sa11x0-dma.c 	for (i = k = 0; i < size / period; i++) {
period            633 drivers/dma/sa11x0-dma.c 		size_t tlen, len = period;
period            658 drivers/dma/sa11x0-dma.c 	txd->period = sgperiod;
period            286 drivers/gpio/gpio-dln2.c 				   unsigned type, unsigned period)
period            291 drivers/gpio/gpio-dln2.c 		__le16 period;
period            295 drivers/gpio/gpio-dln2.c 		.period = cpu_to_le16(period),
period            676 drivers/gpio/gpio-mvebu.c 		state->period = 1;
period            680 drivers/gpio/gpio-mvebu.c 			state->period = UINT_MAX;
period            682 drivers/gpio/gpio-mvebu.c 			state->period = val;
period            684 drivers/gpio/gpio-mvebu.c 			state->period = 1;
period            715 drivers/gpio/gpio-mvebu.c 		(state->period - state->duty_cycle);
period            237 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c 	unsigned period = dw->buf_period;
period            240 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c 	dw->reformat(dw, offset, period);
period            247 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c 	stop = start + period - 1;
period            256 drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c 	offset += period;
period            424 drivers/gpu/drm/i915/gvt/display.c 			ktime_add_ns(ktime_get(), irq->vblank_timer.period),
period            656 drivers/gpu/drm/i915/gvt/interrupt.c 	hrtimer_add_expires_ns(&vblank_timer->timer, vblank_timer->period);
period            707 drivers/gpu/drm/i915/gvt/interrupt.c 	vblank_timer->period = VBLANK_TIMER_PERIOD;
period            200 drivers/gpu/drm/i915/gvt/interrupt.h 	u64 period;
period             70 drivers/gpu/drm/i915/gvt/sched_policy.c 	unsigned long period;
period            272 drivers/gpu/drm/i915/gvt/sched_policy.c 	hrtimer_add_expires_ns(&data->timer, data->period);
period            291 drivers/gpu/drm/i915/gvt/sched_policy.c 	data->period = GVT_DEFAULT_TIME_SLICE;
period            359 drivers/gpu/drm/i915/gvt/sched_policy.c 			sched_data->period), HRTIMER_MODE_ABS);
period            262 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c 	u32 period, ssc_period;
period            269 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c 	period = (u32)pll->vco_ref_clk_rate / 1000;
period            270 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c 	ssc_period  = CEIL(period, ssc_period);
period            146 drivers/gpu/drm/radeon/sumo_smc.c 	u32 period, unit, timer_value;
period            152 drivers/gpu/drm/radeon/sumo_smc.c 	period = 100 * (xclk / 100 / sumo_power_of_4(unit));
period            154 drivers/gpu/drm/radeon/sumo_smc.c 	timer_value = (period << 16) | (unit << 4);
period             36 drivers/gpu/drm/tegra/dsi.c 	unsigned long period;
period            366 drivers/gpu/drm/tegra/dsi.c 				     unsigned long period,
period            371 drivers/gpu/drm/tegra/dsi.c 	value = DSI_TIMING_FIELD(timing->hsexit, period, 1) << 24 |
period            372 drivers/gpu/drm/tegra/dsi.c 		DSI_TIMING_FIELD(timing->hstrail, period, 0) << 16 |
period            373 drivers/gpu/drm/tegra/dsi.c 		DSI_TIMING_FIELD(timing->hszero, period, 3) << 8 |
period            374 drivers/gpu/drm/tegra/dsi.c 		DSI_TIMING_FIELD(timing->hsprepare, period, 1);
period            377 drivers/gpu/drm/tegra/dsi.c 	value = DSI_TIMING_FIELD(timing->clktrail, period, 1) << 24 |
period            378 drivers/gpu/drm/tegra/dsi.c 		DSI_TIMING_FIELD(timing->clkpost, period, 1) << 16 |
period            379 drivers/gpu/drm/tegra/dsi.c 		DSI_TIMING_FIELD(timing->clkzero, period, 1) << 8 |
period            380 drivers/gpu/drm/tegra/dsi.c 		DSI_TIMING_FIELD(timing->lpx, period, 1);
period            383 drivers/gpu/drm/tegra/dsi.c 	value = DSI_TIMING_FIELD(timing->clkprepare, period, 1) << 16 |
period            384 drivers/gpu/drm/tegra/dsi.c 		DSI_TIMING_FIELD(timing->clkpre, period, 1) << 8 |
period            385 drivers/gpu/drm/tegra/dsi.c 		DSI_TIMING_FIELD(0xff * period, period, 0) << 0;
period            388 drivers/gpu/drm/tegra/dsi.c 	value = DSI_TIMING_FIELD(timing->taget, period, 1) << 16 |
period            389 drivers/gpu/drm/tegra/dsi.c 		DSI_TIMING_FIELD(timing->tasure, period, 1) << 8 |
period            390 drivers/gpu/drm/tegra/dsi.c 		DSI_TIMING_FIELD(timing->tago, period, 1);
period            394 drivers/gpu/drm/tegra/dsi.c 		tegra_dsi_set_phy_timing(dsi->slave, period, timing);
period            923 drivers/gpu/drm/tegra/dsi.c 	tegra_dsi_set_phy_timing(dsi, state->period * 8, &state->timing);
period            984 drivers/gpu/drm/tegra/dsi.c 	state->period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, plld);
period            986 drivers/gpu/drm/tegra/dsi.c 	err = mipi_dphy_timing_get_default(&state->timing, state->period);
period            990 drivers/gpu/drm/tegra/dsi.c 	err = mipi_dphy_timing_validate(&state->timing, state->period);
period             84 drivers/gpu/drm/tegra/dsi.h #define DSI_TIMING_FIELD(value, period, hwinc) \
period             85 drivers/gpu/drm/tegra/dsi.h 	((DIV_ROUND_CLOSEST(value, period) - (hwinc)) & 0xff)
period             17 drivers/gpu/drm/tegra/mipi-phy.c 				 unsigned long period)
period             20 drivers/gpu/drm/tegra/mipi-phy.c 	timing->clkpost = 70 + 52 * period;
period             30 drivers/gpu/drm/tegra/mipi-phy.c 	timing->hsprepare = 65 + 5 * period;
period             31 drivers/gpu/drm/tegra/mipi-phy.c 	timing->hszero = 145 + 5 * period;
period             32 drivers/gpu/drm/tegra/mipi-phy.c 	timing->hssettle = 85 + 6 * period;
period             46 drivers/gpu/drm/tegra/mipi-phy.c 	timing->hstrail = max(4 * 8 * period, 60 + 4 * 4 * period);
period             63 drivers/gpu/drm/tegra/mipi-phy.c 			      unsigned long period)
period             68 drivers/gpu/drm/tegra/mipi-phy.c 	if (timing->clkpost < (60 + 52 * period))
period             89 drivers/gpu/drm/tegra/mipi-phy.c 	if (timing->dtermen > 35 + 4 * period)
period             92 drivers/gpu/drm/tegra/mipi-phy.c 	if (timing->eot > 105 + 12 * period)
period             98 drivers/gpu/drm/tegra/mipi-phy.c 	if (timing->hsprepare < 40 + 4 * period ||
period             99 drivers/gpu/drm/tegra/mipi-phy.c 	    timing->hsprepare > 85 + 6 * period)
period            102 drivers/gpu/drm/tegra/mipi-phy.c 	if (timing->hsprepare + timing->hszero < 145 + 10 * period)
period            105 drivers/gpu/drm/tegra/mipi-phy.c 	if ((timing->hssettle < 85 + 6 * period) ||
period            106 drivers/gpu/drm/tegra/mipi-phy.c 	    (timing->hssettle > 145 + 10 * period))
period            109 drivers/gpu/drm/tegra/mipi-phy.c 	if (timing->hsskip < 40 || timing->hsskip > 55 + 4 * period)
period            112 drivers/gpu/drm/tegra/mipi-phy.c 	if (timing->hstrail < max(8 * period, 60 + 4 * period))
period             44 drivers/gpu/drm/tegra/mipi-phy.h 				 unsigned long period);
period             46 drivers/gpu/drm/tegra/mipi-phy.h 			      unsigned long period);
period           1907 drivers/hid/hid-logitech-hidpp.c 		params[10] = effect->u.periodic.period >> 8;
period           1908 drivers/hid/hid-logitech-hidpp.c 		params[11] = effect->u.periodic.period & 255;
period           1921 drivers/hid/hid-logitech-hidpp.c 				effect->u.periodic.period,
period             17 drivers/hid/hid-roccat-kone.h 	uint16_t period; /* in milliseconds */
period            346 drivers/hid/usbhid/hid-pidff.c 	pidff->set_periodic[PID_PERIOD].value[0] = effect->u.periodic.period;
period            362 drivers/hid/usbhid/hid-pidff.c 	       effect->u.periodic.period != old->u.periodic.period;
period            482 drivers/hwmon/aspeed-pwm-tacho.c 	u16 period, dc_time_on;
period            484 drivers/hwmon/aspeed-pwm-tacho.c 	period = priv->type_pwm_clock_unit[priv->pwm_port_type[index]];
period            485 drivers/hwmon/aspeed-pwm-tacho.c 	period += 1;
period            486 drivers/hwmon/aspeed-pwm-tacho.c 	dc_time_on = (fan_ctrl * period) / PWM_MAX;
period            491 drivers/hwmon/aspeed-pwm-tacho.c 		if (dc_time_on == period)
period             72 drivers/hwmon/pwm-fan.c 	unsigned long period;
period             81 drivers/hwmon/pwm-fan.c 	period = ctx->pwm->args.period;
period             82 drivers/hwmon/pwm-fan.c 	state.duty_cycle = DIV_ROUND_UP(pwm * (period - 1), MAX_PWM);
period            333 drivers/hwmon/pwm-fan.c 	state.duty_cycle = ctx->pwm->args.period - 1;
period            403 drivers/hwmon/pwm-fan.c 		ret = pwm_config(ctx->pwm, 0, args.period);
period            440 drivers/hwmon/pwm-fan.c 	duty = DIV_ROUND_UP(ctx->pwm_value * (pargs.period - 1), MAX_PWM);
period            441 drivers/hwmon/pwm-fan.c 	ret = pwm_config(ctx->pwm, duty, pargs.period);
period            102 drivers/hwmon/ultra45_env.c 	int rpm, period;
period            106 drivers/hwmon/ultra45_env.c 	period = (int) val << 8;
period            107 drivers/hwmon/ultra45_env.c 	if (FAN_DATA_VALID(period))
period            108 drivers/hwmon/ultra45_env.c 		rpm = FAN_PERIOD_TO_RPM(period);
period            121 drivers/hwmon/ultra45_env.c 	int period;
period            132 drivers/hwmon/ultra45_env.c 	period = FAN_RPM_TO_PERIOD(rpm);
period            133 drivers/hwmon/ultra45_env.c 	val = period >> 8;
period            224 drivers/iio/adc/dln2-adc.c 	unsigned int channel, unsigned int period)
period            230 drivers/iio/adc/dln2-adc.c 		__le16 period;
period            236 drivers/iio/adc/dln2-adc.c 		.type = period ? DLN2_ADC_EVENT_ALWAYS : DLN2_ADC_EVENT_NONE,
period            237 drivers/iio/adc/dln2-adc.c 		.period = cpu_to_le16(period)
period            534 drivers/iio/adc/ti-ads1015.c 	int period;
period            549 drivers/iio/adc/ti-ads1015.c 		period = ads1015_comp_queue[comp_queue] *
period            552 drivers/iio/adc/ti-ads1015.c 		*val = period / USEC_PER_SEC;
period            553 drivers/iio/adc/ti-ads1015.c 		*val2 = period % USEC_PER_SEC;
period            574 drivers/iio/adc/ti-ads1015.c 	long long period;
period            593 drivers/iio/adc/ti-ads1015.c 		period = val * USEC_PER_SEC + val2;
period            596 drivers/iio/adc/ti-ads1015.c 			if (period <= ads1015_comp_queue[i] *
period            464 drivers/iio/light/ltr501.c 	unsigned long period;
period            470 drivers/iio/light/ltr501.c 	period = ((val * 1000000) + val2);
period            479 drivers/iio/light/ltr501.c 		if (period < samp_period)
period            482 drivers/iio/light/ltr501.c 		new_val = DIV_ROUND_UP(period, samp_period);
period            490 drivers/iio/light/ltr501.c 			data->als_period = period;
period            499 drivers/iio/light/ltr501.c 		if (period < samp_period)
period            502 drivers/iio/light/ltr501.c 		new_val = DIV_ROUND_UP(period, samp_period);
period            510 drivers/iio/light/ltr501.c 			data->ps_period = period;
period            226 drivers/iio/light/tcs3472.c 	unsigned int period;
period            237 drivers/iio/light/tcs3472.c 		period = (256 - data->atime) * 2400 *
period            239 drivers/iio/light/tcs3472.c 		*val = period / USEC_PER_SEC;
period            240 drivers/iio/light/tcs3472.c 		*val2 = period % USEC_PER_SEC;
period            261 drivers/iio/light/tcs3472.c 	int period;
period            288 drivers/iio/light/tcs3472.c 		period = val * USEC_PER_SEC + val2;
period            290 drivers/iio/light/tcs3472.c 			if (period <= (256 - data->atime) * 2400 *
period             26 drivers/iio/trigger/iio-trig-hrtimer.c 	ktime_t period;
period             62 drivers/iio/trigger/iio-trig-hrtimer.c 	info->period = NSEC_PER_SEC / val;
period             91 drivers/iio/trigger/iio-trig-hrtimer.c 	hrtimer_forward_now(timer, info->period);
period            104 drivers/iio/trigger/iio-trig-hrtimer.c 		hrtimer_start(&trig_info->timer, trig_info->period,
period            139 drivers/iio/trigger/iio-trig-hrtimer.c 	trig_info->period = NSEC_PER_SEC / trig_info->sampling_frequency;
period           2605 drivers/infiniband/hw/bnxt_re/ib_verbs.c 	cq->cq_period = cq->qplib_cq.period;
period           2616 drivers/infiniband/hw/bnxt_re/ib_verbs.c 		resp.phase = cq->qplib_cq.period;
period           1980 drivers/infiniband/hw/bnxt_re/qplib_fp.c 	cq->period = BNXT_QPLIB_QUEUE_START_PERIOD;
period            377 drivers/infiniband/hw/bnxt_re/qplib_fp.h 	u16				period;
period             69 drivers/input/ff-core.c 		effect->u.periodic.period = 50;
period             27 drivers/input/input-compat.h 	__u16 period;
period           2124 drivers/input/input.c void input_enable_softrepeat(struct input_dev *dev, int delay, int period)
period           2128 drivers/input/input.c 	dev->rep[REP_PERIOD] = period;
period             50 drivers/input/joystick/iforce/iforce-ff.c 	__s16 magnitude, __s16 offset, u16 period, u16 phase)
period             54 drivers/input/joystick/iforce/iforce-ff.c 	period = TIME_SCALE(period);
period             74 drivers/input/joystick/iforce/iforce-ff.c 	data[5] = LO(period);
period             75 drivers/input/joystick/iforce/iforce-ff.c 	data[6] = HI(period);
period            266 drivers/input/joystick/iforce/iforce-ff.c 	return (old->u.periodic.period != new->u.periodic.period
period            353 drivers/input/joystick/iforce/iforce-ff.c 			effect->u.periodic.period, effect->u.periodic.phase);
period            535 drivers/input/keyboard/atkbd.c 	const short period[32] =
period            545 drivers/input/keyboard/atkbd.c 	while (i < ARRAY_SIZE(period) - 1 && period[i] < dev->rep[REP_PERIOD])
period            547 drivers/input/keyboard/atkbd.c 	dev->rep[REP_PERIOD] = period[i];
period             74 drivers/input/misc/max77693-haptic.c 	delta = (pargs.period + haptic->pwm_duty) / 2;
period             75 drivers/input/misc/max77693-haptic.c 	error = pwm_config(haptic->pwm_dev, delta, pargs.period);
period            249 drivers/input/misc/max77693-haptic.c 	period_mag_multi = (u64)pargs.period * haptic->magnitude;
period             23 drivers/input/misc/pwm-beeper.c 	unsigned long period;
period             31 drivers/input/misc/pwm-beeper.c static int pwm_beeper_on(struct pwm_beeper *beeper, unsigned long period)
period             39 drivers/input/misc/pwm-beeper.c 	state.period = period;
period             72 drivers/input/misc/pwm-beeper.c 	unsigned long period = READ_ONCE(beeper->period);
period             74 drivers/input/misc/pwm-beeper.c 	if (period)
period             75 drivers/input/misc/pwm-beeper.c 		pwm_beeper_on(beeper, period);
period             99 drivers/input/misc/pwm-beeper.c 		beeper->period = 0;
period            101 drivers/input/misc/pwm-beeper.c 		beeper->period = HZ_TO_NANOSECONDS(value);
period            101 drivers/leds/leds-lp3944.c static int lp3944_dim_set_period(struct i2c_client *client, u8 dim, u16 period)
period            115 drivers/leds/leds-lp3944.c 	if (period > LP3944_PERIOD_MAX)
period            118 drivers/leds/leds-lp3944.c 	psc_value = (period * 255) / LP3944_PERIOD_MAX;
period            228 drivers/leds/leds-lp3944.c 	u16 period;
period            245 drivers/leds/leds-lp3944.c 	period = (*delay_on) + (*delay_off);
period            248 drivers/leds/leds-lp3944.c 	duty_cycle = 100 * (*delay_on) / period;
period            263 drivers/leds/leds-lp3944.c 	err = lp3944_dim_set_period(led->client, LP3944_DIM0, period);
period            247 drivers/leds/leds-mt6323.c 	unsigned long period;
period            255 drivers/leds/leds-mt6323.c 	period = *delay_on + *delay_off;
period            257 drivers/leds/leds-mt6323.c 	if (period > MT6323_MAX_PERIOD)
period            275 drivers/leds/leds-mt6323.c 	duty_hw = MT6323_CAL_HW_DUTY(*delay_on, period);
period            301 drivers/leds/leds-mt6323.c 				 MT6323_ISINK_DIM_FSEL(period - 1));
period            231 drivers/leds/leds-pca963x.c 	unsigned long time_on, time_off, period;
period            245 drivers/leds/leds-pca963x.c 	period = pca963x_period_scale(pca963x, time_on + time_off);
period            248 drivers/leds/leds-pca963x.c 	if ((period < PCA963X_BLINK_PERIOD_MIN) ||
period            249 drivers/leds/leds-pca963x.c 	    (period > PCA963X_BLINK_PERIOD_MAX)) {
period            252 drivers/leds/leds-pca963x.c 		period = pca963x_period_scale(pca963x, 1000);
period            260 drivers/leds/leds-pca963x.c 	gdc = (pca963x_period_scale(pca963x, time_on) * 256) / period;
period            267 drivers/leds/leds-pca963x.c 	gfrq = (period * 24 / 1000) - 1;
period             26 drivers/leds/leds-pwm.c 	unsigned int		period;
period             39 drivers/leds/leds-pwm.c 	pwm_config(led_dat->pwm, new_duty, led_dat->period);
period             53 drivers/leds/leds-pwm.c 	unsigned long long duty =  led_dat->period;
period             59 drivers/leds/leds-pwm.c 		duty = led_dat->period - duty;
period            104 drivers/leds/leds-pwm.c 	led_data->period = pargs.period;
period            105 drivers/leds/leds-pwm.c 	if (!led_data->period && (led->pwm_period_ns > 0))
period            106 drivers/leds/leds-pwm.c 		led_data->period = led->pwm_period_ns;
period             27 drivers/leds/trigger/ledtrig-heartbeat.c 	unsigned int period;
period             59 drivers/leds/trigger/ledtrig-heartbeat.c 		heartbeat_data->period = 300 +
period             61 drivers/leds/trigger/ledtrig-heartbeat.c 		heartbeat_data->period =
period             62 drivers/leds/trigger/ledtrig-heartbeat.c 			msecs_to_jiffies(heartbeat_data->period);
period             69 drivers/leds/trigger/ledtrig-heartbeat.c 		delay = heartbeat_data->period / 4 - msecs_to_jiffies(70);
period             81 drivers/leds/trigger/ledtrig-heartbeat.c 		delay = heartbeat_data->period - heartbeat_data->period / 4 -
period             77 drivers/md/md-faulty.c 	int period[Modes];
period             87 drivers/md/md-faulty.c 	if (conf->period[mode] == 0 &&
period             93 drivers/md/md-faulty.c 		if (conf->period[mode])
period             94 drivers/md/md-faulty.c 			atomic_set(&conf->counters[mode], conf->period[mode]);
period            228 drivers/md/md-faulty.c 			   n, conf->period[WriteTransient]);
period            232 drivers/md/md-faulty.c 			   n, conf->period[ReadTransient]);
period            236 drivers/md/md-faulty.c 			   n, conf->period[WritePersistent]);
period            240 drivers/md/md-faulty.c 			   n, conf->period[ReadPersistent]);
period            245 drivers/md/md-faulty.c 			   n, conf->period[ReadFixable]);
period            269 drivers/md/md-faulty.c 			conf->period[i] = 0;
period            273 drivers/md/md-faulty.c 		conf->period[mode] = count;
period            309 drivers/md/md-faulty.c 		conf->period[i] = 0;
period           1522 drivers/media/dvb-frontends/cxd2841er.c 	u32 period;
period           1546 drivers/media/dvb-frontends/cxd2841er.c 		period = (u32)(1 << (data[0] & 0x0F));
period           1547 drivers/media/dvb-frontends/cxd2841er.c 		if (period == 0) {
period           1552 drivers/media/dvb-frontends/cxd2841er.c 		if (*bit_error > (period * 64800)) {
period           1555 drivers/media/dvb-frontends/cxd2841er.c 				__func__, *bit_error, period);
period           1558 drivers/media/dvb-frontends/cxd2841er.c 		*bit_count = period * 64800;
period           1620 drivers/media/dvb-frontends/cxd2841er.c 	u32 period;
period           1637 drivers/media/dvb-frontends/cxd2841er.c 	period = ((data[0] & 0x07) == 0) ? 256 : (4096 << (data[0] & 0x07));
period           1644 drivers/media/dvb-frontends/cxd2841er.c 	*bit_count = period / 128;
period           6216 drivers/media/dvb-frontends/drx39xyj/drxj.c 	u16 period = 0;
period           6229 drivers/media/dvb-frontends/drx39xyj/drxj.c 	period = FEC_RS_MEASUREMENT_PERIOD;
period           6233 drivers/media/dvb-frontends/drx39xyj/drxj.c 	if (period * prescale == 0) {
period           6238 drivers/media/dvb-frontends/drx39xyj/drxj.c 	*pck_count = period * prescale * 77;
period           6255 drivers/media/dvb-frontends/drx39xyj/drxj.c 	u16 period = 0;
period           6265 drivers/media/dvb-frontends/drx39xyj/drxj.c 	period = FEC_RS_MEASUREMENT_PERIOD;
period           6272 drivers/media/dvb-frontends/drx39xyj/drxj.c 	*cnt = period * prescale * 207 * ((bit_errors_exp > 2) ? 1 : 8);
period           6277 drivers/media/dvb-frontends/drx39xyj/drxj.c 		if (period * prescale == 0) {
period             74 drivers/media/pci/cx88/cx88-dsp.c 	u16 period = x / INT_PI;
period             76 drivers/media/pci/cx88/cx88-dsp.c 	if (period % 2)
period            122 drivers/media/platform/sti/hva/hva-debugfs.c 	u32 period;
period            133 drivers/media/platform/sti/hva/hva-debugfs.c 		period = (u32)div;
period            134 drivers/media/platform/sti/hva/hva-debugfs.c 		dbg->min_period = min(period, dbg->min_period);
period            135 drivers/media/platform/sti/hva/hva-debugfs.c 		dbg->max_period = max(period, dbg->max_period);
period            136 drivers/media/platform/sti/hva/hva-debugfs.c 		dbg->total_period += period;
period            143 drivers/media/platform/sti/hva/hva-debugfs.c 		dbg->window_duration += period;
period            320 drivers/media/rc/ene_ir.c 	int period = ene_read_reg(dev, ENE_CIRCAR_PRD);
period            323 drivers/media/rc/ene_ir.c 	if (!(period & ENE_CIRCAR_PRD_VALID))
period            326 drivers/media/rc/ene_ir.c 	period &= ~ENE_CIRCAR_PRD_VALID;
period            328 drivers/media/rc/ene_ir.c 	if (!period)
period            331 drivers/media/rc/ene_ir.c 	dbg("RX: hardware carrier period = %02x", period);
period            334 drivers/media/rc/ene_ir.c 	carrier = 2000000 / period;
period            335 drivers/media/rc/ene_ir.c 	duty_cycle = (hperiod * 100) / period;
period            880 drivers/media/rc/ene_ir.c 	u32 period;
period            886 drivers/media/rc/ene_ir.c 	period = 2000000 / carrier;
period            887 drivers/media/rc/ene_ir.c 	if (period && (period > ENE_CIRMOD_PRD_MAX ||
period            888 drivers/media/rc/ene_ir.c 			period < ENE_CIRMOD_PRD_MIN)) {
period            895 drivers/media/rc/ene_ir.c 	dev->tx_period = period;
period             46 drivers/media/rc/ir-rx51.c 	int duty, period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, ir_rx51->freq);
period             48 drivers/media/rc/ir-rx51.c 	duty = DIV_ROUND_CLOSEST(ir_rx51->duty_cycle * period, 100);
period             50 drivers/media/rc/ir-rx51.c 	pwm_config(pwm, duty, period);
period            603 drivers/media/rc/mceusb.c 	u32 carrier, period;
period            704 drivers/media/rc/mceusb.c 			period = DIV_ROUND_CLOSEST((1U << data[0] * 2) *
period            706 drivers/media/rc/mceusb.c 			if (!period)
period            708 drivers/media/rc/mceusb.c 			carrier = (1000 * 1000) / period;
period            710 drivers/media/rc/mceusb.c 				 inout, carrier, period);
period            721 drivers/media/rc/mceusb.c 			period = ((data[0] << 8) | data[1]) *
period            724 drivers/media/rc/mceusb.c 				 inout, period);
period             56 drivers/media/rc/pwm-ir-tx.c 	int i, duty, period;
period             60 drivers/media/rc/pwm-ir-tx.c 	period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, pwm_ir->carrier);
period             61 drivers/media/rc/pwm-ir-tx.c 	duty = DIV_ROUND_CLOSEST(pwm_ir->duty_cycle * period, 100);
period             63 drivers/media/rc/pwm-ir-tx.c 	pwm_config(pwm, duty, period);
period            473 drivers/media/usb/cpia2/cpia2_v4l.c 	struct v4l2_fract period;
period            498 drivers/media/usb/cpia2/cpia2_v4l.c 			cap->timeperframe = framerate_controls[i].period;
period            523 drivers/media/usb/cpia2/cpia2_v4l.c 		struct v4l2_fract f2 = framerate_controls[i].period;
period            532 drivers/media/usb/cpia2/cpia2_v4l.c 	cap->timeperframe = framerate_controls[i].period;
period            590 drivers/media/usb/cpia2/cpia2_v4l.c 	fival->discrete = framerate_controls[fival->index].period;
period            316 drivers/media/usb/em28xx/em28xx-audio.c 				     dev->adev.period * 95 / 100,
period            317 drivers/media/usb/em28xx/em28xx-audio.c 				     dev->adev.period * 105 / 100);
period            840 drivers/media/usb/em28xx/em28xx-audio.c 	dev->adev.period = urb_size * npackets;
period            617 drivers/media/usb/em28xx/em28xx.h 	size_t period;
period            862 drivers/message/fusion/mptspi.c 	u32 period;
period            903 drivers/message/fusion/mptspi.c 	period = (nego_parms & MPI_SCSIDEVPAGE1_RP_MIN_SYNC_PERIOD_MASK) >>
period            905 drivers/message/fusion/mptspi.c 	if (period == 8) {
period            959 drivers/message/fusion/mptspi.c static void mptspi_write_period(struct scsi_target *starget, int period)
period            964 drivers/message/fusion/mptspi.c 	if (period < 8)
period            965 drivers/message/fusion/mptspi.c 		period = 8;
period            967 drivers/message/fusion/mptspi.c 	if (period > 255)
period            968 drivers/message/fusion/mptspi.c 		period = 255;
period            973 drivers/message/fusion/mptspi.c 	if (period == 8) {
period            976 drivers/message/fusion/mptspi.c 	} else if (period == 9) {
period            980 drivers/message/fusion/mptspi.c 	spi_period(starget) = period;
period            581 drivers/mfd/max77620.c 	int period = max77620_get_fps_period_reg_value(chip, time_period);
period            586 drivers/mfd/max77620.c 				 period << MAX77620_FPS_TIME_PERIOD_SHIFT);
period            143 drivers/mmc/core/sdio_irq.c 	unsigned long period, idle_period;
period            155 drivers/mmc/core/sdio_irq.c 	period = (host->caps & MMC_CAP_SDIO_IRQ) ?
period            159 drivers/mmc/core/sdio_irq.c 		 mmc_hostname(host), period);
period            200 drivers/mmc/core/sdio_irq.c 				period /= 2;
period            202 drivers/mmc/core/sdio_irq.c 				period++;
period            203 drivers/mmc/core/sdio_irq.c 				if (period > idle_period)
period            204 drivers/mmc/core/sdio_irq.c 					period = idle_period;
period            212 drivers/mmc/core/sdio_irq.c 			schedule_timeout(period);
period             29 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c #define TO_CYCLES(duration, period) DIV_ROUND_UP_ULL(duration, period)
period           4407 drivers/mtd/nand/raw/nand_base.c static int nand_id_has_period(u8 *id_data, int arrlen, int period)
period           4410 drivers/mtd/nand/raw/nand_base.c 	for (i = 0; i < period; i++)
period           4411 drivers/mtd/nand/raw/nand_base.c 		for (j = i + period; j < arrlen; j += period)
period           4427 drivers/mtd/nand/raw/nand_base.c 	int last_nonzero, period;
period           4439 drivers/mtd/nand/raw/nand_base.c 	for (period = 1; period < arrlen; period++)
period           4440 drivers/mtd/nand/raw/nand_base.c 		if (nand_id_has_period(id_data, arrlen, period))
period           4444 drivers/mtd/nand/raw/nand_base.c 	if (period < arrlen)
period           4445 drivers/mtd/nand/raw/nand_base.c 		return period;
period            784 drivers/mtd/nand/raw/tegra_nand.c 	unsigned int period = DIV_ROUND_UP(1000000, rate);
period            788 drivers/mtd/nand/raw/tegra_nand.c 				timings->tRC_min), period);
period            793 drivers/mtd/nand/raw/tegra_nand.c 			   period);
period            797 drivers/mtd/nand/raw/tegra_nand.c 			   period);
period            800 drivers/mtd/nand/raw/tegra_nand.c 	reg |= TIMING_TWB(OFFSET(DIV_ROUND_UP(timings->tWB_max, period), 1));
period            801 drivers/mtd/nand/raw/tegra_nand.c 	reg |= TIMING_TWHR(OFFSET(DIV_ROUND_UP(timings->tWHR_min, period), 1));
period            802 drivers/mtd/nand/raw/tegra_nand.c 	reg |= TIMING_TWH(OFFSET(DIV_ROUND_UP(timings->tWH_min, period), 1));
period            803 drivers/mtd/nand/raw/tegra_nand.c 	reg |= TIMING_TWP(OFFSET(DIV_ROUND_UP(timings->tWP_min, period), 1));
period            804 drivers/mtd/nand/raw/tegra_nand.c 	reg |= TIMING_TRH(OFFSET(DIV_ROUND_UP(timings->tREH_min, period), 1));
period            808 drivers/mtd/nand/raw/tegra_nand.c 	val = DIV_ROUND_UP(timings->tADL_min, period);
period            361 drivers/net/ethernet/amd/xgbe/xgbe-drv.c static bool xgbe_ecc_sec(struct xgbe_prv_data *pdata, unsigned long *period,
period            364 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	if (time_before(jiffies, *period)) {
period            367 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		*period = jiffies + (ecc_sec_period * HZ);
period            386 drivers/net/ethernet/amd/xgbe/xgbe-drv.c static bool xgbe_ecc_ded(struct xgbe_prv_data *pdata, unsigned long *period,
period            389 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	if (time_before(jiffies, *period)) {
period            392 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		*period = jiffies + (ecc_ded_period * HZ);
period           13793 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	int val, period, period1, period2, dif, dif1, dif2;
period           13834 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			period = (dif1 < dif2) ? period1 : period2;
period           13838 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 				best_period = period;
period           6300 drivers/net/ethernet/broadcom/tg3.c 			if (rq->perout.period.sec || rq->perout.period.nsec) {
period           3425 drivers/net/ethernet/chelsio/cxgb4/sge.c 	unsigned long m, period;
period           3468 drivers/net/ethernet/chelsio/cxgb4/sge.c 		period = 2;
period           3473 drivers/net/ethernet/chelsio/cxgb4/sge.c 		period = TX_QCHECK_PERIOD;
period           3476 drivers/net/ethernet/chelsio/cxgb4/sge.c 	mod_timer(&s->tx_timer, jiffies + period);
period            536 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c 	u32 period;
period            540 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c 	qman_portal_get_iperiod(portal, &period);
period            543 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c 	c->rx_coalesce_usecs = period;
period            556 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c 	u32 period, prev_period;
period            563 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c 	period = c->rx_coalesce_usecs;
period            574 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c 		res = qman_portal_set_iperiod(portal, period);
period            567 drivers/net/ethernet/intel/igb/igb.h 		struct timespec64 period;
period           6471 drivers/net/ethernet/intel/igb/igb_main.c 				    adapter->perout[0].period);
period           6486 drivers/net/ethernet/intel/igb/igb_main.c 				    adapter->perout[1].period);
period            577 drivers/net/ethernet/intel/igb/igb_ptp.c 		ts.tv_sec = rq->perout.period.sec;
period            578 drivers/net/ethernet/intel/igb/igb_ptp.c 		ts.tv_nsec = rq->perout.period.nsec;
period            626 drivers/net/ethernet/intel/igb/igb_ptp.c 			igb->perout[i].period.tv_sec = ts.tv_sec;
period            627 drivers/net/ethernet/intel/igb/igb_ptp.c 			igb->perout[i].period.tv_nsec = ts.tv_nsec;
period            170 drivers/net/ethernet/mellanox/mlx4/cq.c 		   u16 count, u16 period)
period            182 drivers/net/ethernet/mellanox/mlx4/cq.c 	cq_context->cq_period    = cpu_to_be16(period);
period           1451 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	unsigned long period = (unsigned long) (jiffies - priv->last_moder_jiffies);
period           1463 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 	if (!priv->adaptive_rx_coal || period < priv->sample_interval * HZ)
period           1475 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 		rate = packets * HZ / period;
period            321 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 		ts.tv_sec = rq->perout.period.sec;
period            322 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 		ts.tv_nsec = rq->perout.period.nsec;
period           1360 drivers/net/ethernet/micrel/ksz884x.c 	int period;
period           4329 drivers/net/ethernet/micrel/ksz884x.c static void ksz_init_timer(struct ksz_timer_info *info, int period,
period           4333 drivers/net/ethernet/micrel/ksz884x.c 	info->period = period;
period           4342 drivers/net/ethernet/micrel/ksz884x.c 			info->timer.expires = jiffies + info->period;
period           4347 drivers/net/ethernet/micrel/ksz884x.c 		info->timer.expires = jiffies + info->period;
period           5557 drivers/net/ethernet/micrel/ksz884x.c 				hw_priv->mib_timer_info.period);
period           5563 drivers/net/ethernet/micrel/ksz884x.c 		priv->monitor_timer_info.period);
period            478 drivers/net/ethernet/microchip/lan743x_ptp.c 	period_sec = perout->period.sec;
period            479 drivers/net/ethernet/microchip/lan743x_ptp.c 	period_sec += perout->period.nsec / 1000000000;
period            480 drivers/net/ethernet/microchip/lan743x_ptp.c 	period_nsec = perout->period.nsec % 1000000000;
period            280 drivers/net/ethernet/qlogic/qed/qed_ptp.c 	s64 best_val = 0, val, best_period = 0, period, approx_dev, dif, dif2;
period            298 drivers/net/ethernet/qlogic/qed/qed_ptp.c 			period = div_s64(val * 1000000000, ppb);
period            299 drivers/net/ethernet/qlogic/qed/qed_ptp.c 			period -= 8;
period            300 drivers/net/ethernet/qlogic/qed/qed_ptp.c 			period >>= 4;
period            301 drivers/net/ethernet/qlogic/qed/qed_ptp.c 			if (period < 1)
period            302 drivers/net/ethernet/qlogic/qed/qed_ptp.c 				period = 1;
period            303 drivers/net/ethernet/qlogic/qed/qed_ptp.c 			if (period > 0xFFFFFFE)
period            304 drivers/net/ethernet/qlogic/qed/qed_ptp.c 				period = 0xFFFFFFE;
period            307 drivers/net/ethernet/qlogic/qed/qed_ptp.c 			approx_dev = period * 16 + 8;
period            318 drivers/net/ethernet/qlogic/qed/qed_ptp.c 				period++;
period            327 drivers/net/ethernet/qlogic/qed/qed_ptp.c 				best_period = period;
period            972 drivers/net/ethernet/renesas/ravb.h 	u32 period;
period            233 drivers/net/ethernet/renesas/ravb_ptp.c 		period_ns = req->period.sec * NSEC_PER_SEC + req->period.nsec;
period            251 drivers/net/ethernet/renesas/ravb_ptp.c 		perout->period = (u32)period_ns;
period            264 drivers/net/ethernet/renesas/ravb_ptp.c 		perout->period = 0;
period            321 drivers/net/ethernet/renesas/ravb_ptp.c 		if (perout->period) {
period            322 drivers/net/ethernet/renesas/ravb_ptp.c 			perout->target += perout->period;
period           1249 drivers/net/ethernet/sfc/mcdi_port.c 	int period = action == EFX_STATS_ENABLE ? 1000 : 0;
period           1264 drivers/net/ethernet/sfc/mcdi_port.c 			      MAC_STATS_IN_PERIOD_MS, period);
period            505 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	u64 period;
period            533 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	period = cfg->period.tv_sec * 1000000000;
period            534 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	period += cfg->period.tv_nsec;
period            536 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	do_div(period, sub_second_inc);
period            538 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	if (period <= 1)
period            541 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	writel(period - 1, ioaddr + MAC_PPSx_INTERVAL(index));
period            543 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	period >>= 1;
period            544 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	if (period <= 1)
period            547 drivers/net/ethernet/stmicro/stmmac/dwmac5.c 	writel(period - 1, ioaddr + MAC_PPSx_WIDTH(index));
period           1085 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	u64 period;
period           1112 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	period = cfg->period.tv_sec * 1000000000;
period           1113 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	period += cfg->period.tv_nsec;
period           1115 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	do_div(period, sub_second_inc);
period           1117 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	if (period <= 1)
period           1120 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	writel(period - 1, ioaddr + XGMAC_PPSx_INTERVAL(index));
period           1122 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	period >>= 1;
period           1123 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	if (period <= 1)
period           1126 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 	writel(period - 1, ioaddr + XGMAC_PPSx_WIDTH(index));
period            122 drivers/net/ethernet/stmicro/stmmac/stmmac.h 	struct timespec64 period;
period            151 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 		cfg->period.tv_sec = rq->perout.period.sec;
period            152 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 		cfg->period.tv_nsec = rq->perout.period.nsec;
period            331 drivers/net/phy/dp83640.c 	pwidth = clkreq->perout.period.sec * 1000000000UL;
period            332 drivers/net/phy/dp83640.c 	pwidth += clkreq->perout.period.nsec;
period           3716 drivers/net/usb/lan78xx.c 	unsigned period;
period           3780 drivers/net/usb/lan78xx.c 	period = dev->ep_intr->desc.bInterval;
period           3793 drivers/net/usb/lan78xx.c 					 intr_complete, dev, period);
period            208 drivers/net/usb/usbnet.c 	unsigned	period;
period            219 drivers/net/usb/usbnet.c 	period = max ((int) dev->status->desc.bInterval,
period            230 drivers/net/usb/usbnet.c 				buf, maxp, intr_complete, dev, period);
period            234 drivers/net/usb/usbnet.c 				usb_pipeendpoint(pipe), maxp, period);
period           1393 drivers/net/wireless/ath/ath10k/debug.c 	unsigned long period;
period           1396 drivers/net/wireless/ath/ath10k/debug.c 	ret = kstrtoul_from_user(user_buf, count, 0, &period);
period           1400 drivers/net/wireless/ath/ath10k/debug.c 	if (period > WMI_PDEV_PARAM_CAL_PERIOD_MAX)
period           1404 drivers/net/wireless/ath/ath10k/debug.c 	if (period == 0)
period           1409 drivers/net/wireless/ath/ath10k/debug.c 	ar->debug.nf_cal_period = period;
period           1920 drivers/net/wireless/ath/ath10k/debug.c 	u32 period;
period           1922 drivers/net/wireless/ath/ath10k/debug.c 	if (kstrtouint_from_user(ubuf, count, 0, &period))
period           1925 drivers/net/wireless/ath/ath10k/debug.c 	if (period < ATH10K_QUIET_PERIOD_MIN) {
period           1927 drivers/net/wireless/ath/ath10k/debug.c 			    period);
period           1931 drivers/net/wireless/ath/ath10k/debug.c 	ar->thermal.quiet_period = period;
period            127 drivers/net/wireless/ath/ath10k/thermal.c 	u32 period, duration, enabled;
period            141 drivers/net/wireless/ath/ath10k/thermal.c 	period = ar->thermal.quiet_period;
period            142 drivers/net/wireless/ath/ath10k/thermal.c 	duration = (period * ar->thermal.throttle_state) / 100;
period            145 drivers/net/wireless/ath/ath10k/thermal.c 	ret = ath10k_wmi_pdev_set_quiet_mode(ar, period, duration,
period            150 drivers/net/wireless/ath/ath10k/thermal.c 			    period, duration, enabled, ret);
period            141 drivers/net/wireless/ath/ath10k/wmi-ops.h 						   u32 period, u32 duration,
period           1130 drivers/net/wireless/ath/ath10k/wmi-ops.h ath10k_wmi_pdev_set_quiet_mode(struct ath10k *ar, u32 period, u32 duration,
period           1138 drivers/net/wireless/ath/ath10k/wmi-ops.h 	skb = ar->wmi.ops->gen_pdev_set_quiet_mode(ar, period, duration,
period           3406 drivers/net/wireless/ath/ath10k/wmi-tlv.c ath10k_wmi_tlv_op_gen_pdev_set_quiet_mode(struct ath10k *ar, u32 period,
period           3425 drivers/net/wireless/ath/ath10k/wmi-tlv.c 	cmd->period = __cpu_to_le32(period);
period           3432 drivers/net/wireless/ath/ath10k/wmi-tlv.c 		   period, duration, enabled);
period           2062 drivers/net/wireless/ath/ath10k/wmi-tlv.h 	__le32 period;
period           7925 drivers/net/wireless/ath/ath10k/wmi.c ath10k_wmi_op_gen_pdev_set_quiet_mode(struct ath10k *ar, u32 period,
period           7937 drivers/net/wireless/ath/ath10k/wmi.c 	cmd->period = __cpu_to_le32(period);
period           7944 drivers/net/wireless/ath/ath10k/wmi.c 		   period, duration, enabled);
period           3631 drivers/net/wireless/ath/ath10k/wmi.h 	__le32 period;
period            527 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		      AR_PHY_SPECTRAL_SCAN_PERIOD, param->period);
period           1776 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		      AR_PHY_SPECTRAL_SCAN_PERIOD, param->period);
period            944 drivers/net/wireless/ath/ath9k/common-spectral.c 	len = sprintf(buf, "%d\n", spec_priv->spec_config.period);
period            968 drivers/net/wireless/ath/ath9k/common-spectral.c 	spec_priv->spec_config.period = val;
period            602 drivers/net/wireless/ath/ath9k/htc_drv_init.c 	priv->spec_priv.spec_config.period = 0x12;
period            705 drivers/net/wireless/ath/ath9k/hw.h 	u8 period;
period            445 drivers/net/wireless/ath/ath9k/init.c 	sc->spec_priv.spec_config.period = 0xFF;
period           3035 drivers/net/wireless/ath/wil6210/wmi.h 	__le16 period;
period           5530 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c int brcms_c_set_beacon_period(struct brcms_c_info *wlc, u16 period)
period           5534 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (period == 0)
period           5537 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	wlc->default_bss->beacon_period = period;
period           5539 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	bcnint_us = period << 10;
period            317 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h int brcms_c_set_beacon_period(struct brcms_c_info *wlc, u16 period);
period           7882 drivers/net/wireless/intel/ipw2x00/ipw2100.c 	s32 timeout, period;
period           7899 drivers/net/wireless/intel/ipw2x00/ipw2100.c 			period = period_duration[level - 1] / 1000;
period           7903 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				 level, timeout, period);
period            608 drivers/net/wireless/intel/ipw2x00/libipw.h 	u8 period;
period           1288 drivers/net/wireless/intel/ipw2x00/libipw_rx.c 			network->quiet.period = info_element->data[1];
period            147 drivers/net/wireless/intel/iwlwifi/dvm/power.c 				 enum iwl_power_level lvl, int period)
period            157 drivers/net/wireless/intel/iwlwifi/dvm/power.c 		if (period <= IWL_DTIM_RANGE_1_MAX)
period            159 drivers/net/wireless/intel/iwlwifi/dvm/power.c 		if (period <= IWL_DTIM_RANGE_0_MAX)
period            163 drivers/net/wireless/intel/iwlwifi/dvm/power.c 		if (period <= IWL_DTIM_RANGE_1_MAX)
period            165 drivers/net/wireless/intel/iwlwifi/dvm/power.c 		if (period <= IWL_DTIM_RANGE_0_MAX)
period            174 drivers/net/wireless/intel/iwlwifi/dvm/power.c 	if (period == 0) {
period            176 drivers/net/wireless/intel/iwlwifi/dvm/power.c 		period = 1;
period            191 drivers/net/wireless/intel/iwlwifi/dvm/power.c 			cpu_to_le32(period * (skip + 1));
period            194 drivers/net/wireless/intel/iwlwifi/dvm/power.c 	if (slp_itrvl > period)
period            196 drivers/net/wireless/intel/iwlwifi/dvm/power.c 			cpu_to_le32((slp_itrvl / period) * period);
period            224 drivers/net/wireless/intel/iwlwifi/dvm/power.c 		    (max_sleep[i] * period))
period            226 drivers/net/wireless/intel/iwlwifi/dvm/power.c 				cpu_to_le32(max_sleep[i] * period);
period            241 drivers/net/wireless/intel/iwlwifi/dvm/power.c 			skip, period);
period           1328 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 		__le16 period;
period           1330 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 					 &period, 2, 1) < 0)
period           1334 drivers/net/wireless/intersil/hostap/hostap_ioctl.c 		rrq->value = le16_to_cpu(period) * 1024;
period            673 drivers/net/wireless/intersil/orinoco/wext.c 	u16 enable, period, timeout, mcast;
period            685 drivers/net/wireless/intersil/orinoco/wext.c 				  HERMES_RID_CNFMAXSLEEPDURATION, &period);
period            706 drivers/net/wireless/intersil/orinoco/wext.c 		prq->value = period * 1000;
period            507 drivers/net/wireless/intersil/p54/lmac.h 	__le32 period;
period            912 drivers/net/wireless/marvell/libertas/host.h 			__le16 period;
period            380 drivers/net/wireless/marvell/mwifiex/cmdevt.c 	     !adapter->sleep_period.period)) {
period           1411 drivers/net/wireless/marvell/mwifiex/cmdevt.c 			if (adapter->sleep_period.period)
period           1424 drivers/net/wireless/marvell/mwifiex/cmdevt.c 			if (adapter->sleep_period.period) {
period           2001 drivers/net/wireless/marvell/mwifiex/fw.h 	__le16 period;
period           2006 drivers/net/wireless/marvell/mwifiex/fw.h 	u8 period;
period            467 drivers/net/wireless/marvell/mwifiex/main.h 	u16 period;
period            773 drivers/net/wireless/marvell/mwifiex/sta_event.c 		    priv->media_connected && adapter->sleep_period.period) {
period            230 drivers/net/wireless/marvell/mwifiex/sta_tx.c 	if (!adapter->sleep_period.period)
period            554 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		beacon_period->period = cpu_to_le16(bss_cfg->beacon_period);
period            566 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		dtim_period->period = bss_cfg->dtim_period;
period            264 drivers/net/wireless/marvell/mwifiex/uap_event.c 		    priv->media_connected && adapter->sleep_period.period) {
period             80 drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c 			   &dev->radar_pattern.period);
period           1262 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c 					    i * dev->radar_pattern.period;
period             86 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h 		u32 period;
period            257 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 	pulse->period = mt76_rr(dev, MT_BBP(DFS, 19));
period            272 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 	if (!pulse->period || !pulse->w1)
period            287 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			ret = (pulse->period >= 2900 &&
period            288 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       (pulse->period <= 4700 ||
period            289 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				pulse->period >= 6400) &&
period            290 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       (pulse->period <= 6800 ||
period            291 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				pulse->period >= 10200) &&
period            292 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       pulse->period <= 61600);
period            294 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			ret = (pulse->period >= 2900 &&
period            295 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       pulse->period <= 61600);
period            297 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			ret = (pulse->period >= 3500 &&
period            298 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       pulse->period <= 10100);
period            304 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 		ret = (pulse->period >= 4900 &&
period            305 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 		       (pulse->period <= 10200 ||
period            306 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			pulse->period >= 12400) &&
period            307 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 		       pulse->period <= 100100);
period            314 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				ret = (pulse->period >= 28360 &&
period            315 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				       (pulse->period <= 28700 ||
period            316 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 					pulse->period >= 76900) &&
period            317 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				       pulse->period <= 76940);
period            331 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			ret = (pulse->period >= 2900 &&
period            332 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       (pulse->period <= 4700 ||
period            333 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				pulse->period >= 6400) &&
period            334 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       (pulse->period <= 6800 ||
period            335 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				pulse->period >= 27560) &&
period            336 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       (pulse->period <= 27960 ||
period            337 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				pulse->period >= 28360) &&
period            338 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       (pulse->period <= 28700 ||
period            339 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				pulse->period >= 79900) &&
period            340 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       pulse->period <= 80100);
period            342 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			ret = (pulse->period >= 2900 &&
period            343 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       (pulse->period <= 10100 ||
period            344 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				pulse->period >= 27560) &&
period            345 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       (pulse->period <= 27960 ||
period            346 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				pulse->period >= 28360) &&
period            347 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       (pulse->period <= 28700 ||
period            348 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 				pulse->period >= 79900) &&
period            349 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       pulse->period <= 80100);
period            351 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			ret = (pulse->period >= 3900 &&
period            352 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c 			       pulse->period <= 10100);
period             86 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.h 	u32 period;
period           1676 drivers/net/wireless/st/cw1200/wsm.h 	__le16 period;
period           1681 drivers/net/wireless/st/cw1200/wsm.h 					int period)
period           1684 drivers/net/wireless/st/cw1200/wsm.h 		.period = __cpu_to_le16(period),
period           1195 drivers/net/wireless/ti/wlcore/acx.c 	acx->period = cpu_to_le32(wl->conf.conn.keep_alive_interval);
period           1510 drivers/net/wireless/ti/wlcore/acx.c 		rx_streaming->period = wl->conf.rx_streaming.interval;
period            591 drivers/net/wireless/ti/wlcore/acx.h 	__le32 period;
period            781 drivers/net/wireless/ti/wlcore/acx.h 	u8 period;
period            106 drivers/net/wireless/ti/wlcore/main.c 	int period = wl->conf.rx_streaming.interval;
period            113 drivers/net/wireless/ti/wlcore/main.c 	if (period &&
period            371 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 	beacon_period = mac->beacon.period;
period           1305 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 			u8 period = 0;
period           1308 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 				period = bss_conf->dtim_period;
period           1313 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 			mac->beacon.period = period;
period           1318 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 			zd_set_beacon_interval(&mac->chip, interval, period,
period           1429 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 	int interval, period;
period           1438 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 	period = mac->beacon.period;
period           1447 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 					   interval, period);
period           1458 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 		zd_set_beacon_interval(&mac->chip, interval, period, mac->type);
period            158 drivers/net/wireless/zydas/zd1211rw/zd_mac.h 	u8 period;
period            119 drivers/oprofile/nmi_timer_int.c 	u64 period;
period            122 drivers/oprofile/nmi_timer_int.c 	period = (u64)cpu_khz * 1000;
period            123 drivers/oprofile/nmi_timer_int.c 	do_div(period, HZ);
period            124 drivers/oprofile/nmi_timer_int.c 	nmi_timer_attr.sample_period = period;
period            125 drivers/perf/arm_pmu.c 	s64 period = hwc->sample_period;
period            130 drivers/perf/arm_pmu.c 	if (unlikely(left <= -period)) {
period            131 drivers/perf/arm_pmu.c 		left = period;
period            133 drivers/perf/arm_pmu.c 		hwc->last_period = period;
period            138 drivers/perf/arm_pmu.c 		left += period;
period            140 drivers/perf/arm_pmu.c 		hwc->last_period = period;
period            286 drivers/perf/arm_spe_pmu.c 	u64 period = event->hw.sample_period;
period            290 drivers/perf/arm_spe_pmu.c 	if (period < spe_pmu->min_period)
period            291 drivers/perf/arm_spe_pmu.c 		period = spe_pmu->min_period;
period            292 drivers/perf/arm_spe_pmu.c 	else if (period > max_period)
period            293 drivers/perf/arm_spe_pmu.c 		period = max_period;
period            295 drivers/perf/arm_spe_pmu.c 		period &= max_period;
period            297 drivers/perf/arm_spe_pmu.c 	event->hw.sample_period = period;
period            179 drivers/pinctrl/ti/pinctrl-ti-iodelay.c static inline u32 ti_iodelay_compute_dpe(u16 period, u16 ref, u16 delay,
period            185 drivers/pinctrl/ti/pinctrl-ti-iodelay.c 	m = 10 * (u64)period * (u64)ref;
period            871 drivers/platform/x86/intel_ips.c static u32 get_cpu_power(struct ips_driver *ips, u32 *last, int period)
period            883 drivers/platform/x86/intel_ips.c 	ret = (((val - *last) * 1000) / period);
period            290 drivers/platform/x86/intel_telemetry_pltdrv.c 	ioss_period = evtconfig.period;
period            426 drivers/platform/x86/intel_telemetry_pltdrv.c 	pss_period = evtconfig.period;
period            639 drivers/platform/x86/intel_telemetry_pltdrv.c 	pss_evtconfig.period = TELEM_SAMPLING_DEFAULT_PERIOD;
period            643 drivers/platform/x86/intel_telemetry_pltdrv.c 	ioss_evtconfig.period = TELEM_SAMPLING_DEFAULT_PERIOD;
period            660 drivers/platform/x86/intel_telemetry_pltdrv.c 	    (TELEM_SAMPLE_PERIOD_INVALID(pss_evtconfig.period))) {
period            666 drivers/platform/x86/intel_telemetry_pltdrv.c 	    (TELEM_SAMPLE_PERIOD_INVALID(ioss_evtconfig.period))) {
period            802 drivers/platform/x86/intel_telemetry_pltdrv.c 	pss_evtconfig.period = TELEM_SAMPLING_DEFAULT_PERIOD;
period            806 drivers/platform/x86/intel_telemetry_pltdrv.c 	ioss_evtconfig.period = TELEM_SAMPLING_DEFAULT_PERIOD;
period            831 drivers/platform/x86/intel_telemetry_pltdrv.c 	pss_config->period = telm_conf->pss_config.curr_period;
period            832 drivers/platform/x86/intel_telemetry_pltdrv.c 	ioss_config->period = telm_conf->ioss_config.curr_period;
period            865 drivers/platform/x86/intel_telemetry_pltdrv.c 	pss_evtconfig.period = telm_conf->pss_config.curr_period;
period            869 drivers/platform/x86/intel_telemetry_pltdrv.c 	ioss_evtconfig.period = telm_conf->ioss_config.curr_period;
period            208 drivers/ptp/ptp_chardev.c 		enable = req.perout.period.sec || req.perout.period.nsec;
period            107 drivers/ptp/ptp_sysfs.c 		     &req.perout.period.sec, &req.perout.period.nsec);
period            113 drivers/ptp/ptp_sysfs.c 	enable = req.perout.period.sec || req.perout.period.nsec;
period            122 drivers/ptp/ptp_sysfs.c static DEVICE_ATTR(period, 0220, NULL, period_store);
period            143 drivers/pwm/core.c 	pwm->args.period = args->args[1];
period            173 drivers/pwm/core.c 	pwm->args.period = args->args[1];
period            458 drivers/pwm/core.c 	if (!pwm || !state || !state->period ||
period            459 drivers/pwm/core.c 	    state->duty_cycle > state->period)
period            464 drivers/pwm/core.c 	if (state->period == pwm->state.period &&
period            502 drivers/pwm/core.c 		if (state->period != pwm->state.period ||
period            506 drivers/pwm/core.c 						state->period);
period            511 drivers/pwm/core.c 			pwm->state.period = state->period;
period            582 drivers/pwm/core.c 	if (!state.period) {
period            584 drivers/pwm/core.c 		state.period = pargs.period;
period            594 drivers/pwm/core.c 	if (pargs.period != state.period) {
period            595 drivers/pwm/core.c 		u64 dutycycle = (u64)state.duty_cycle * pargs.period;
period            597 drivers/pwm/core.c 		do_div(dutycycle, state.period);
period            599 drivers/pwm/core.c 		state.period = pargs.period;
period            607 drivers/pwm/core.c 		state.duty_cycle = state.period - state.duty_cycle;
period            811 drivers/pwm/core.c 	pwm->args.period = args.args[1];
period            973 drivers/pwm/core.c 	pwm->args.period = chosen->period;
period           1159 drivers/pwm/core.c 		seq_printf(s, " period: %u ns", state.period);
period             68 drivers/pwm/pwm-atmel-hlcdc.c 		    clk_period_ns > state->period) {
period             84 drivers/pwm/pwm-atmel-hlcdc.c 			if ((clk_period_ns << pres) >= state->period)
period            115 drivers/pwm/pwm-atmel-hlcdc.c 		do_div(pwmcval, state->period);
period             37 drivers/pwm/pwm-atmel-tcb.c 	unsigned period;		/* PWM period expressed in clk cycles */
period             97 drivers/pwm/pwm-atmel-tcb.c 	tcbpwm->period = 0;
period            115 drivers/pwm/pwm-atmel-tcb.c 		tcbpwm->period = __raw_readl(regs + ATMEL_TC_REG(group, RC));
period            250 drivers/pwm/pwm-atmel-tcb.c 	if (tcbpwm->duty != tcbpwm->period && tcbpwm->duty > 0) {
period            273 drivers/pwm/pwm-atmel-tcb.c 	__raw_writel(tcbpwm->period, regs + ATMEL_TC_REG(group, RC));
period            294 drivers/pwm/pwm-atmel-tcb.c 	unsigned period;
period            331 drivers/pwm/pwm-atmel-tcb.c 	period = div_u64(period_ns, min);
period            351 drivers/pwm/pwm-atmel-tcb.c 			atcbpwm->duty != atcbpwm->period) &&
period            352 drivers/pwm/pwm-atmel-tcb.c 		(atcbpwm->div != i || atcbpwm->period != period)) {
period            358 drivers/pwm/pwm-atmel-tcb.c 	tcbpwm->period = period;
period             51 drivers/pwm/pwm-atmel.c 	u8 period;
period            117 drivers/pwm/pwm-atmel.c 	unsigned long long cycles = state->period;
period            142 drivers/pwm/pwm-atmel.c 	do_div(cycles, state->period);
period            172 drivers/pwm/pwm-atmel.c 			    atmel_pwm->data->regs.period, cprd);
period            225 drivers/pwm/pwm-atmel.c 		    cstate.period == state->period) {
period            227 drivers/pwm/pwm-atmel.c 						  atmel_pwm->data->regs.period);
period            281 drivers/pwm/pwm-atmel.c 		.period		= PWMV1_CPRD,
period            295 drivers/pwm/pwm-atmel.c 		.period		= PWMV2_CPRD,
period            309 drivers/pwm/pwm-atmel.c 		.period		= PWMV1_CPRD,
period            110 drivers/pwm/pwm-bcm-iproc.c 	state->period = div64_u64(tmp, rate);
period            122 drivers/pwm/pwm-bcm-iproc.c 	u32 value, period, duty;
period            141 drivers/pwm/pwm-bcm-iproc.c 		value = rate * state->period;
period            142 drivers/pwm/pwm-bcm-iproc.c 		period = div64_u64(value, div);
period            146 drivers/pwm/pwm-bcm-iproc.c 		if (period < IPROC_PWM_PERIOD_MIN ||
period            150 drivers/pwm/pwm-bcm-iproc.c 		if (period <= IPROC_PWM_PERIOD_MAX &&
period            168 drivers/pwm/pwm-bcm-iproc.c 	writel(period, ip->base + IPROC_PWM_PERIOD_OFFSET(pwm->hwpwm));
period             67 drivers/pwm/pwm-bcm2835.c 	u32 period;
period             75 drivers/pwm/pwm-bcm2835.c 	period = DIV_ROUND_CLOSEST(period_ns, scaler);
period             77 drivers/pwm/pwm-bcm2835.c 	if (period < PERIOD_MIN)
period             82 drivers/pwm/pwm-bcm2835.c 	writel(period, pc->base + PERIOD(pwm->hwpwm));
period             95 drivers/pwm/pwm-berlin.c 	u32 value, duty, period;
period            110 drivers/pwm/pwm-berlin.c 	period = cycles;
period            123 drivers/pwm/pwm-berlin.c 	berlin_pwm_writel(pwm, pwm_dev->hwpwm, period, BERLIN_PWM_TCNT);
period             46 drivers/pwm/pwm-clps711x.c 	return DIV_ROUND_CLOSEST(v * 0xf, pwm->args.period);
period             58 drivers/pwm/pwm-clps711x.c 	pwm->args.period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, freq);
period             69 drivers/pwm/pwm-clps711x.c 	if (period_ns != pwm->args.period)
period            102 drivers/pwm/pwm-cros-ec.c 	if (state->period != EC_PWM_MAX_DUTY)
period            127 drivers/pwm/pwm-cros-ec.c 	state->period = EC_PWM_MAX_DUTY;
period            146 drivers/pwm/pwm-cros-ec.c 	pwm->args.period = EC_PWM_MAX_DUTY;
period             49 drivers/pwm/pwm-fsl-ftm.c 	struct fsl_pwm_periodcfg period;
period            125 drivers/pwm/pwm-fsl-ftm.c 	rate = clk_get_rate(fpc->clk[fpc->period.clk_select]);
period            128 drivers/pwm/pwm-fsl-ftm.c 	do_div(exval, rate >> fpc->period.clk_ps);
period            195 drivers/pwm/pwm-fsl-ftm.c 	unsigned int period = fpc->period.mod_period + 1;
period            196 drivers/pwm/pwm-fsl-ftm.c 	unsigned int period_ns = fsl_pwm_ticks_to_ns(fpc, period);
period            198 drivers/pwm/pwm-fsl-ftm.c 	duty = (unsigned long long)duty_ns * period;
period            238 drivers/pwm/pwm-fsl-ftm.c 	if (!fsl_pwm_calculate_period(fpc, newstate->period, &periodcfg)) {
period            251 drivers/pwm/pwm-fsl-ftm.c 	else if (!fsl_pwm_periodcfg_are_equal(&fpc->period, &periodcfg)) {
period            258 drivers/pwm/pwm-fsl-ftm.c 		if (fpc->period.clk_select != periodcfg.clk_select) {
period            260 drivers/pwm/pwm-fsl-ftm.c 			enum fsl_pwm_clk oldclk = fpc->period.clk_select;
period            280 drivers/pwm/pwm-fsl-ftm.c 		fpc->period = periodcfg;
period            323 drivers/pwm/pwm-fsl-ftm.c 			clk_disable_unprepare(fpc->clk[fpc->period.clk_select]);
period            335 drivers/pwm/pwm-fsl-ftm.c 		ret = clk_prepare_enable(fpc->clk[fpc->period.clk_select]);
period            341 drivers/pwm/pwm-fsl-ftm.c 			clk_disable_unprepare(fpc->clk[fpc->period.clk_select]);
period            500 drivers/pwm/pwm-fsl-ftm.c 		clk_disable_unprepare(fpc->clk[fpc->period.clk_select]);
period            522 drivers/pwm/pwm-fsl-ftm.c 		clk_prepare_enable(fpc->clk[fpc->period.clk_select]);
period            103 drivers/pwm/pwm-hibvt.c 	u32 freq, period, duty;
period            107 drivers/pwm/pwm-hibvt.c 	period = div_u64(freq * period_ns, 1000);
period            108 drivers/pwm/pwm-hibvt.c 	duty = div_u64(period * duty_cycle_ns, period_ns);
period            111 drivers/pwm/pwm-hibvt.c 			PWM_PERIOD_MASK, period);
period            142 drivers/pwm/pwm-hibvt.c 	state->period = div_u64(value * 1000, freq);
period            159 drivers/pwm/pwm-hibvt.c 	if (state->period != pwm->state.period ||
period            161 drivers/pwm/pwm-hibvt.c 		hibvt_pwm_config(chip, pwm, state->duty_cycle, state->period);
period             99 drivers/pwm/pwm-imx-tpm.c 	tmp = (u64)state->period * rate;
period            116 drivers/pwm/pwm-imx-tpm.c 	real_state->period = DIV_ROUND_CLOSEST_ULL(tmp, rate);
period            129 drivers/pwm/pwm-imx-tpm.c 	p->val = DIV_ROUND_CLOSEST_ULL(tmp, real_state->period);
period            146 drivers/pwm/pwm-imx-tpm.c 	state->period = tpm->real_period;
period            184 drivers/pwm/pwm-imx-tpm.c 	if (state->period != tpm->real_period) {
period            214 drivers/pwm/pwm-imx-tpm.c 		tpm->real_period = state->period;
period            122 drivers/pwm/pwm-imx27.c 	u32 period, prescaler, pwm_clk, val;
period            152 drivers/pwm/pwm-imx27.c 	period = val >= MX3_PWMPR_MAX ? MX3_PWMPR_MAX : val;
period            155 drivers/pwm/pwm-imx27.c 	tmp = NSEC_PER_SEC * (u64)(period + 2);
period            156 drivers/pwm/pwm-imx27.c 	state->period = DIV_ROUND_CLOSEST_ULL(tmp, pwm_clk);
period            225 drivers/pwm/pwm-imx27.c 		c *= state->period;
period            234 drivers/pwm/pwm-imx27.c 		do_div(c, state->period);
period             95 drivers/pwm/pwm-jz4740.c 	unsigned long period, duty;
period             99 drivers/pwm/pwm-jz4740.c 	tmp = (unsigned long long)clk_get_rate(jz4740->clk) * state->period;
period            101 drivers/pwm/pwm-jz4740.c 	period = tmp;
period            103 drivers/pwm/pwm-jz4740.c 	while (period > 0xffff && prescaler < 6) {
period            104 drivers/pwm/pwm-jz4740.c 		period >>= 2;
period            111 drivers/pwm/pwm-jz4740.c 	tmp = (unsigned long long)period * state->duty_cycle;
period            112 drivers/pwm/pwm-jz4740.c 	do_div(tmp, state->period);
period            113 drivers/pwm/pwm-jz4740.c 	duty = period - tmp;
period            115 drivers/pwm/pwm-jz4740.c 	if (duty >= period)
period            116 drivers/pwm/pwm-jz4740.c 		duty = period - 1;
period            122 drivers/pwm/pwm-jz4740.c 	jz4740_timer_set_period(pwm->hwpwm, period);
period            138 drivers/pwm/pwm-lpss.c 			pwm_lpss_prepare(lpwm, pwm, state->duty_cycle, state->period);
period            150 drivers/pwm/pwm-lpss.c 			pwm_lpss_prepare(lpwm, pwm, state->duty_cycle, state->period);
period            179 drivers/pwm/pwm-lpss.c 		state->period = NSEC_PER_SEC;
period            181 drivers/pwm/pwm-lpss.c 		state->period = NSEC_PER_SEC / (unsigned long)freq;
period            183 drivers/pwm/pwm-lpss.c 	on_time_div *= state->period;
period            165 drivers/pwm/pwm-meson.c 	unsigned int duty, period, pre_div, cnt, duty_cnt;
period            169 drivers/pwm/pwm-meson.c 	period = state->period;
period            172 drivers/pwm/pwm-meson.c 		duty = period - duty;
period            182 drivers/pwm/pwm-meson.c 	pre_div = div64_u64(fin_freq * (u64)period, NSEC_PER_SEC * 0xffffLL);
period            188 drivers/pwm/pwm-meson.c 	cnt = div64_u64(fin_freq * (u64)period, NSEC_PER_SEC * (pre_div + 1));
period            194 drivers/pwm/pwm-meson.c 	dev_dbg(meson->chip.dev, "period=%u pre_div=%u cnt=%u\n", period,
period            197 drivers/pwm/pwm-meson.c 	if (duty == period) {
period            358 drivers/pwm/pwm-meson.c 		state->period = meson_pwm_cnt_to_ns(chip, pwm, channel->hi);
period            359 drivers/pwm/pwm-meson.c 		state->duty_cycle = state->period;
period            361 drivers/pwm/pwm-meson.c 		state->period = meson_pwm_cnt_to_ns(chip, pwm,
period            366 drivers/pwm/pwm-meson.c 		state->period = 0;
period             73 drivers/pwm/pwm-mtk-disp.c 	u32 clk_div, period, high_width, value;
period             94 drivers/pwm/pwm-mtk-disp.c 	period = div64_u64(rate * period_ns, div);
period             95 drivers/pwm/pwm-mtk-disp.c 	if (period > 0)
period             96 drivers/pwm/pwm-mtk-disp.c 		period--;
period             99 drivers/pwm/pwm-mtk-disp.c 	value = period | (high_width << PWM_HIGH_WIDTH_SHIFT);
period            160 drivers/pwm/pwm-pxa.c 	pwm->args.period = args->args[0];
period            177 drivers/pwm/pwm-rcar.c 	div = rcar_pwm_get_clock_division(rp, state->period);
period            183 drivers/pwm/pwm-rcar.c 	ret = rcar_pwm_set_counter(rp, div, state->duty_cycle, state->period);
period             77 drivers/pwm/pwm-renesas-tpu.c 	u16 period;
period            180 drivers/pwm/pwm-renesas-tpu.c 	tpu_pwm_write(pwm, TPU_TGRBn, pwm->period);
period            183 drivers/pwm/pwm-renesas-tpu.c 		pwm->channel, pwm->duty, pwm->period);
period            226 drivers/pwm/pwm-renesas-tpu.c 	pwm->period = 0;
period            253 drivers/pwm/pwm-renesas-tpu.c 	u32 period;
period            264 drivers/pwm/pwm-renesas-tpu.c 		period = clk_rate / prescalers[prescaler]
period            266 drivers/pwm/pwm-renesas-tpu.c 		if (period <= 0xffff)
period            270 drivers/pwm/pwm-renesas-tpu.c 	if (prescaler == ARRAY_SIZE(prescalers) || period == 0) {
period            278 drivers/pwm/pwm-renesas-tpu.c 		if (duty > period)
period            286 drivers/pwm/pwm-renesas-tpu.c 		clk_rate, prescalers[prescaler], period, duty);
period            288 drivers/pwm/pwm-renesas-tpu.c 	if (pwm->prescaler == prescaler && pwm->period == period)
period            292 drivers/pwm/pwm-renesas-tpu.c 	pwm->period = period;
period            315 drivers/pwm/pwm-renesas-tpu.c 	if (duty == 0 || duty == period) {
period            350 drivers/pwm/pwm-renesas-tpu.c 	if (pwm->duty == 0 || pwm->duty == pwm->period) {
period             42 drivers/pwm/pwm-rockchip.c 	unsigned long period;
period             77 drivers/pwm/pwm-rockchip.c 	tmp = readl_relaxed(pc->base + pc->data->regs.period);
period             79 drivers/pwm/pwm-rockchip.c 	state->period = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate);
period            105 drivers/pwm/pwm-rockchip.c 	unsigned long period, duty;
period            116 drivers/pwm/pwm-rockchip.c 	div = clk_rate * state->period;
period            117 drivers/pwm/pwm-rockchip.c 	period = DIV_ROUND_CLOSEST_ULL(div,
period            133 drivers/pwm/pwm-rockchip.c 	writel(period, pc->base + pc->data->regs.period);
period            230 drivers/pwm/pwm-rockchip.c 		.period = 0x08,
period            243 drivers/pwm/pwm-rockchip.c 		.period = 0x04,
period            257 drivers/pwm/pwm-rockchip.c 		.period = 0x04,
period            271 drivers/pwm/pwm-rockchip.c 		.period = 0x04,
period            327 drivers/pwm/pwm-samsung.c 		u32 period;
period            329 drivers/pwm/pwm-samsung.c 		period = NSEC_PER_SEC / period_ns;
period            332 drivers/pwm/pwm-samsung.c 						duty_ns, period_ns, period);
period            334 drivers/pwm/pwm-samsung.c 		tin_rate = pwm_samsung_calc_tin(our_chip, pwm->hwpwm, period);
period            124 drivers/pwm/pwm-sifive.c 	state->period = ddata->real_period;
period            184 drivers/pwm/pwm-sifive.c 	frac = DIV_ROUND_CLOSEST_ULL(num, state->period);
period            188 drivers/pwm/pwm-sifive.c 	if (state->period != ddata->approx_period) {
period            193 drivers/pwm/pwm-sifive.c 		ddata->approx_period = state->period;
period            106 drivers/pwm/pwm-sprd.c 	state->period = DIV_ROUND_CLOSEST_ULL(tmp, chn->clk_rate);
period            183 drivers/pwm/pwm-sprd.c 		if (state->period != cstate->period ||
period            186 drivers/pwm/pwm-sprd.c 					      state->period);
period            122 drivers/pwm/pwm-sti.c static int sti_pwm_get_prescale(struct sti_pwm_chip *pc, unsigned long period,
period            142 drivers/pwm/pwm-sti.c 	if (period % value)
period            145 drivers/pwm/pwm-sti.c 	ps  = period / value - 1;
period            361 drivers/pwm/pwm-sti.c 		result->period = 0;
period            373 drivers/pwm/pwm-sti.c 		result->period = (high + low) * NSEC_PER_SEC;
period            374 drivers/pwm/pwm-sti.c 		result->period /= effective_ticks;
period             60 drivers/pwm/pwm-stm32-lp.c 	div = (unsigned long long)clk_get_rate(priv->clk) * state->period;
period             64 drivers/pwm/pwm-stm32-lp.c 		dev_dbg(priv->chip.dev, "Can't reach %u ns\n",	state->period);
period             81 drivers/pwm/pwm-stm32-lp.c 	do_div(dty, state->period);
period            182 drivers/pwm/pwm-stm32-lp.c 	state->period = DIV_ROUND_CLOSEST_ULL(tmp, rate);
period            304 drivers/pwm/pwm-stm32.c 	result->period = DIV_ROUND_UP_ULL(prd, rate << icpsc);
period            460 drivers/pwm/pwm-stm32.c 			       state->duty_cycle, state->period);
period            144 drivers/pwm/pwm-sun4i.c 	state->period = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate);
period            165 drivers/pwm/pwm-sun4i.c 		div = clk_rate * state->period + NSEC_PER_SEC / 2;
period            179 drivers/pwm/pwm-sun4i.c 			div = div * state->period;
period            191 drivers/pwm/pwm-sun4i.c 	do_div(div, state->period);
period            221 drivers/pwm/pwm-sun4i.c 	if ((cstate.period != state->period) ||
period            223 drivers/pwm/pwm-sun4i.c 		u32 period, duty, val;
period            227 drivers/pwm/pwm-sun4i.c 					  &duty, &period, &prescaler);
period            245 drivers/pwm/pwm-sun4i.c 		val = (duty & PWM_DTY_MASK) | PWM_PRD(period);
period            248 drivers/pwm/pwm-sun4i.c 			usecs_to_jiffies(cstate.period / 1000 + 1);
period             90 drivers/pwm/pwm-zx.c 	state->period = DIV_ROUND_CLOSEST_ULL(tmp, rate);
period            164 drivers/pwm/pwm-zx.c 	if (state->period != cstate.period ||
period            167 drivers/pwm/pwm-zx.c 				    state->period);
period             45 drivers/pwm/sysfs.c 	return sprintf(buf, "%u\n", state.period);
period             64 drivers/pwm/sysfs.c 	state.period = val;
period            215 drivers/pwm/sysfs.c 	return sprintf(buf, "%u %u\n", result.period, result.duty_cycle);
period            218 drivers/pwm/sysfs.c static DEVICE_ATTR_RW(period);
period            472 drivers/rtc/interface.c 	rtc->aie_timer.period = 0;
period            501 drivers/rtc/interface.c 	rtc->aie_timer.period = 0;
period            577 drivers/rtc/interface.c 		rtc->uie_rtctimer.period = ktime_set(1, 0);
period            652 drivers/rtc/interface.c 	ktime_t period;
period            657 drivers/rtc/interface.c 	period = NSEC_PER_SEC / rtc->irq_freq;
period            658 drivers/rtc/interface.c 	count = hrtimer_forward_now(timer, period);
period            726 drivers/rtc/interface.c 		ktime_t period = NSEC_PER_SEC / rtc->irq_freq;
period            728 drivers/rtc/interface.c 		hrtimer_start(&rtc->pie_timer, period, HRTIMER_MODE_REL);
period            915 drivers/rtc/interface.c 		if (ktime_to_ns(timer->period)) {
period            917 drivers/rtc/interface.c 							timer->period);
period            980 drivers/rtc/interface.c 		    ktime_t expires, ktime_t period)
period            989 drivers/rtc/interface.c 	timer->period = period;
period            233 drivers/scsi/53c700.c 			       __u8 offset, __u8 period)
period            245 drivers/scsi/53c700.c 	if(period < hostdata->min_period) {
period            246 drivers/scsi/53c700.c 		printk(KERN_WARNING "53c700: Period %dns is less than this chip's minimum, setting to %d\n", period*4, NCR_700_MIN_PERIOD*4);
period            247 drivers/scsi/53c700.c 		period = hostdata->min_period;
period            249 drivers/scsi/53c700.c 	XFERP = (period*4 * hostdata->sync_clock)/1000 - 4;
period            780 drivers/scsi/53c700.c 			__u8 period = hostdata->msgin[3];
period            783 drivers/scsi/53c700.c 			if(offset == 0 || period == 0) {
period            785 drivers/scsi/53c700.c 				period = 0;
period            789 drivers/scsi/53c700.c 			spi_period(starget) = period;
period           1964 drivers/scsi/53c700.c NCR_700_set_period(struct scsi_target *STp, int period)
period           1973 drivers/scsi/53c700.c 	if(period < hostdata->min_period)
period           1974 drivers/scsi/53c700.c 		period = hostdata->min_period;
period           1976 drivers/scsi/53c700.c 	spi_period(STp) = period;
period           3356 drivers/scsi/advansys.c 	ushort period = 0;
period           3496 drivers/scsi/advansys.c 				period = (((lramword >> 8) * 25) + 50) / 4;
period           3498 drivers/scsi/advansys.c 				if (period == 0) {	/* Should never happen. */
period           3499 drivers/scsi/advansys.c 					seq_printf(m, "%d (? Mhz), ", period);
period           3503 drivers/scsi/advansys.c 						   period, 250 / period,
period           3504 drivers/scsi/advansys.c 						   ASC_TENTHS(250, period));
period            747 drivers/scsi/aic7xxx/aic79xx.h 	uint8_t period;			/* Sync rate factor */
period           1392 drivers/scsi/aic7xxx/aic79xx.h void			ahd_find_syncrate(struct ahd_softc *ahd, u_int *period,
period           1413 drivers/scsi/aic7xxx/aic79xx.h 					 u_int period, u_int offset,
period            117 drivers/scsi/aic7xxx/aic79xx_core.c 						u_int *period,
period            136 drivers/scsi/aic7xxx/aic79xx_core.c 					   u_int period, u_int offset);
period            142 drivers/scsi/aic7xxx/aic79xx_core.c 					  u_int period, u_int offset,
period           3693 drivers/scsi/aic7xxx/aic79xx_core.c 			u_int *period, u_int *ppr_options, role_t role)
period           3725 drivers/scsi/aic7xxx/aic79xx_core.c 	if (transinfo->period == 0) {
period           3726 drivers/scsi/aic7xxx/aic79xx_core.c 		*period = 0;
period           3729 drivers/scsi/aic7xxx/aic79xx_core.c 		*period = max(*period, (u_int)transinfo->period);
period           3730 drivers/scsi/aic7xxx/aic79xx_core.c 		ahd_find_syncrate(ahd, period, ppr_options, maxsync);
period           3740 drivers/scsi/aic7xxx/aic79xx_core.c ahd_find_syncrate(struct ahd_softc *ahd, u_int *period,
period           3743 drivers/scsi/aic7xxx/aic79xx_core.c 	if (*period < maxsync)
period           3744 drivers/scsi/aic7xxx/aic79xx_core.c 		*period = maxsync;
period           3747 drivers/scsi/aic7xxx/aic79xx_core.c 	 && *period > AHD_SYNCRATE_MIN_DT)
period           3750 drivers/scsi/aic7xxx/aic79xx_core.c 	if (*period > AHD_SYNCRATE_MIN)
period           3751 drivers/scsi/aic7xxx/aic79xx_core.c 		*period = 0;
period           3754 drivers/scsi/aic7xxx/aic79xx_core.c 	if (*period > AHD_SYNCRATE_PACED)
period           3765 drivers/scsi/aic7xxx/aic79xx_core.c 	 && *period < AHD_SYNCRATE_DT)
period           3766 drivers/scsi/aic7xxx/aic79xx_core.c 		*period = AHD_SYNCRATE_DT;
period           3770 drivers/scsi/aic7xxx/aic79xx_core.c 	 && *period < AHD_SYNCRATE_ULTRA2)
period           3771 drivers/scsi/aic7xxx/aic79xx_core.c 		*period = AHD_SYNCRATE_ULTRA2;
period           3781 drivers/scsi/aic7xxx/aic79xx_core.c 		    u_int period, u_int *offset, int wide,
period           3787 drivers/scsi/aic7xxx/aic79xx_core.c 	if (period == 0)
period           3789 drivers/scsi/aic7xxx/aic79xx_core.c 	else if (period <= AHD_SYNCRATE_PACED) {
period           3856 drivers/scsi/aic7xxx/aic79xx_core.c 		tinfo->curr.period = AHD_PERIOD_UNKNOWN;
period           3859 drivers/scsi/aic7xxx/aic79xx_core.c 	if (tinfo->curr.period != tinfo->goal.period
period           3884 drivers/scsi/aic7xxx/aic79xx_core.c 		 u_int period, u_int offset, u_int ppr_options,
period           3898 drivers/scsi/aic7xxx/aic79xx_core.c 	if (period == 0 || offset == 0) {
period           3899 drivers/scsi/aic7xxx/aic79xx_core.c 		period = 0;
period           3907 drivers/scsi/aic7xxx/aic79xx_core.c 		tinfo->user.period = period;
period           3913 drivers/scsi/aic7xxx/aic79xx_core.c 		tinfo->goal.period = period;
period           3918 drivers/scsi/aic7xxx/aic79xx_core.c 	old_period = tinfo->curr.period;
period           3923 drivers/scsi/aic7xxx/aic79xx_core.c 	 && (old_period != period
period           3929 drivers/scsi/aic7xxx/aic79xx_core.c 		tinfo->curr.period = period;
period           3942 drivers/scsi/aic7xxx/aic79xx_core.c 				       period, offset);
period           4098 drivers/scsi/aic7xxx/aic79xx_core.c 	u_int		period;
period           4110 drivers/scsi/aic7xxx/aic79xx_core.c 	period = tinfo->period;
period           4116 drivers/scsi/aic7xxx/aic79xx_core.c 	if (period == 0)
period           4117 drivers/scsi/aic7xxx/aic79xx_core.c 		period = AHD_SYNCRATE_ASYNC;
period           4118 drivers/scsi/aic7xxx/aic79xx_core.c 	if (period == AHD_SYNCRATE_160) {
period           4141 drivers/scsi/aic7xxx/aic79xx_core.c 			period = AHD_SYNCRATE_REVA_160;
period           4179 drivers/scsi/aic7xxx/aic79xx_core.c 	ahd_outb(ahd, NEGPERIOD, period);
period           4528 drivers/scsi/aic7xxx/aic79xx_core.c 	u_int	period;
period           4540 drivers/scsi/aic7xxx/aic79xx_core.c 	period = tinfo->goal.period;
period           4546 drivers/scsi/aic7xxx/aic79xx_core.c 	ahd_devlimited_syncrate(ahd, tinfo, &period,
period           4549 drivers/scsi/aic7xxx/aic79xx_core.c 	dosync = tinfo->curr.offset != offset || tinfo->curr.period != period;
period           4592 drivers/scsi/aic7xxx/aic79xx_core.c 		ahd_validate_offset(ahd, tinfo, period, &offset,
period           4597 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_construct_ppr(ahd, devinfo, period, offset,
period           4600 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_construct_sdtr(ahd, devinfo, period, offset);
period           4613 drivers/scsi/aic7xxx/aic79xx_core.c 		   u_int period, u_int offset)
period           4616 drivers/scsi/aic7xxx/aic79xx_core.c 		period = AHD_ASYNC_XFER_PERIOD;
period           4618 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd->msgout_buf + ahd->msgout_index, period, offset);
period           4623 drivers/scsi/aic7xxx/aic79xx_core.c 		       devinfo->lun, period, offset);
period           4651 drivers/scsi/aic7xxx/aic79xx_core.c 		  u_int period, u_int offset, u_int bus_width,
period           4659 drivers/scsi/aic7xxx/aic79xx_core.c 	if (period <= AHD_SYNCRATE_PACED)
period           4662 drivers/scsi/aic7xxx/aic79xx_core.c 		period = AHD_ASYNC_XFER_PERIOD;
period           4664 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd->msgout_buf + ahd->msgout_index, period, offset,
period           4671 drivers/scsi/aic7xxx/aic79xx_core.c 		       bus_width, period, offset, ppr_options);
period           5147 drivers/scsi/aic7xxx/aic79xx_core.c 			u_int	 period;
period           5167 drivers/scsi/aic7xxx/aic79xx_core.c 			period = ahd->msgin_buf[3];
period           5170 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_devlimited_syncrate(ahd, tinfo, &period,
period           5172 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_validate_offset(ahd, tinfo, period, &offset,
period           5181 drivers/scsi/aic7xxx/aic79xx_core.c 				       period, offset);
period           5183 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_set_syncrate(ahd, devinfo, period,
period           5213 drivers/scsi/aic7xxx/aic79xx_core.c 						   period, offset);
period           5318 drivers/scsi/aic7xxx/aic79xx_core.c 			u_int	period;
period           5341 drivers/scsi/aic7xxx/aic79xx_core.c 			period = ahd->msgin_buf[3];
period           5352 drivers/scsi/aic7xxx/aic79xx_core.c 			 && period <= 9)
period           5366 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_devlimited_syncrate(ahd, tinfo, &period,
period           5368 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_validate_offset(ahd, tinfo, period, &offset,
period           5381 drivers/scsi/aic7xxx/aic79xx_core.c 					period = 0;
period           5399 drivers/scsi/aic7xxx/aic79xx_core.c 				ahd_construct_ppr(ahd, devinfo, period, offset,
period           5413 drivers/scsi/aic7xxx/aic79xx_core.c 				       bus_width, period, offset, ppr_options);
period           5418 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_set_syncrate(ahd, devinfo, period,
period           5539 drivers/scsi/aic7xxx/aic79xx_core.c 		 && tinfo->goal.period <= AHD_SYNCRATE_PACED) {
period           5551 drivers/scsi/aic7xxx/aic79xx_core.c 			tinfo->goal.period = AHD_SYNCRATE_DT;
period           7617 drivers/scsi/aic7xxx/aic79xx_core.c 		tinfo->user.period = AHD_SYNCRATE_DT;
period           7619 drivers/scsi/aic7xxx/aic79xx_core.c 		tinfo->user.period = AHD_SYNCRATE_160;
period           7710 drivers/scsi/aic7xxx/aic79xx_core.c 		user_tinfo->period = (sc->device_flags[targ] & CFXFER);
period           7711 drivers/scsi/aic7xxx/aic79xx_core.c 		if (user_tinfo->period < CFXFER_ASYNC) {
period           7712 drivers/scsi/aic7xxx/aic79xx_core.c 			if (user_tinfo->period <= AHD_PERIOD_10MHz)
period           7717 drivers/scsi/aic7xxx/aic79xx_core.c 			user_tinfo->period = AHD_ASYNC_XFER_PERIOD;
period           7720 drivers/scsi/aic7xxx/aic79xx_core.c 		if (user_tinfo->period <= AHD_SYNCRATE_160)
period           7721 drivers/scsi/aic7xxx/aic79xx_core.c 			user_tinfo->period = AHD_SYNCRATE_DT;
period           7743 drivers/scsi/aic7xxx/aic79xx_core.c 			       user_tinfo->period, user_tinfo->offset,
period            645 drivers/scsi/aic7xxx/aic79xx_osm.c 		spi_min_period(starget) = tinfo->user.period;
period           1706 drivers/scsi/aic7xxx/aic79xx_osm.c 		if (tinfo->curr.period != tinfo->goal.period
period           1731 drivers/scsi/aic7xxx/aic79xx_osm.c 		if (tinfo->curr.period == spi_period(starget)
period           1738 drivers/scsi/aic7xxx/aic79xx_osm.c 		spi_period(starget) = tinfo->curr.period;
period           2400 drivers/scsi/aic7xxx/aic79xx_osm.c static void ahd_linux_set_period(struct scsi_target *starget, int period)
period           2417 drivers/scsi/aic7xxx/aic79xx_osm.c 		printk("%s: set period to %d\n", ahd_name(ahd), period);
period           2422 drivers/scsi/aic7xxx/aic79xx_osm.c 	if (period < 8)
period           2423 drivers/scsi/aic7xxx/aic79xx_osm.c 		period = 8;
period           2424 drivers/scsi/aic7xxx/aic79xx_osm.c 	if (period < 10) {
period           2427 drivers/scsi/aic7xxx/aic79xx_osm.c 			if (period == 8)
period           2430 drivers/scsi/aic7xxx/aic79xx_osm.c 			period = 10;
period           2444 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_find_syncrate(ahd, &period, &ppr_options,
period           2448 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_set_syncrate(ahd, &devinfo, period, offset,
period           2464 drivers/scsi/aic7xxx/aic79xx_osm.c 	unsigned int period = 0;
period           2476 drivers/scsi/aic7xxx/aic79xx_osm.c 		period = tinfo->goal.period;
period           2478 drivers/scsi/aic7xxx/aic79xx_osm.c 		ahd_find_syncrate(ahd, &period, &ppr_options, 
period           2483 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_set_syncrate(ahd, &devinfo, period, offset, ppr_options,
period           2500 drivers/scsi/aic7xxx/aic79xx_osm.c 	unsigned int period = tinfo->goal.period;
period           2514 drivers/scsi/aic7xxx/aic79xx_osm.c 		if (period <= 9)
period           2515 drivers/scsi/aic7xxx/aic79xx_osm.c 			period = 10; /* If resetting DT, period must be >= 25ns */
period           2521 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_find_syncrate(ahd, &period, &ppr_options,
period           2525 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset,
period           2542 drivers/scsi/aic7xxx/aic79xx_osm.c 	unsigned int period = tinfo->goal.period;
period           2560 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_find_syncrate(ahd, &period, &ppr_options,
period           2564 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset,
period           2581 drivers/scsi/aic7xxx/aic79xx_osm.c 	unsigned int period = tinfo->goal.period;
period           2600 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_find_syncrate(ahd, &period, &ppr_options,
period           2604 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset,
period           2621 drivers/scsi/aic7xxx/aic79xx_osm.c 	unsigned int period = tinfo->goal.period;
period           2636 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_find_syncrate(ahd, &period, &ppr_options,
period           2640 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset,
period           2657 drivers/scsi/aic7xxx/aic79xx_osm.c 	unsigned int period = tinfo->goal.period;
period           2672 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_find_syncrate(ahd, &period, &ppr_options,
period           2676 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset,
period           2693 drivers/scsi/aic7xxx/aic79xx_osm.c 	unsigned int period = tinfo->goal.period;
period           2716 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_find_syncrate(ahd, &period, &ppr_options,
period           2720 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset,
period           2737 drivers/scsi/aic7xxx/aic79xx_osm.c 	unsigned int period = tinfo->goal.period;
period           2766 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_find_syncrate(ahd, &period, &ppr_options,
period           2770 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset,
period           2787 drivers/scsi/aic7xxx/aic79xx_osm.c 	unsigned int period = tinfo->goal.period;
period           2796 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_find_syncrate(ahd, &period, &ppr_options,
period           2800 drivers/scsi/aic7xxx/aic79xx_osm.c 	ahd_set_syncrate(ahd, &devinfo, period, tinfo->goal.offset,
period             58 drivers/scsi/aic7xxx/aic79xx_proc.c 	u_int period;	/* in 100ths of ns */
period             81 drivers/scsi/aic7xxx/aic79xx_proc.c 			return (100000000 / scsi_syncrates[i].period);
period             99 drivers/scsi/aic7xxx/aic79xx_proc.c 	if (tinfo->period == AHD_PERIOD_UNKNOWN) {
period            106 drivers/scsi/aic7xxx/aic79xx_proc.c 		freq = ahd_calc_syncsrate(tinfo->period);
period            692 drivers/scsi/aic7xxx/aic7xxx.h 	uint8_t period;			/* Sync rate factor */
period            735 drivers/scsi/aic7xxx/aic7xxx.h 	uint8_t period; /* Period to send to SCSI target */
period           1200 drivers/scsi/aic7xxx/aic7xxx.h const struct ahc_syncrate*	ahc_find_syncrate(struct ahc_softc *ahc, u_int *period,
period           1224 drivers/scsi/aic7xxx/aic7xxx.h 					 u_int period, u_int offset,
period            146 drivers/scsi/aic7xxx/aic7xxx_core.c 						u_int *period,
period            163 drivers/scsi/aic7xxx/aic7xxx_core.c 					   u_int period, u_int offset);
period            169 drivers/scsi/aic7xxx/aic7xxx_core.c 					  u_int period, u_int offset,
period           2211 drivers/scsi/aic7xxx/aic7xxx_core.c 			u_int *period, u_int *ppr_options, role_t role)
period           2249 drivers/scsi/aic7xxx/aic7xxx_core.c 	if (transinfo->period == 0) {
period           2250 drivers/scsi/aic7xxx/aic7xxx_core.c 		*period = 0;
period           2254 drivers/scsi/aic7xxx/aic7xxx_core.c 	*period = max(*period, (u_int)transinfo->period);
period           2255 drivers/scsi/aic7xxx/aic7xxx_core.c 	return (ahc_find_syncrate(ahc, period, ppr_options, maxsync));
period           2264 drivers/scsi/aic7xxx/aic7xxx_core.c ahc_find_syncrate(struct ahc_softc *ahc, u_int *period,
period           2298 drivers/scsi/aic7xxx/aic7xxx_core.c 		if (*period <= syncrate->period) {
period           2311 drivers/scsi/aic7xxx/aic7xxx_core.c 				*period = syncrate->period;
period           2323 drivers/scsi/aic7xxx/aic7xxx_core.c 	if ((*period == 0)
period           2328 drivers/scsi/aic7xxx/aic7xxx_core.c 		*period = 0;
period           2367 drivers/scsi/aic7xxx/aic7xxx_core.c 				return (syncrate->period);
period           2369 drivers/scsi/aic7xxx/aic7xxx_core.c 				return (syncrate->period);
period           2459 drivers/scsi/aic7xxx/aic7xxx_core.c 		tinfo->curr.period = AHC_PERIOD_UNKNOWN;
period           2462 drivers/scsi/aic7xxx/aic7xxx_core.c 	if (tinfo->curr.period != tinfo->goal.period
period           2487 drivers/scsi/aic7xxx/aic7xxx_core.c 		 const struct ahc_syncrate *syncrate, u_int period,
period           2502 drivers/scsi/aic7xxx/aic7xxx_core.c 		period = 0;
period           2510 drivers/scsi/aic7xxx/aic7xxx_core.c 		tinfo->user.period = period;
period           2516 drivers/scsi/aic7xxx/aic7xxx_core.c 		tinfo->goal.period = period;
period           2521 drivers/scsi/aic7xxx/aic7xxx_core.c 	old_period = tinfo->curr.period;
period           2526 drivers/scsi/aic7xxx/aic7xxx_core.c 	 && (old_period != period
period           2576 drivers/scsi/aic7xxx/aic7xxx_core.c 		tinfo->curr.period = period;
period           2968 drivers/scsi/aic7xxx/aic7xxx_core.c 	u_int	period;
period           2980 drivers/scsi/aic7xxx/aic7xxx_core.c 	period = tinfo->goal.period;
period           2986 drivers/scsi/aic7xxx/aic7xxx_core.c 	rate = ahc_devlimited_syncrate(ahc, tinfo, &period,
period           2989 drivers/scsi/aic7xxx/aic7xxx_core.c 	dosync = tinfo->curr.offset != offset || tinfo->curr.period != period;
period           3038 drivers/scsi/aic7xxx/aic7xxx_core.c 			ahc_construct_ppr(ahc, devinfo, period, offset,
period           3041 drivers/scsi/aic7xxx/aic7xxx_core.c 			ahc_construct_sdtr(ahc, devinfo, period, offset);
period           3054 drivers/scsi/aic7xxx/aic7xxx_core.c 		   u_int period, u_int offset)
period           3057 drivers/scsi/aic7xxx/aic7xxx_core.c 		period = AHC_ASYNC_XFER_PERIOD;
period           3059 drivers/scsi/aic7xxx/aic7xxx_core.c 			ahc->msgout_buf + ahc->msgout_index, period, offset);
period           3064 drivers/scsi/aic7xxx/aic7xxx_core.c 		       devinfo->lun, period, offset);
period           3092 drivers/scsi/aic7xxx/aic7xxx_core.c 		  u_int period, u_int offset, u_int bus_width,
period           3096 drivers/scsi/aic7xxx/aic7xxx_core.c 		period = AHC_ASYNC_XFER_PERIOD;
period           3098 drivers/scsi/aic7xxx/aic7xxx_core.c 			ahc->msgout_buf + ahc->msgout_index, period, offset,
period           3105 drivers/scsi/aic7xxx/aic7xxx_core.c 		       bus_width, period, offset, ppr_options);
period           3631 drivers/scsi/aic7xxx/aic7xxx_core.c 			u_int	 period;
period           3651 drivers/scsi/aic7xxx/aic7xxx_core.c 			period = ahc->msgin_buf[3];
period           3654 drivers/scsi/aic7xxx/aic7xxx_core.c 			syncrate = ahc_devlimited_syncrate(ahc, tinfo, &period,
period           3667 drivers/scsi/aic7xxx/aic7xxx_core.c 				       period, offset);
period           3670 drivers/scsi/aic7xxx/aic7xxx_core.c 					 syncrate, period,
period           3700 drivers/scsi/aic7xxx/aic7xxx_core.c 						   period, offset);
period           3806 drivers/scsi/aic7xxx/aic7xxx_core.c 			u_int	period;
period           3829 drivers/scsi/aic7xxx/aic7xxx_core.c 			period = ahc->msgin_buf[3];
period           3840 drivers/scsi/aic7xxx/aic7xxx_core.c 			 && period == 9)
period           3856 drivers/scsi/aic7xxx/aic7xxx_core.c 			syncrate = ahc_devlimited_syncrate(ahc, tinfo, &period,
period           3873 drivers/scsi/aic7xxx/aic7xxx_core.c 					period = 0;
period           3892 drivers/scsi/aic7xxx/aic7xxx_core.c 				ahc_construct_ppr(ahc, devinfo, period, offset,
period           3906 drivers/scsi/aic7xxx/aic7xxx_core.c 				       bus_width, period, offset, ppr_options);
period           3912 drivers/scsi/aic7xxx/aic7xxx_core.c 					 syncrate, period,
period           5478 drivers/scsi/aic7xxx/aic7xxx_core.c 			tinfo->user.period = ahc_syncrates->period;
period           5509 drivers/scsi/aic7xxx/aic7xxx_core.c 				tinfo->user.period =
period           5512 drivers/scsi/aic7xxx/aic7xxx_core.c 					tinfo->user.period = 0;
period           5526 drivers/scsi/aic7xxx/aic7xxx_core.c 				tinfo->user.period = 
period           5531 drivers/scsi/aic7xxx/aic7xxx_core.c 				if (tinfo->user.period != 0)
period           5534 drivers/scsi/aic7xxx/aic7xxx_core.c 			if (tinfo->user.period == 0)
period           1628 drivers/scsi/aic7xxx/aic7xxx_osm.c 		if (tinfo->curr.period != tinfo->goal.period
period           1652 drivers/scsi/aic7xxx/aic7xxx_osm.c 		if (tinfo->curr.period == spi_period(starget)
period           1659 drivers/scsi/aic7xxx/aic7xxx_osm.c 		spi_period(starget) = tinfo->curr.period;
period           2343 drivers/scsi/aic7xxx/aic7xxx_osm.c static void ahc_linux_set_period(struct scsi_target *starget, int period)
period           2361 drivers/scsi/aic7xxx/aic7xxx_osm.c 	if (period < 9)
period           2362 drivers/scsi/aic7xxx/aic7xxx_osm.c 		period = 9;	/* 12.5ns is our minimum */
period           2363 drivers/scsi/aic7xxx/aic7xxx_osm.c 	if (period == 9) {
period           2368 drivers/scsi/aic7xxx/aic7xxx_osm.c 			period = 10;
period           2380 drivers/scsi/aic7xxx/aic7xxx_osm.c 	syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT);
period           2382 drivers/scsi/aic7xxx/aic7xxx_osm.c 	ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset,
period           2398 drivers/scsi/aic7xxx/aic7xxx_osm.c 	unsigned int period = 0;
period           2405 drivers/scsi/aic7xxx/aic7xxx_osm.c 		syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT);
period           2406 drivers/scsi/aic7xxx/aic7xxx_osm.c 		period = tinfo->goal.period;
period           2410 drivers/scsi/aic7xxx/aic7xxx_osm.c 	ahc_set_syncrate(ahc, &devinfo, syncrate, period, offset,
period           2427 drivers/scsi/aic7xxx/aic7xxx_osm.c 	unsigned int period = tinfo->goal.period;
period           2436 drivers/scsi/aic7xxx/aic7xxx_osm.c 	} else if (period == 9)
period           2437 drivers/scsi/aic7xxx/aic7xxx_osm.c 		period = 10;	/* if resetting DT, period must be >= 25ns */
period           2441 drivers/scsi/aic7xxx/aic7xxx_osm.c 	syncrate = ahc_find_syncrate(ahc, &period, &ppr_options,AHC_SYNCRATE_DT);
period           2443 drivers/scsi/aic7xxx/aic7xxx_osm.c 	ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
period           2465 drivers/scsi/aic7xxx/aic7xxx_osm.c 	unsigned int period = tinfo->goal.period;
period           2474 drivers/scsi/aic7xxx/aic7xxx_osm.c 	syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT);
period           2476 drivers/scsi/aic7xxx/aic7xxx_osm.c 	ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
period           2493 drivers/scsi/aic7xxx/aic7xxx_osm.c 	unsigned int period = tinfo->goal.period;
period           2502 drivers/scsi/aic7xxx/aic7xxx_osm.c 	syncrate = ahc_find_syncrate(ahc, &period, &ppr_options, AHC_SYNCRATE_DT);
period           2504 drivers/scsi/aic7xxx/aic7xxx_osm.c 	ahc_set_syncrate(ahc, &devinfo, syncrate, period, tinfo->goal.offset,
period             59 drivers/scsi/aic7xxx/aic7xxx_proc.c 	u_int period;	/* in 100ths of ns */
period             82 drivers/scsi/aic7xxx/aic7xxx_proc.c 			return (100000000 / scsi_syncrates[i].period);
period            103 drivers/scsi/aic7xxx/aic7xxx_proc.c 		freq = ahc_calc_syncsrate(tinfo->period);
period            656 drivers/scsi/arm/acornscsi.c int round_period(unsigned int period)
period            661 drivers/scsi/arm/acornscsi.c 	if ((period <= sync_xfer_table[i].period_ns) &&
period            662 drivers/scsi/arm/acornscsi.c 	    (period > sync_xfer_table[i - 1].period_ns))
period            677 drivers/scsi/arm/acornscsi.c unsigned char __maybe_unused calc_sync_xfer(unsigned int period,
period            680 drivers/scsi/arm/acornscsi.c     return sync_xfer_table[round_period(period)].reg_value |
period           1628 drivers/scsi/arm/acornscsi.c 		unsigned char period, length;
period           1634 drivers/scsi/arm/acornscsi.c 		period = max_t(unsigned int, message[3], sdtr_period / 4);
period           1637 drivers/scsi/arm/acornscsi.c 				 EXTENDED_SDTR, period, length);
period           1639 drivers/scsi/arm/acornscsi.c 			calc_sync_xfer(period * 4, length);
period            476 drivers/scsi/arm/fas216.c 	if (info->device[target].period >= (200 / 4))
period            595 drivers/scsi/arm/fas216.c 		dev->period = msg[3];
period            609 drivers/scsi/arm/fas216.c 		dev->period = info->ifcfg.asyncperiod / 4;
period           1614 drivers/scsi/arm/fas216.c 		info->device[i].period		= info->ifcfg.asyncperiod / 4;
period           3014 drivers/scsi/arm/fas216.c 				     dev->sof, dev->period * 4);
period            290 drivers/scsi/arm/fas216.h 		unsigned char	period;			/* sync xfer period in (*4ns)		*/
period           5012 drivers/scsi/bfa/bfa_ioc.c 	msg->period = cpu_to_be32(sec);
period           1082 drivers/scsi/bfa/bfi.h 	u32	period; /* beaconing period */
period            197 drivers/scsi/dc395x.c 	u8 period;		/* Target period                */
period            687 drivers/scsi/dc395x.c 			eeprom->target[id].period =
period           1182 drivers/scsi/dc395x.c 		period_index = eeprom->target[dcb->target_id].period & 0x07;
period           3626 drivers/scsi/dc395x.c 	u8 period_index = eeprom->target[target].period & 0x07;
period           4130 drivers/scsi/dc395x.c 		eeprom->target[0].period,
period           4131 drivers/scsi/dc395x.c 		clock_speed[eeprom->target[0].period] / 10,
period           4132 drivers/scsi/dc395x.c 		clock_speed[eeprom->target[0].period] % 10,
period           1496 drivers/scsi/esp_scsi.c 	u8 period = esp->msg_in[3];
period           1509 drivers/scsi/esp_scsi.c 		if (period > esp->max_period) {
period           1510 drivers/scsi/esp_scsi.c 			period = offset = 0;
period           1513 drivers/scsi/esp_scsi.c 		if (period < esp->min_period)
period           1517 drivers/scsi/esp_scsi.c 		stp = DIV_ROUND_UP(period << 2, one_clock);
period           1526 drivers/scsi/esp_scsi.c 	esp_setsync(esp, tp, period, offset, stp, offset);
period           1536 drivers/scsi/esp_scsi.c 	tp->nego_goal_period = period;
period           2717 drivers/scsi/esp_scsi.c static void esp_set_period(struct scsi_target *target, int period)
period           2723 drivers/scsi/esp_scsi.c 	tp->nego_goal_period = period;
period            638 drivers/scsi/mesh.c static void set_sdtr(struct mesh_state *ms, int period, int offset)
period            658 drivers/scsi/mesh.c 	v = (ms->clk_freq / 5000) * period;
period           1212 drivers/scsi/ncr53c8xx.c /*0*/	u16	period;
period           1222 drivers/scsi/ncr53c8xx.c /*2*/	u16	period;
period           3735 drivers/scsi/ncr53c8xx.c 	u_long	period;
period           3802 drivers/scsi/ncr53c8xx.c 	period = (4 * div_10M[0] + np->clock_khz - 1) / np->clock_khz;
period           3803 drivers/scsi/ncr53c8xx.c 	if	(period <= 250)		np->minsync = 10;
period           3804 drivers/scsi/ncr53c8xx.c 	else if	(period <= 303)		np->minsync = 11;
period           3805 drivers/scsi/ncr53c8xx.c 	else if	(period <= 500)		np->minsync = 12;
period           3806 drivers/scsi/ncr53c8xx.c 	else				np->minsync = (period + 40 - 1) / 40;
period           3819 drivers/scsi/ncr53c8xx.c 	period = (11 * div_10M[np->clock_divn - 1]) / (4 * np->clock_khz);
period           3820 drivers/scsi/ncr53c8xx.c 	np->maxsync = period > 2540 ? 254 : period / 10;
period           3968 drivers/scsi/ncr53c8xx.c 		tp->period = 0xffff;
period           4067 drivers/scsi/ncr53c8xx.c 	if (!nego && !tp->period) {
period           4071 drivers/scsi/ncr53c8xx.c 			tp->period  =0xffff;
period           4266 drivers/scsi/ncr53c8xx.c 	if ((!tp->widedone || !tp->period) && !tp->nego_cp && lp) {
period           5399 drivers/scsi/ncr53c8xx.c 	tp->period=0;
period           5543 drivers/scsi/ncr53c8xx.c 		tp->period = (((sxfer>>5)+4)*div_10M[idiv-1])/np->clock_khz;
period           5545 drivers/scsi/ncr53c8xx.c 		tp->period = 0xffff;
period           5555 drivers/scsi/ncr53c8xx.c 		if (tp->period <= 2000)
period           8527 drivers/scsi/ncr53c8xx.c static void ncr53c8xx_set_period(struct scsi_target *starget, int period)
period           8533 drivers/scsi/ncr53c8xx.c 	if (period > np->maxsync)
period           8534 drivers/scsi/ncr53c8xx.c 		period = np->maxsync;
period           8535 drivers/scsi/ncr53c8xx.c 	else if (period < np->minsync)
period           8536 drivers/scsi/ncr53c8xx.c 		period = np->minsync;
period           8538 drivers/scsi/ncr53c8xx.c 	tp->usrsync = period;
period            375 drivers/scsi/nsp32.c 			     unsigned char period,
period            384 drivers/scsi/nsp32.c 	data->msgoutbuf[pos] = period;            pos++;
period            978 drivers/scsi/nsp32.c 		unsigned char period, offset;
period            981 drivers/scsi/nsp32.c 			nsp32_set_max_sync(data, target, &period, &offset);
period            982 drivers/scsi/nsp32.c 			nsp32_build_sdtr(SCpnt, period, offset);
period            991 drivers/scsi/nsp32.c 			  target->limit_entry, period, offset);
period           1479 drivers/scsi/nsp32.c 			if (data->target[id].period == 0            &&
period           1489 drivers/scsi/nsp32.c 		if (data->target[id].period != 0) {
period           1491 drivers/scsi/nsp32.c 			speed = 1000000 / (data->target[id].period * 4);
period           2329 drivers/scsi/nsp32.c 	target->period = get_period;
period           2343 drivers/scsi/nsp32.c 	target->period = 0;
period           2355 drivers/scsi/nsp32.c 				     unsigned char  period)
period           2365 drivers/scsi/nsp32.c 		if (period >= data->synct[i].start_period &&
period           2366 drivers/scsi/nsp32.c 		    period <= data->synct[i].end_period) {
period           2388 drivers/scsi/nsp32.c 	unsigned char period = data->synct[target->limit_entry].period_num;
period           2391 drivers/scsi/nsp32.c 	target->period     = 0;
period           2392 drivers/scsi/nsp32.c 	target->syncreg    = TO_SYNCREG(period, ASYNC_OFFSET);
period           2405 drivers/scsi/nsp32.c 			       unsigned char *period,
period           2411 drivers/scsi/nsp32.c 	*period    = data->synct[target->limit_entry].start_period;
period           2430 drivers/scsi/nsp32.c 	unsigned char period, ackwidth, sample_rate;
period           2432 drivers/scsi/nsp32.c 	period      = data->synct[entry].period_num;
period           2436 drivers/scsi/nsp32.c 	target->syncreg    = TO_SYNCREG(period, offset);
period            535 drivers/scsi/nsp32.h #define TO_SYNCREG(period, offset) (((period) & 0x0f) << 4 | ((offset) & 0x0f))
period            540 drivers/scsi/nsp32.h 	unsigned char   period;         /* sync period (0-255) */
period            452 drivers/scsi/pcmcia/nsp_cs.c 	unsigned int	       period, offset;
period            458 drivers/scsi/pcmcia/nsp_cs.c 	period = sync->SyncPeriod;
period            461 drivers/scsi/pcmcia/nsp_cs.c 	nsp_dbg(NSP_DEBUG_SYNC, "period=0x%x, offset=0x%x", period, offset);
period            470 drivers/scsi/pcmcia/nsp_cs.c 		if ( period >= sync_table->min_period &&
period            471 drivers/scsi/pcmcia/nsp_cs.c 		     period <= sync_table->max_period	 ) {
period            476 drivers/scsi/pcmcia/nsp_cs.c 	if (period != 0 && sync_table->max_period == 0) {
period           1157 drivers/scsi/scsi_sysfs.c 	unsigned int period;
period           1159 drivers/scsi/scsi_sysfs.c 	if (kstrtouint(buf, 10, &period))
period           1162 drivers/scsi/scsi_sysfs.c 	sdev->queue_ramp_up_period = msecs_to_jiffies(period);
period            409 drivers/scsi/scsi_transport_spi.c static int period_to_str(char *buf, int period)
period            413 drivers/scsi/scsi_transport_spi.c 	if (period < 0 || period > 0xff) {
period            415 drivers/scsi/scsi_transport_spi.c 	} else if (period <= SPI_STATIC_PPR) {
period            416 drivers/scsi/scsi_transport_spi.c 		picosec = ppr_to_ps[period];
period            418 drivers/scsi/scsi_transport_spi.c 		picosec = period * 4000;
period            431 drivers/scsi/scsi_transport_spi.c show_spi_transport_period_helper(char *buf, int period)
period            433 drivers/scsi/scsi_transport_spi.c 	int len = period_to_str(buf, period);
period            443 drivers/scsi/scsi_transport_spi.c 	int j, picosec, period = -1;
period            461 drivers/scsi/scsi_transport_spi.c 		period = j;
period            465 drivers/scsi/scsi_transport_spi.c 	if (period == -1)
period            466 drivers/scsi/scsi_transport_spi.c 		period = picosec / 4000;
period            468 drivers/scsi/scsi_transport_spi.c 	if (period > 0xff)
period            469 drivers/scsi/scsi_transport_spi.c 		period = 0xff;
period            471 drivers/scsi/scsi_transport_spi.c 	*periodp = period;
period            489 drivers/scsi/scsi_transport_spi.c 	return show_spi_transport_period_helper(buf, tp->period);
period            501 drivers/scsi/scsi_transport_spi.c 	int period, retval;
period            506 drivers/scsi/scsi_transport_spi.c 	retval = store_spi_transport_period_helper(cdev, buf, count, &period);
period            508 drivers/scsi/scsi_transport_spi.c 	if (period < tp->min_period)
period            509 drivers/scsi/scsi_transport_spi.c 		period = tp->min_period;
period            511 drivers/scsi/scsi_transport_spi.c 	i->f->set_period(starget, period);
period            516 drivers/scsi/scsi_transport_spi.c static DEVICE_ATTR(period, S_IRUGO,
period            751 drivers/scsi/scsi_transport_spi.c 	int period = 0, prevperiod = 0; 
period            782 drivers/scsi/scsi_transport_spi.c 			period = newperiod > period ? newperiod : period;
period            783 drivers/scsi/scsi_transport_spi.c 			if (period < 0x0d)
period            784 drivers/scsi/scsi_transport_spi.c 				period++;
period            786 drivers/scsi/scsi_transport_spi.c 				period += period >> 1;
period            788 drivers/scsi/scsi_transport_spi.c 			if (unlikely(period > 0xff || period == prevperiod)) {
period            795 drivers/scsi/scsi_transport_spi.c 			DV_SET(period, period);
period            796 drivers/scsi/scsi_transport_spi.c 			prevperiod = period;
period            908 drivers/scsi/scsi_transport_spi.c 	DV_SET(period, min_period);
period           1123 drivers/scsi/scsi_transport_spi.c 	if (tp->offset > 0 && tp->period > 0) {
period           1128 drivers/scsi/scsi_transport_spi.c 		if (tp->period <= SPI_STATIC_PPR) {
period           1129 drivers/scsi/scsi_transport_spi.c 			picosec = ppr_to_ps[tp->period];
period           1130 drivers/scsi/scsi_transport_spi.c 			switch (tp->period) {
period           1139 drivers/scsi/scsi_transport_spi.c 			picosec = tp->period * 4000;
period           1140 drivers/scsi/scsi_transport_spi.c 			if (tp->period < 25)
period           1142 drivers/scsi/scsi_transport_spi.c 			else if (tp->period < 50)
period           1182 drivers/scsi/scsi_transport_spi.c int spi_populate_sync_msg(unsigned char *msg, int period, int offset)
period           1187 drivers/scsi/scsi_transport_spi.c 	msg[3] = period;
period           1193 drivers/scsi/scsi_transport_spi.c int spi_populate_ppr_msg(unsigned char *msg, int period, int offset,
period           1199 drivers/scsi/scsi_transport_spi.c 	msg[3] = period;
period           1467 drivers/scsi/scsi_transport_spi.c 		return TARGET_ATTRIBUTE_HELPER(period);
period           1470 drivers/scsi/scsi_transport_spi.c 		return TARGET_ATTRIBUTE_HELPER(period);
period            936 drivers/scsi/sym53c8xx_2/sym_glue.c 					tp->tgoal.period = uc->data;
period            943 drivers/scsi/sym53c8xx_2/sym_glue.c 					tp->tgoal.period = uc->data;
period           1897 drivers/scsi/sym53c8xx_2/sym_glue.c static void sym2_set_period(struct scsi_target *starget, int period)
period           1905 drivers/scsi/sym53c8xx_2/sym_glue.c 	if (period <= np->minsync && spi_width(starget))
period           1908 drivers/scsi/sym53c8xx_2/sym_glue.c 	tp->tgoal.period = period;
period            674 drivers/scsi/sym53c8xx_2/sym_hipd.c 	u32	period;
period            729 drivers/scsi/sym53c8xx_2/sym_hipd.c 	period = (4 * div_10M[0] + np->clock_khz - 1) / np->clock_khz;
period            731 drivers/scsi/sym53c8xx_2/sym_hipd.c 	if	(period <= 250)		np->minsync = 10;
period            732 drivers/scsi/sym53c8xx_2/sym_hipd.c 	else if	(period <= 303)		np->minsync = 11;
period            733 drivers/scsi/sym53c8xx_2/sym_hipd.c 	else if	(period <= 500)		np->minsync = 12;
period            734 drivers/scsi/sym53c8xx_2/sym_hipd.c 	else				np->minsync = (period + 40 - 1) / 40;
period            749 drivers/scsi/sym53c8xx_2/sym_hipd.c 	period = div64_ul(11 * div_10M[np->clock_divn - 1], 4 * np->clock_khz);
period            750 drivers/scsi/sym53c8xx_2/sym_hipd.c 	np->maxsync = period > 2540 ? 254 : period / 10;
period           1384 drivers/scsi/sym53c8xx_2/sym_hipd.c 		if (goal->period < np->minsync_dt)
period           1385 drivers/scsi/sym53c8xx_2/sym_hipd.c 			goal->period = np->minsync_dt;
period           1386 drivers/scsi/sym53c8xx_2/sym_hipd.c 		if (goal->period > np->maxsync_dt)
period           1387 drivers/scsi/sym53c8xx_2/sym_hipd.c 			goal->period = np->maxsync_dt;
period           1392 drivers/scsi/sym53c8xx_2/sym_hipd.c 		if (goal->period < np->minsync)
period           1393 drivers/scsi/sym53c8xx_2/sym_hipd.c 			goal->period = np->minsync;
period           1394 drivers/scsi/sym53c8xx_2/sym_hipd.c 		if (goal->period > np->maxsync)
period           1395 drivers/scsi/sym53c8xx_2/sym_hipd.c 			goal->period = np->maxsync;
period           1421 drivers/scsi/sym53c8xx_2/sym_hipd.c 	    (goal->iu || goal->dt || goal->qas || (goal->period < 0xa)))) {
period           1434 drivers/scsi/sym53c8xx_2/sym_hipd.c 		msglen += spi_populate_sync_msg(msgptr + msglen, goal->period,
period           1441 drivers/scsi/sym53c8xx_2/sym_hipd.c 		msglen += spi_populate_ppr_msg(msgptr + msglen, goal->period,
period           2039 drivers/scsi/sym53c8xx_2/sym_hipd.c 	if (tp->tprint.period != spi_period(starget) ||
period           2046 drivers/scsi/sym53c8xx_2/sym_hipd.c 		tp->tprint.period = spi_period(starget);
period           2111 drivers/scsi/sym53c8xx_2/sym_hipd.c 		tp->tgoal.period = per;
period           2137 drivers/scsi/sym53c8xx_2/sym_hipd.c 	spi_period(starget) = tp->tgoal.period = per;
period           4151 drivers/scsi/sym53c8xx_2/sym_hipd.c 		tp->tgoal.period = per;
period           4291 drivers/scsi/sym53c8xx_2/sym_hipd.c 			spi_populate_sync_msg(np->msgout, tp->tgoal.period,
period           4331 drivers/scsi/sym53c8xx_2/sym_hipd.c 		if (tp->tgoal.period < np->minsync)
period           4332 drivers/scsi/sym53c8xx_2/sym_hipd.c 			tp->tgoal.period = np->minsync;
period            337 drivers/scsi/sym53c8xx_2/sym_hipd.h 	u8 period;
period            309 drivers/scsi/wd33c93.c round_period(unsigned int period, const struct sx_period *sx_table)
period            314 drivers/scsi/wd33c93.c 		if ((period <= sx_table[x - 0].period_ns) &&
period            315 drivers/scsi/wd33c93.c 		    (period > sx_table[x - 1].period_ns)) {
period            326 drivers/scsi/wd33c93.c calc_sync_xfer(unsigned int period, unsigned int offset, unsigned int fast,
period            336 drivers/scsi/wd33c93.c 		period *= 2;
period            340 drivers/scsi/wd33c93.c 	period *= 4;		/* convert SDTR code to ns */
period            341 drivers/scsi/wd33c93.c 	result = sx_table[round_period(period,sx_table)].reg_value;
period            351 drivers/scsi/wd33c93.c calc_sync_msg(unsigned int period, unsigned int offset, unsigned int fast,
period            358 drivers/scsi/wd33c93.c 	period /= 4;
period            360 drivers/scsi/wd33c93.c 		period /= 2;
period            361 drivers/scsi/wd33c93.c 	msg[0] = period;
period            723 drivers/staging/comedi/drivers/amplc_dio200_common.c 					      unsigned int *period)
period            729 drivers/staging/comedi/drivers/amplc_dio200_common.c 	*period = (clk < ARRAY_SIZE(ts_clock_period)) ?
period             74 drivers/staging/comedi/drivers/comedi_test.c module_param_named(period, set_period, uint, 0444);
period             75 drivers/staging/comedi/drivers/comedi_test.c MODULE_PARM_DESC(period, "Set auto mode wave period in microseconds: (defaults to 0.1 sec)");
period            672 drivers/staging/comedi/drivers/comedi_test.c 				  int amplitude, int period)
period            684 drivers/staging/comedi/drivers/comedi_test.c 	devpriv->wf_period = period;
period            741 drivers/staging/comedi/drivers/comedi_test.c 	int period = it->options[1];
period            746 drivers/staging/comedi/drivers/comedi_test.c 	if (period <= 0)
period            747 drivers/staging/comedi/drivers/comedi_test.c 		period = 100000;	/* 0.1 sec */
period            749 drivers/staging/comedi/drivers/comedi_test.c 	return waveform_common_attach(dev, amplitude, period);
period            756 drivers/staging/comedi/drivers/comedi_test.c 	int period = set_period;
period            761 drivers/staging/comedi/drivers/comedi_test.c 	if (!period)
period            762 drivers/staging/comedi/drivers/comedi_test.c 		period = 100000;	/* 0.1 sec */
period            764 drivers/staging/comedi/drivers/comedi_test.c 	return waveform_common_attach(dev, amplitude, period);
period            245 drivers/staging/comedi/drivers/ni_at_a2150.c static int a2150_get_timing(struct comedi_device *dev, unsigned int *period,
period            263 drivers/staging/comedi/drivers/ni_at_a2150.c 	if (*period < glb)
period            264 drivers/staging/comedi/drivers/ni_at_a2150.c 		*period = glb;
period            265 drivers/staging/comedi/drivers/ni_at_a2150.c 	if (*period > lub)
period            266 drivers/staging/comedi/drivers/ni_at_a2150.c 		*period = lub;
period            275 drivers/staging/comedi/drivers/ni_at_a2150.c 			if (temp < lub && temp >= *period) {
period            280 drivers/staging/comedi/drivers/ni_at_a2150.c 			if (temp > glb && temp <= *period) {
period            291 drivers/staging/comedi/drivers/ni_at_a2150.c 		if (lub - *period < *period - glb)
period            292 drivers/staging/comedi/drivers/ni_at_a2150.c 			*period = lub;
period            294 drivers/staging/comedi/drivers/ni_at_a2150.c 			*period = glb;
period            297 drivers/staging/comedi/drivers/ni_at_a2150.c 		*period = lub;
period            300 drivers/staging/comedi/drivers/ni_at_a2150.c 		*period = glb;
period            306 drivers/staging/comedi/drivers/ni_at_a2150.c 	if (*period == lub) {
period           1226 drivers/staging/comedi/drivers/usbdux.c 			     unsigned int period)
period           1231 drivers/staging/comedi/drivers/usbdux.c 	if (period < MIN_PWM_PERIOD)
period           1234 drivers/staging/comedi/drivers/usbdux.c 	fx2delay = (period / (6 * 512 * 1000 / 33)) - 6;
period           1239 drivers/staging/comedi/drivers/usbdux.c 	devpriv->pwm_period = period;
period           1074 drivers/staging/comedi/drivers/usbduxsigma.c 				  unsigned int period)
period           1079 drivers/staging/comedi/drivers/usbduxsigma.c 	if (period < MIN_PWM_PERIOD)
period           1082 drivers/staging/comedi/drivers/usbduxsigma.c 	fx2delay = (period / (6 * 512 * 1000 / 33)) - 6;
period           1087 drivers/staging/comedi/drivers/usbduxsigma.c 	devpriv->pwm_period = period;
period             92 drivers/staging/greybus/pwm.c 				   u8 which, u32 duty, u32 period)
period            103 drivers/staging/greybus/pwm.c 	request.period = cpu_to_le32(period);
period            277 drivers/staging/ks7010/ks_hostif.h 	u8 period;
period           2013 drivers/staging/rtl8192e/rtllib_softmac.c 			u8 period = ieee->current_network.dtim_period;
period           2017 drivers/staging/rtl8192e/rtllib_softmac.c 				if (pPSC->LPSAwakeIntvl > period)
period           2018 drivers/staging/rtl8192e/rtllib_softmac.c 					LPSAwakeIntvl_tmp = period +
period           2020 drivers/staging/rtl8192e/rtllib_softmac.c 						 period) -
period           2021 drivers/staging/rtl8192e/rtllib_softmac.c 						 ((pPSC->LPSAwakeIntvl-period) %
period           2022 drivers/staging/rtl8192e/rtllib_softmac.c 						 period);
period           2031 drivers/staging/rtl8192e/rtllib_softmac.c 					((pPSC->LPSAwakeIntvl-count)%period);
period            113 drivers/staging/wusbcore/host/whci/debug.c 	int period;
period            115 drivers/staging/wusbcore/host/whci/debug.c 	for (period = 0; period < 5; period++) {
period            116 drivers/staging/wusbcore/host/whci/debug.c 		seq_printf(s, "Period %d\n", period);
period            117 drivers/staging/wusbcore/host/whci/debug.c 		list_for_each_entry(qset, &whc->periodic_list[period], list_node) {
period             17 drivers/staging/wusbcore/host/whci/pzl.c static void update_pzl_pointers(struct whc *whc, int period, u64 addr)
period             19 drivers/staging/wusbcore/host/whci/pzl.c 	switch (period) {
period             67 drivers/staging/wusbcore/host/whci/pzl.c 	int period;
period             69 drivers/staging/wusbcore/host/whci/pzl.c 	period = qset_get_period(whc, qset);
period             72 drivers/staging/wusbcore/host/whci/pzl.c 	list_move(&qset->list_node, &whc->periodic_list[period]);
period            197 drivers/staging/wusbcore/host/whci/pzl.c 	int period;
period            200 drivers/staging/wusbcore/host/whci/pzl.c 	for (period = 0; period < 5; period++) {
period            201 drivers/staging/wusbcore/host/whci/pzl.c 		list_for_each_entry_safe(qset, t, &whc->periodic_list[period], list_node) {
period            206 drivers/staging/wusbcore/host/whci/pzl.c 		update_pzl_pointers(whc, period, tmp_qh);
period            223 drivers/staging/wusbcore/host/whci/pzl.c 	int period;
period            227 drivers/staging/wusbcore/host/whci/pzl.c 	for (period = 4; period >= 0; period--) {
period            228 drivers/staging/wusbcore/host/whci/pzl.c 		list_for_each_entry_safe(qset, t, &whc->periodic_list[period], list_node) {
period            286 drivers/tty/vt/keyboard.c 		if (rpt[0].period > 0)
period            288 drivers/tty/vt/keyboard.c 					   EV_REP, REP_PERIOD, rpt[0].period);
period            291 drivers/tty/vt/keyboard.c 		rpt[1].period = dev->rep[REP_PERIOD];
period            368 drivers/usb/core/message.c 		unsigned pipe, unsigned	period, struct scatterlist *sg,
period            415 drivers/usb/core/message.c 		urb->interval = period;
period            446 drivers/usb/dwc2/hcd_queue.c 	int period;
period            448 drivers/usb/dwc2/hcd_queue.c 	for (period = 0; period < periods_in_map; period++) {
period            452 drivers/usb/dwc2/hcd_queue.c 		int period_start = period * bits_per_period;
period            476 drivers/usb/dwc2/hcd_queue.c 					   period_name, period);
period            668 drivers/usb/host/ehci-dbg.c 						p.qh->ps.period,
period            717 drivers/usb/host/ehci-dbg.c 					p.sitd->stream->ps.period,
period            825 drivers/usb/host/ehci-q.c 			qh->ps.period = urb->interval >> 3;
period            856 drivers/usb/host/ehci-q.c 			qh->ps.period = urb->interval;
period            202 drivers/usb/host/ehci-sched.c 			ps->phase, ps->phase_uf, ps->period,
period            375 drivers/usb/host/ehci-sched.c 	unsigned		period = ps->bw_period;
period            378 drivers/usb/host/ehci-sched.c 	if ((period == 0) || (uframe >= 7))	/* error */
period            381 drivers/usb/host/ehci-sched.c 	for (frame &= period - 1; frame < EHCI_BANDWIDTH_FRAMES;
period            382 drivers/usb/host/ehci-sched.c 			frame += period) {
period            429 drivers/usb/host/ehci-sched.c 	unsigned		period,
period            435 drivers/usb/host/ehci-sched.c 	if (period == 0)	/* error */
period            442 drivers/usb/host/ehci-sched.c 	for (; frame < ehci->periodic_size; frame += period) {
period            537 drivers/usb/host/ehci-sched.c 	unsigned	period = qh->ps.period;
period            541 drivers/usb/host/ehci-sched.c 		period, hc32_to_cpup(ehci, &qh->hw->hw_info2)
period            546 drivers/usb/host/ehci-sched.c 	if (period == 0)
period            547 drivers/usb/host/ehci-sched.c 		period = 1;
period            549 drivers/usb/host/ehci-sched.c 	for (i = qh->ps.phase; i < ehci->periodic_size; i += period) {
period            569 drivers/usb/host/ehci-sched.c 			if (qh->ps.period > here.qh->ps.period)
period            604 drivers/usb/host/ehci-sched.c 	unsigned	period;
period            622 drivers/usb/host/ehci-sched.c 	period = qh->ps.period ? : 1;
period            624 drivers/usb/host/ehci-sched.c 	for (i = qh->ps.phase; i < ehci->periodic_size; i += period)
period            634 drivers/usb/host/ehci-sched.c 		qh->ps.period,
period            900 drivers/usb/host/ehci-sched.c 	qh->ps.phase = (qh->ps.period ? ehci->random_frame &
period            901 drivers/usb/host/ehci-sched.c 			(qh->ps.period - 1) : 0);
period            904 drivers/usb/host/ehci-sched.c 	qh->ps.cs_mask = qh->ps.period ?
period           1079 drivers/usb/host/ehci-sched.c 		stream->ps.period = urb->interval >> 3;
period           1122 drivers/usb/host/ehci-sched.c 		stream->ps.period = urb->interval;
period           1486 drivers/usb/host/ehci-sched.c 	u32			now, base, next, start, period, span, now2;
period           1494 drivers/usb/host/ehci-sched.c 	period = stream->uperiod;
period           1514 drivers/usb/host/ehci-sched.c 			start = ((-(++ehci->random_frame)) << 3) & (period - 1);
period           1522 drivers/usb/host/ehci-sched.c 			start += period;
period           1545 drivers/usb/host/ehci-sched.c 					(stream->ps.period - 1);
period           1593 drivers/usb/host/ehci-sched.c 	if (unlikely(!empty && start < period)) {
period           1595 drivers/usb/host/ehci-sched.c 				urb, stream->next_uframe, base, period, mod);
period           1601 drivers/usb/host/ehci-sched.c 	if (likely(!empty || start <= now2 + period)) {
period           1621 drivers/usb/host/ehci-sched.c 	skip = (now2 - start + period - 1) & -period;
period           1624 drivers/usb/host/ehci-sched.c 				urb, start + base, span - period, now2 + base,
period           1628 drivers/usb/host/ehci-sched.c 		skip = span - period;
period           1638 drivers/usb/host/ehci-sched.c 	urb->error_count = skip / period;
period           1645 drivers/usb/host/ehci-sched.c 	start = next + ((start - next) & (period - 1));
period           1649 drivers/usb/host/ehci-sched.c 	if (unlikely(start + span - period >= mod + wrap)) {
period           1651 drivers/usb/host/ehci-sched.c 				urb, start, span - period, mod + wrap);
period           2003 drivers/usb/host/ehci-sched.c 	iso_sched->span = urb->number_of_packets * stream->ps.period;
period           2315 drivers/usb/host/ehci-sched.c 	if (urb->interval != stream->ps.period) {
period           2317 drivers/usb/host/ehci-sched.c 			stream->ps.period, urb->interval);
period             54 drivers/usb/host/ehci.h 	u16			period;		/* actual period in frames */
period            562 drivers/usb/host/fotg210-hcd.c 						p.qh->period,
period           2764 drivers/usb/host/fotg210-hcd.c 			qh->period = urb->interval >> 3;
period           2765 drivers/usb/host/fotg210-hcd.c 			if (qh->period == 0 && urb->interval != 1) {
period           2771 drivers/usb/host/fotg210-hcd.c 			} else if (qh->period > fotg210->periodic_size) {
period           2772 drivers/usb/host/fotg210-hcd.c 				qh->period = fotg210->periodic_size;
period           2773 drivers/usb/host/fotg210-hcd.c 				urb->interval = qh->period << 3;
period           2795 drivers/usb/host/fotg210-hcd.c 			qh->period = urb->interval;
period           2796 drivers/usb/host/fotg210-hcd.c 			if (qh->period > fotg210->periodic_size) {
period           2797 drivers/usb/host/fotg210-hcd.c 				qh->period = fotg210->periodic_size;
period           2798 drivers/usb/host/fotg210-hcd.c 				urb->interval = qh->period;
period           3401 drivers/usb/host/fotg210-hcd.c static int tt_no_collision(struct fotg210_hcd *fotg210, unsigned period,
period           3404 drivers/usb/host/fotg210-hcd.c 	if (period == 0)	/* error */
period           3411 drivers/usb/host/fotg210-hcd.c 	for (; frame < fotg210->periodic_size; frame += period) {
period           3487 drivers/usb/host/fotg210-hcd.c 	unsigned period = qh->period;
period           3490 drivers/usb/host/fotg210-hcd.c 			"link qh%d-%04x/%p start %d [%d/%d us]\n", period,
period           3496 drivers/usb/host/fotg210-hcd.c 	if (period == 0)
period           3497 drivers/usb/host/fotg210-hcd.c 		period = 1;
period           3499 drivers/usb/host/fotg210-hcd.c 	for (i = qh->start; i < fotg210->periodic_size; i += period) {
period           3519 drivers/usb/host/fotg210-hcd.c 			if (qh->period > here.qh->period)
period           3539 drivers/usb/host/fotg210-hcd.c 	fotg210_to_hcd(fotg210)->self.bandwidth_allocated += qh->period
period           3540 drivers/usb/host/fotg210-hcd.c 		? ((qh->usecs + qh->c_usecs) / qh->period)
period           3554 drivers/usb/host/fotg210-hcd.c 	unsigned period;
period           3572 drivers/usb/host/fotg210-hcd.c 	period = qh->period;
period           3573 drivers/usb/host/fotg210-hcd.c 	if (!period)
period           3574 drivers/usb/host/fotg210-hcd.c 		period = 1;
period           3576 drivers/usb/host/fotg210-hcd.c 	for (i = qh->start; i < fotg210->periodic_size; i += period)
period           3580 drivers/usb/host/fotg210-hcd.c 	fotg210_to_hcd(fotg210)->self.bandwidth_allocated -= qh->period
period           3581 drivers/usb/host/fotg210-hcd.c 		? ((qh->usecs + qh->c_usecs) / qh->period)
period           3586 drivers/usb/host/fotg210-hcd.c 			qh->period, hc32_to_cpup(fotg210, &qh->hw->hw_info2) &
period           3675 drivers/usb/host/fotg210-hcd.c 		unsigned uframe, unsigned period, unsigned usecs)
period           3691 drivers/usb/host/fotg210-hcd.c 	if (unlikely(period == 0)) {
period           3707 drivers/usb/host/fotg210-hcd.c 		} while ((frame += period) < fotg210->periodic_size);
period           3723 drivers/usb/host/fotg210-hcd.c 	if (!check_period(fotg210, frame, uframe, qh->period, qh->usecs))
period           3742 drivers/usb/host/fotg210-hcd.c 	if (tt_no_collision(fotg210, qh->period, qh->dev, frame, mask)) {
period           3744 drivers/usb/host/fotg210-hcd.c 				qh->period, qh->c_usecs))
period           3747 drivers/usb/host/fotg210-hcd.c 				qh->period, qh->c_usecs))
period           3771 drivers/usb/host/fotg210-hcd.c 	if (frame < qh->period) {
period           3786 drivers/usb/host/fotg210-hcd.c 		if (qh->period) {
period           3789 drivers/usb/host/fotg210-hcd.c 			for (i = qh->period; status && i > 0; --i) {
period           3790 drivers/usb/host/fotg210-hcd.c 				frame = ++fotg210->random_frame % qh->period;
period           3812 drivers/usb/host/fotg210-hcd.c 		hw->hw_info2 |= qh->period
period           4138 drivers/usb/host/fotg210-hcd.c 		u8 usecs, u32 period)
period           4140 drivers/usb/host/fotg210-hcd.c 	uframe %= period;
period           4148 drivers/usb/host/fotg210-hcd.c 		uframe += period;
period           4168 drivers/usb/host/fotg210-hcd.c 	u32 now, next, start, period, span;
period           4173 drivers/usb/host/fotg210-hcd.c 	period = urb->interval;
period           4206 drivers/usb/host/fotg210-hcd.c 		excess = (stream->next_uframe - period - next) & (mod - 1);
period           4208 drivers/usb/host/fotg210-hcd.c 			start = next + excess - mod + period *
period           4209 drivers/usb/host/fotg210-hcd.c 					DIV_ROUND_UP(mod - excess, period);
period           4211 drivers/usb/host/fotg210-hcd.c 			start = next + excess + period;
period           4214 drivers/usb/host/fotg210-hcd.c 					urb, start - now - period, period,
period           4240 drivers/usb/host/fotg210-hcd.c 		start += period;
period           4245 drivers/usb/host/fotg210-hcd.c 					stream->usecs, period))
period           4259 drivers/usb/host/fotg210-hcd.c 	if (unlikely(start - now + span - period >=
period           4262 drivers/usb/host/fotg210-hcd.c 				urb, start - now, span - period,
period            465 drivers/usb/host/fotg210.h 	unsigned short		period;		/* polling interval */
period            323 drivers/usb/host/isp116x-hcd.c 	DBG("deschedule qh%d/%p branch %d\n", ep->period, ep, ep->branch);
period            324 drivers/usb/host/isp116x-hcd.c 	for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) {
period            336 drivers/usb/host/isp116x-hcd.c 	    ep->load / ep->period;
period            652 drivers/usb/host/isp116x-hcd.c static int balance(struct isp116x *isp116x, u16 period, u16 load)
period            658 drivers/usb/host/isp116x-hcd.c 	for (i = 0; i < period; i++) {
period            662 drivers/usb/host/isp116x-hcd.c 			for (j = i; j < PERIODIC_SIZE; j += period) {
period            755 drivers/usb/host/isp116x-hcd.c 			ep->period = urb->interval >> 1;
period            776 drivers/usb/host/isp116x-hcd.c 		urb->interval = ep->period;
period            784 drivers/usb/host/isp116x-hcd.c 		ep->branch = ret = balance(isp116x, ep->period, ep->load);
period            795 drivers/usb/host/isp116x-hcd.c 		DBG("schedule qh%d/%p branch %d\n", ep->period, ep, ep->branch);
period            796 drivers/usb/host/isp116x-hcd.c 		for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) {
period            801 drivers/usb/host/isp116x-hcd.c 				if (ep->period > here->period)
period            812 drivers/usb/host/isp116x-hcd.c 		hcd->self.bandwidth_allocated += ep->load / ep->period;
period            318 drivers/usb/host/isp116x.h 	u16 period;
period            349 drivers/usb/host/oxu210hp-hcd.c 	unsigned short		period;		/* polling interval */
period           1819 drivers/usb/host/oxu210hp-hcd.c 			qh->period = urb->interval >> 3;
period           1820 drivers/usb/host/oxu210hp-hcd.c 			if (qh->period == 0 && urb->interval != 1) {
period           1850 drivers/usb/host/oxu210hp-hcd.c 			qh->period = urb->interval;
period           2355 drivers/usb/host/oxu210hp-hcd.c 	unsigned period = qh->period;
period           2359 drivers/usb/host/oxu210hp-hcd.c 		period, le32_to_cpup(&qh->hw_info2) & (QH_CMASK | QH_SMASK),
period           2363 drivers/usb/host/oxu210hp-hcd.c 	if (period == 0)
period           2364 drivers/usb/host/oxu210hp-hcd.c 		period = 1;
period           2366 drivers/usb/host/oxu210hp-hcd.c 	for (i = qh->start; i < oxu->periodic_size; i += period) {
period           2386 drivers/usb/host/oxu210hp-hcd.c 			if (qh->period > here.qh->period)
period           2406 drivers/usb/host/oxu210hp-hcd.c 	oxu_to_hcd(oxu)->self.bandwidth_allocated += qh->period
period           2407 drivers/usb/host/oxu210hp-hcd.c 		? ((qh->usecs + qh->c_usecs) / qh->period)
period           2420 drivers/usb/host/oxu210hp-hcd.c 	unsigned period;
period           2431 drivers/usb/host/oxu210hp-hcd.c 	period = qh->period;
period           2432 drivers/usb/host/oxu210hp-hcd.c 	if (period == 0)
period           2433 drivers/usb/host/oxu210hp-hcd.c 		period = 1;
period           2435 drivers/usb/host/oxu210hp-hcd.c 	for (i = qh->start; i < oxu->periodic_size; i += period)
period           2439 drivers/usb/host/oxu210hp-hcd.c 	oxu_to_hcd(oxu)->self.bandwidth_allocated -= qh->period
period           2440 drivers/usb/host/oxu210hp-hcd.c 		? ((qh->usecs + qh->c_usecs) / qh->period)
period           2445 drivers/usb/host/oxu210hp-hcd.c 		qh->period,
period           2485 drivers/usb/host/oxu210hp-hcd.c 			unsigned period, unsigned usecs)
period           2504 drivers/usb/host/oxu210hp-hcd.c 	if (unlikely(period == 0)) {
period           2519 drivers/usb/host/oxu210hp-hcd.c 		} while ((frame += period) < oxu->periodic_size);
period           2534 drivers/usb/host/oxu210hp-hcd.c 	if (!check_period(oxu, frame, uframe, qh->period, qh->usecs))
period           2561 drivers/usb/host/oxu210hp-hcd.c 	if (frame < qh->period) {
period           2576 drivers/usb/host/oxu210hp-hcd.c 		if (qh->period) {
period           2577 drivers/usb/host/oxu210hp-hcd.c 			frame = qh->period - 1;
period           2599 drivers/usb/host/oxu210hp-hcd.c 		qh->hw_info2 |= qh->period
period            361 drivers/usb/host/sl811-hcd.c 			if (ep->period)
period            369 drivers/usb/host/sl811-hcd.c 			if (ep->period)
period            451 drivers/usb/host/sl811-hcd.c 		"deschedule qh%d/%p branch %d\n", ep->period, ep, ep->branch);
period            452 drivers/usb/host/sl811-hcd.c 	for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) {
period            465 drivers/usb/host/sl811-hcd.c 		-= ep->load / ep->period;
period            491 drivers/usb/host/sl811-hcd.c 		if (!ep->period)
period            764 drivers/usb/host/sl811-hcd.c static int balance(struct sl811 *sl811, u16 period, u16 load)
period            771 drivers/usb/host/sl811-hcd.c 	for (i = 0; i < period ; i++) {
period            775 drivers/usb/host/sl811-hcd.c 			for (j = i; j < PERIODIC_SIZE; j += period) {
period            876 drivers/usb/host/sl811-hcd.c 			ep->period = urb->interval;
period            900 drivers/usb/host/sl811-hcd.c 		urb->interval = ep->period;
period            912 drivers/usb/host/sl811-hcd.c 		retval = balance(sl811, ep->period, ep->load);
period            925 drivers/usb/host/sl811-hcd.c 			ep->period, ep, ep->branch);
period            926 drivers/usb/host/sl811-hcd.c 		for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) {
period            931 drivers/usb/host/sl811-hcd.c 				if (ep->period > here->period)
period            943 drivers/usb/host/sl811-hcd.c 		hcd->self.bandwidth_allocated += ep->load / ep->period;
period           1476 drivers/usb/host/sl811-hcd.c 				ep->period, ep,
period            183 drivers/usb/host/sl811.h 	u16			period;
period            188 drivers/usb/host/uhci-debug.c 				space, "", qh->period, qh->phase, qh->load,
period            192 drivers/usb/host/uhci-debug.c 				space, "", qh->period, qh->phase, qh->load);
period            170 drivers/usb/host/uhci-hcd.h 	unsigned int period;		/* For Interrupt and Isochronous QHs */
period            610 drivers/usb/host/uhci-q.c static int uhci_highest_load(struct uhci_hcd *uhci, int phase, int period)
period            614 drivers/usb/host/uhci-q.c 	for (phase += period; phase < MAX_PHASE; phase += period)
period            630 drivers/usb/host/uhci-q.c 		minimax_load = uhci_highest_load(uhci, qh->phase, qh->period);
period            633 drivers/usb/host/uhci-q.c 		int max_phase = min_t(int, MAX_PHASE, qh->period);
period            636 drivers/usb/host/uhci-q.c 		minimax_load = uhci_highest_load(uhci, qh->phase, qh->period);
period            638 drivers/usb/host/uhci-q.c 			load = uhci_highest_load(uhci, phase, qh->period);
period            650 drivers/usb/host/uhci-q.c 				qh->period, qh->phase, minimax_load, qh->load);
period            665 drivers/usb/host/uhci-q.c 	for (i = qh->phase; i < MAX_PHASE; i += qh->period) {
period            686 drivers/usb/host/uhci-q.c 			qh->period, qh->phase, load);
period            698 drivers/usb/host/uhci-q.c 	for (i = qh->phase; i < MAX_PHASE; i += qh->period) {
period            719 drivers/usb/host/uhci-q.c 			qh->period, qh->phase, load);
period           1096 drivers/usb/host/uhci-q.c 			qh->period = 1 << exponent;
period           1102 drivers/usb/host/uhci-q.c 			qh->phase = (qh->period / 2) & (MAX_PHASE - 1);
period           1107 drivers/usb/host/uhci-q.c 	} else if (qh->period > urb->interval)
period           1112 drivers/usb/host/uhci-q.c 		urb->interval = qh->period;
period           1272 drivers/usb/host/uhci-q.c 		qh->period = urb->interval;
period           1283 drivers/usb/host/uhci-q.c 		frame += (next - frame + qh->period - 1) & -qh->period;
period           1285 drivers/usb/host/uhci-q.c 	} else if (qh->period != urb->interval) {
period           1309 drivers/usb/host/uhci-q.c 				frame += (next - frame + qh->period - 1) &
period           1310 drivers/usb/host/uhci-q.c 						-qh->period;
period           1318 drivers/usb/host/uhci-q.c 						qh->period))
period           1322 drivers/usb/host/uhci-q.c 							qh->period,
period           1355 drivers/usb/host/uhci-q.c 		frame += qh->period;
period           1402 drivers/usb/host/uhci-q.c 		qh->iso_frame += qh->period;
period            614 drivers/usb/isp1760/isp1760-hcd.c 	u32 period;
period            627 drivers/usb/isp1760/isp1760-hcd.c 		period = qtd->urb->interval >> 3;
period            640 drivers/usb/isp1760/isp1760-hcd.c 		period = qtd->urb->interval;
period            655 drivers/usb/isp1760/isp1760-hcd.c 	period = period >> 1;/* Ensure equal or shorter period than requested */
period            656 drivers/usb/isp1760/isp1760-hcd.c 	period &= 0xf8; /* Mask off too large values and lowest unused 3 bits */
period            658 drivers/usb/isp1760/isp1760-hcd.c 	ptd->dw2 |= period;
period            272 drivers/usb/serial/generic.c 	unsigned long period;
period            282 drivers/usb/serial/generic.c 	period = max_t(unsigned long, (10 * HZ / bps), 1);
period            284 drivers/usb/serial/generic.c 		period = min_t(unsigned long, period, timeout);
period            288 drivers/usb/serial/generic.c 					jiffies_to_msecs(period));
period            291 drivers/usb/serial/generic.c 		schedule_timeout_interruptible(period);
period            170 drivers/video/backlight/lm3630a_bl.c 	unsigned int period = pchip->pdata->pwm_period;
period            171 drivers/video/backlight/lm3630a_bl.c 	unsigned int duty = br * period / br_max;
period            173 drivers/video/backlight/lm3630a_bl.c 	pwm_config(pchip->pwmd, duty, period);
period            236 drivers/video/backlight/lp855x_bl.c 	unsigned int period = lp->pdata->period_ns;
period            237 drivers/video/backlight/lp855x_bl.c 	unsigned int duty = br * period / max_br;
period            255 drivers/video/backlight/lp855x_bl.c 	pwm_config(lp->pwm, duty, period);
period            123 drivers/video/backlight/lp8788_bl.c 	unsigned int period;
period            131 drivers/video/backlight/lp8788_bl.c 	period = bl->pdata->period_ns;
period            132 drivers/video/backlight/lp8788_bl.c 	duty = br * period / max_br;
period            152 drivers/video/backlight/lp8788_bl.c 	pwm_config(bl->pwm, duty, period);
period            103 drivers/video/backlight/pwm_bl.c 	duty_cycle *= state.period - lth;
period            190 drivers/video/backlight/pwm_bl.c 				     unsigned int period)
period            201 drivers/video/backlight/pwm_bl.c 		min((int)DIV_ROUND_UP(period, fls(period)), 4096);
period            212 drivers/video/backlight/pwm_bl.c 				 period;
period            384 drivers/video/backlight/pwm_bl.c 				     unsigned int period)
period            554 drivers/video/backlight/pwm_bl.c 	if (!state.period && (data->pwm_period_ns > 0))
period            555 drivers/video/backlight/pwm_bl.c 		state.period = data->pwm_period_ns;
period            596 drivers/video/backlight/pwm_bl.c 						       state.period);
period            619 drivers/video/backlight/pwm_bl.c 	pb->lth_brightness = data->lth_brightness * (state.period / pb->scale);
period            393 drivers/video/fbdev/da8xx-fb.c static void lcd_cfg_ac_bias(int period, int transitions_per_int)
period            399 drivers/video/fbdev/da8xx-fb.c 	reg |= LCD_AC_BIAS_FREQUENCY(period) |
period            320 drivers/video/fbdev/ssd1307fb.c 		par->pwm_period = pargs.period;
period             55 drivers/watchdog/booke_wdt.c static unsigned long long period_to_sec(unsigned int period)
period             57 drivers/watchdog/booke_wdt.c 	unsigned long long tmp = 1ULL << (64 - period);
period             76 drivers/watchdog/booke_wdt.c 	unsigned int period;
period             77 drivers/watchdog/booke_wdt.c 	for (period = 63; period > 0; period--) {
period             78 drivers/watchdog/booke_wdt.c 		if (period_to_sec(period) >= secs)
period             79 drivers/watchdog/booke_wdt.c 			return period;
period             88 drivers/watchdog/booke_wdt.c static unsigned long long period_to_sec(unsigned int period)
period             90 drivers/watchdog/booke_wdt.c 	return period;
period             47 drivers/watchdog/nic7018_wdt.c 	u32 period;
period             52 drivers/watchdog/nic7018_wdt.c 	u32 period;
period             61 drivers/watchdog/nic7018_wdt.c static inline u32 nic7018_timeout(u32 period, u8 counter)
period             63 drivers/watchdog/nic7018_wdt.c 	return period * counter - period / 2;
period             98 drivers/watchdog/nic7018_wdt.c 	wdd->timeout = nic7018_timeout(config->period, counter);
period             99 drivers/watchdog/nic7018_wdt.c 	wdt->period = config->period;
period            151 drivers/watchdog/nic7018_wdt.c 	return nic7018_timeout(wdt->period, count);
period             76 drivers/watchdog/pic32-wdt.c 	u32 period, ps, terminal;
period             93 drivers/watchdog/pic32-wdt.c 	period = terminal / rate;
period             96 drivers/watchdog/pic32-wdt.c 		rate, terminal, period);
period             98 drivers/watchdog/pic32-wdt.c 	return period;
period             44 drivers/watchdog/wdat_wdt.c 	unsigned int period;
period            282 drivers/watchdog/wdat_wdt.c 	periods = timeout * 1000 / wdat->period;
period            295 drivers/watchdog/wdat_wdt.c 	return periods * wdat->period / 1000;
period            344 drivers/watchdog/wdat_wdt.c 	wdat->period = tbl->timer_period;
period            345 drivers/watchdog/wdat_wdt.c 	wdat->wdd.min_hw_heartbeat_ms = wdat->period * tbl->min_count;
period            346 drivers/watchdog/wdat_wdt.c 	wdat->wdd.max_hw_heartbeat_ms = wdat->period * tbl->max_count;
period            722 fs/ext4/mballoc.c 	unsigned long long period = get_cycles();
period            760 fs/ext4/mballoc.c 	period = get_cycles() - period;
period            763 fs/ext4/mballoc.c 	sbi->s_mb_generation_time += period;
period            612 include/acpi/actbl3.h 	u16 period;
period             32 include/linux/flex_proportions.h 	unsigned int period;
period             48 include/linux/flex_proportions.h 	unsigned int period;
period             80 include/linux/flex_proportions.h 	unsigned int period;
period            816 include/linux/greybus/greybus_protocols.h 	__le32	period;
period            705 include/linux/ieee80211.h 	u8 period;
period            502 include/linux/input.h void input_enable_softrepeat(struct input_dev *dev, int delay, int period);
period            178 include/linux/mlx4/cq.h 		   u16 count, u16 period);
period            199 include/linux/nmi.h void watchdog_update_hrtimer_threshold(u64 period);
period            201 include/linux/nmi.h static inline void watchdog_update_hrtimer_threshold(u64 period) { }
period            940 include/linux/perf_event.h 	u64				period;
period            985 include/linux/perf_event.h 					 u64 addr, u64 period)
period            991 include/linux/perf_event.h 	data->period = period;
period             42 include/linux/pwm.h 	unsigned int period;
period             59 include/linux/pwm.h 	unsigned int period;
period            108 include/linux/pwm.h static inline void pwm_set_period(struct pwm_device *pwm, unsigned int period)
period            111 include/linux/pwm.h 		pwm->state.period = period;
period            120 include/linux/pwm.h 	return state.period;
period            181 include/linux/pwm.h 	state->period = args.period;
period            202 include/linux/pwm.h 	if (!state->period)
period            206 include/linux/pwm.h 				     state->period);
period            235 include/linux/pwm.h 						  state->period,
period            311 include/linux/pwm.h 	unsigned int period;
period            342 include/linux/pwm.h 	if (state.duty_cycle == duty_ns && state.period == period_ns)
period            346 include/linux/pwm.h 	state.period = period_ns;
period            563 include/linux/pwm.h 	state.period = pwm->args.period;
period            574 include/linux/pwm.h 	unsigned int period;
period            586 include/linux/pwm.h 		.period = _period,					\
period             91 include/linux/rtc.h 	ktime_t period;
period            207 include/linux/rtc.h 		    ktime_t expires, ktime_t period);
period             15 include/linux/timeriomem-rng.h 	unsigned int		period;
period           1877 include/linux/usb.h 	unsigned		period,
period           1620 include/net/bluetooth/hci.h 	__le16  period;
period             19 include/scsi/scsi_transport_spi.h 	int period;		/* value in the PPR/SDTR command */
period             62 include/scsi/scsi_transport_spi.h #define spi_period(x)	(((struct spi_transport_attrs *)&(x)->starget_data)->period)
period            144 include/scsi/scsi_transport_spi.h int spi_populate_sync_msg(unsigned char *msg, int period, int offset);
period            145 include/scsi/scsi_transport_spi.h int spi_populate_ppr_msg(unsigned char *msg, int period, int offset, int width,
period            166 include/sound/sof/topology.h 	int32_t period;
period            227 include/sound/sof/topology.h 	uint32_t period;	/**< execution period in us*/
period            168 include/trace/events/rtc.h 		__field(ktime_t, period)
period            174 include/trace/events/rtc.h 		__entry->period = timer->period;
period            178 include/trace/events/rtc.h 		  __entry->timer, __entry->expires, __entry->period
period            637 include/trace/events/writeback.h 		 unsigned long period,
period            643 include/trace/events/writeback.h 		dirtied, period, pause, start_time),
period            658 include/trace/events/writeback.h 		__field(unsigned long,	period)
period            680 include/trace/events/writeback.h 		__entry->period		= period * 1000 / HZ;
period            705 include/trace/events/writeback.h 		  __entry->period,	/* ms */
period            403 include/uapi/linux/input.h 	__u16 period;
period            150 include/uapi/linux/kd.h 	int period;	/* in msec; <= 0: don't change */
period            446 include/uapi/linux/pkt_sched.h 	__u32	period;		/* current period */
period            103 include/uapi/linux/ptp_clock.h 	struct ptp_clock_time period; /* Desired period, zero means disable. */
period            910 include/xen/interface/io/sndif.h 	} period;
period           1744 kernel/events/core.c 		size += sizeof(data->period);
period           3673 kernel/events/core.c 	s64 period, sample_period;
period           3676 kernel/events/core.c 	period = perf_calculate_period(event, nsec, count);
period           3678 kernel/events/core.c 	delta = (s64)(period - hwc->sample_period);
period           3709 kernel/events/core.c 	u64 now, period = TICK_NSEC;
period           3760 kernel/events/core.c 			perf_adjust_period(event, period, delta, false);
period           6393 kernel/events/core.c 		perf_output_put(handle, data->period);
period           8253 kernel/events/core.c 	u64 period = hwc->last_period;
period           8264 kernel/events/core.c 	nr = div64_u64(period + val, period);
period           8265 kernel/events/core.c 	offset = nr * period;
period           8314 kernel/events/core.c 		data->period = nr;
period           8317 kernel/events/core.c 		data->period = event->hw.last_period;
period           9583 kernel/events/core.c 	u64 period;
period           9601 kernel/events/core.c 	period = max_t(u64, 10000, event->hw.sample_period);
period           9602 kernel/events/core.c 	hrtimer_forward_now(hrtimer, ns_to_ktime(period));
period           9610 kernel/events/core.c 	s64 period;
period           9615 kernel/events/core.c 	period = local64_read(&hwc->period_left);
period           9616 kernel/events/core.c 	if (period) {
period           9617 kernel/events/core.c 		if (period < 0)
period           9618 kernel/events/core.c 			period = 10000;
period           9622 kernel/events/core.c 		period = max_t(u64, 10000, hwc->sample_period);
period           9624 kernel/events/core.c 	hrtimer_start(&hwc->hrtimer, ns_to_ktime(period),
period            319 kernel/irq/timings.c 	int period;
period            337 kernel/irq/timings.c 	for (period = period_max; period >= PREDICTION_PERIOD_MIN; period--) {
period            345 kernel/irq/timings.c 		int idx = period;
period            346 kernel/irq/timings.c 		size_t size = period;
period            367 kernel/irq/timings.c 				return buffer[len % period];
period            374 kernel/irq/timings.c 			if (len - idx < period)
period           2916 kernel/sched/core.c unsigned long to_ratio(u64 period, u64 runtime)
period           2926 kernel/sched/core.c 	if (period == 0)
period           2929 kernel/sched/core.c 	return div64_u64(runtime << BW_SHIFT, period);
period           7377 kernel/sched/core.c static int __cfs_schedulable(struct task_group *tg, u64 period, u64 runtime);
period           7379 kernel/sched/core.c static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota)
period           7392 kernel/sched/core.c 	if (quota < min_cfs_quota_period || period < min_cfs_quota_period)
period           7400 kernel/sched/core.c 	if (period > max_cfs_quota_period)
period           7409 kernel/sched/core.c 	ret = __cfs_schedulable(tg, period, quota);
period           7422 kernel/sched/core.c 	cfs_b->period = ns_to_ktime(period);
period           7457 kernel/sched/core.c 	u64 quota, period;
period           7459 kernel/sched/core.c 	period = ktime_to_ns(tg->cfs_bandwidth.period);
period           7467 kernel/sched/core.c 	return tg_set_cfs_bandwidth(tg, period, quota);
period           7485 kernel/sched/core.c 	u64 quota, period;
period           7490 kernel/sched/core.c 	period = (u64)cfs_period_us * NSEC_PER_USEC;
period           7493 kernel/sched/core.c 	return tg_set_cfs_bandwidth(tg, period, quota);
period           7500 kernel/sched/core.c 	cfs_period_us = ktime_to_ns(tg->cfs_bandwidth.period);
period           7532 kernel/sched/core.c 	u64 period, quota;
period           7542 kernel/sched/core.c 	u64 quota, period;
period           7545 kernel/sched/core.c 		period = d->period;
period           7548 kernel/sched/core.c 		period = tg_get_cfs_period(tg);
period           7556 kernel/sched/core.c 	return to_ratio(period, quota);
period           7592 kernel/sched/core.c static int __cfs_schedulable(struct task_group *tg, u64 period, u64 quota)
period           7597 kernel/sched/core.c 		.period = period,
period           7602 kernel/sched/core.c 		do_div(data.period, NSEC_PER_USEC);
period           7802 kernel/sched/core.c 						  long period, long quota)
period           7809 kernel/sched/core.c 	seq_printf(sf, " %ld\n", period);
period           7846 kernel/sched/core.c 	u64 period = tg_get_cfs_period(tg);
period           7850 kernel/sched/core.c 	ret = cpu_period_quota_parse(buf, &period, &quota);
period           7852 kernel/sched/core.c 		ret = tg_set_cfs_bandwidth(tg, period, quota);
period            337 kernel/sched/deadline.c void init_dl_bandwidth(struct dl_bandwidth *dl_b, u64 period, u64 runtime)
period            340 kernel/sched/deadline.c 	dl_b->dl_period = period;
period           2469 kernel/sched/deadline.c 	u64 period = global_rt_period();
period           2470 kernel/sched/deadline.c 	u64 new_bw = to_ratio(period, runtime);
period           2556 kernel/sched/deadline.c 	u64 period = attr->sched_period ?: attr->sched_deadline;
period           2558 kernel/sched/deadline.c 	u64 new_bw = dl_policy(policy) ? to_ratio(period, runtime) : 0;
period           1145 kernel/sched/fair.c 	unsigned long period = smin;
period           1155 kernel/sched/fair.c 		period *= refcount_read(&ng->refcount);
period           1156 kernel/sched/fair.c 		period *= shared + 1;
period           1157 kernel/sched/fair.c 		period /= private + shared + 1;
period           1161 kernel/sched/fair.c 	return max(smin, period);
period           1178 kernel/sched/fair.c 		unsigned long period = smax;
period           1180 kernel/sched/fair.c 		period *= refcount_read(&ng->refcount);
period           1181 kernel/sched/fair.c 		period *= shared + 1;
period           1182 kernel/sched/fair.c 		period /= private + shared + 1;
period           1184 kernel/sched/fair.c 		smax = max(smax, period);
period           2010 kernel/sched/fair.c static u64 numa_get_avg_runtime(struct task_struct *p, u64 *period)
period           2019 kernel/sched/fair.c 		*period = now - p->last_task_numa_placement;
period           2022 kernel/sched/fair.c 		if (unlikely((s64)*period < 0))
period           2023 kernel/sched/fair.c 			*period = 0;
period           2026 kernel/sched/fair.c 		*period = LOAD_AVG_MAX;
period           2129 kernel/sched/fair.c 	u64 runtime, period;
period           2146 kernel/sched/fair.c 	runtime = numa_get_avg_runtime(p, &period);
period           2182 kernel/sched/fair.c 			f_weight = div64_u64(runtime << 16, period + 1);
period           2676 kernel/sched/fair.c 	u64 period, now;
period           2691 kernel/sched/fair.c 	period = (u64)curr->numa_scan_period * NSEC_PER_MSEC;
period           2693 kernel/sched/fair.c 	if (now > curr->node_stamp + period) {
period           2696 kernel/sched/fair.c 		curr->node_stamp += period;
period           4941 kernel/sched/fair.c 		overrun = hrtimer_forward_now(timer, cfs_b->period);
period           4946 kernel/sched/fair.c 			u64 new, old = ktime_to_ns(cfs_b->period);
period           4955 kernel/sched/fair.c 				cfs_b->period = ns_to_ktime(new);
period           4989 kernel/sched/fair.c 	cfs_b->period = ns_to_ktime(default_cfs_period());
period           5014 kernel/sched/fair.c 	hrtimer_forward_now(&cfs_b->period_timer, cfs_b->period);
period            283 kernel/sched/psi.c 		      u64 time, u64 period)
period            295 kernel/sched/psi.c 	pct = div_u64(time * 100, period);
period            360 kernel/sched/psi.c 	u64 expires, period;
period            377 kernel/sched/psi.c 	period = now - (group->avg_last_update + (missed_periods * psi_period));
period            401 kernel/sched/psi.c 		if (sample > period)
period            402 kernel/sched/psi.c 			sample = period;
period            404 kernel/sched/psi.c 		calc_avgs(group->avg[s], missed_periods, sample, period);
period           1101 kernel/sched/psi.c 		u64 period = ULLONG_MAX;
period           1109 kernel/sched/psi.c 			period = min(period, div_u64(tmp->win.size,
period           1111 kernel/sched/psi.c 		group->poll_min_period = period;
period             41 kernel/sched/rt.c void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime)
period             43 kernel/sched/rt.c 	rt_b->rt_period = ns_to_ktime(period);
period           2432 kernel/sched/rt.c 	u64 period, runtime;
period           2434 kernel/sched/rt.c 	period = ktime_to_ns(tg->rt_bandwidth.rt_period);
period           2438 kernel/sched/rt.c 		period = d->rt_period;
period           2445 kernel/sched/rt.c 	if (runtime > period && runtime != RUNTIME_INF)
period           2454 kernel/sched/rt.c 	total = to_ratio(period, runtime);
period           2466 kernel/sched/rt.c 		period = ktime_to_ns(child->rt_bandwidth.rt_period);
period           2470 kernel/sched/rt.c 			period = d->rt_period;
period           2474 kernel/sched/rt.c 		sum += to_ratio(period, runtime);
period           2483 kernel/sched/rt.c static int __rt_schedulable(struct task_group *tg, u64 period, u64 runtime)
period           2489 kernel/sched/rt.c 		.rt_period = period,
period            340 kernel/sched/sched.h 	ktime_t			period;
period           1881 kernel/sched/sched.h extern void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime);
period           1884 kernel/sched/sched.h extern void init_dl_bandwidth(struct dl_bandwidth *dl_b, u64 period, u64 runtime);
period           1892 kernel/sched/sched.h unsigned long to_ratio(u64 period, u64 runtime);
period            106 kernel/time/tick-sched.c 	ktime_t period;
period            112 kernel/time/tick-sched.c 	period = last_jiffies_update;
period            114 kernel/time/tick-sched.c 	return period;
period           1158 kernel/trace/bpf_trace.c 				      bpf_target_off(struct perf_sample_data, period, 8,
period             50 kernel/watchdog_hld.c void watchdog_update_hrtimer_threshold(u64 period)
period             73 kernel/watchdog_hld.c 	watchdog_hrtimer_sample_threshold = period * 2;
period             42 lib/flex_proportions.c 	p->period = 0;
period             83 lib/flex_proportions.c 	p->period += periods;
period             97 lib/flex_proportions.c 	pl->period = 0;
period            109 lib/flex_proportions.c 	unsigned int period = p->period;
period            113 lib/flex_proportions.c 	if (pl->period == period)
period            117 lib/flex_proportions.c 	if (pl->period >= period) {
period            122 lib/flex_proportions.c 	if (period - pl->period < BITS_PER_LONG)
period            123 lib/flex_proportions.c 		pl->events >>= period - pl->period;
period            126 lib/flex_proportions.c 	pl->period = period;
period            179 lib/flex_proportions.c 	pl->period = 0;
period            192 lib/flex_proportions.c 	unsigned int period = p->period;
period            196 lib/flex_proportions.c 	if (pl->period == period)
period            200 lib/flex_proportions.c 	if (pl->period >= period) {
period            205 lib/flex_proportions.c 	if (period - pl->period < BITS_PER_LONG) {
period            212 lib/flex_proportions.c 			-val + (val >> (period-pl->period)), PROP_BATCH);
period            215 lib/flex_proportions.c 	pl->period = period;
period           1087 mm/page-writeback.c 	const unsigned long period = roundup_pow_of_two(3 * HZ);
period           1104 mm/page-writeback.c 	if (unlikely(elapsed > period)) {
period           1109 mm/page-writeback.c 	bw += (u64)wb->write_bandwidth * (period - elapsed);
period           1110 mm/page-writeback.c 	bw >>= ilog2(period);
period           1571 mm/page-writeback.c 	long period;
period           1723 mm/page-writeback.c 			period = max_pause;
period           1727 mm/page-writeback.c 		period = HZ * pages_dirtied / task_ratelimit;
period           1728 mm/page-writeback.c 		pause = period;
period           1748 mm/page-writeback.c 						  period,
period           1754 mm/page-writeback.c 			} else if (period) {
period           1755 mm/page-writeback.c 				current->dirty_paused_when += period;
period           1777 mm/page-writeback.c 					  period,
period            265 net/ceph/striper.c 	u64 period = (u64)l->stripe_count * l->object_size;
period            266 net/ceph/striper.c 	u64 num_periods = DIV64_U64_ROUND_UP(size, period);
period            270 net/ceph/striper.c 	div64_u64_rem(size, period, &remainder_bytes);
period            359 net/ipv4/tcp.c 		int period = timeout;
period            362 net/ipv4/tcp.c 		while (seconds > period && res < 255) {
period            367 net/ipv4/tcp.c 			period += timeout;
period            376 net/ipv4/tcp.c 	int period = 0;
period            379 net/ipv4/tcp.c 		period = timeout;
period            384 net/ipv4/tcp.c 			period += timeout;
period            387 net/ipv4/tcp.c 	return period;
period           1326 net/sched/sch_hfsc.c 	xstats.period  = cl->cl_vtperiod;
period            213 samples/bpf/xdp_monitor_user.c 	__u64 period = 0;
period            215 samples/bpf/xdp_monitor_user.c 	period = r->timestamp - p->timestamp;
period            216 samples/bpf/xdp_monitor_user.c 	if (period > 0)
period            217 samples/bpf/xdp_monitor_user.c 		period_ = ((double) period / NANOSEC_PER_SEC);
period            225 samples/bpf/xdp_monitor_user.c 	__u64 period = 0;
period            227 samples/bpf/xdp_monitor_user.c 	period = r->timestamp - p->timestamp;
period            228 samples/bpf/xdp_monitor_user.c 	if (period > 0)
period            229 samples/bpf/xdp_monitor_user.c 		period_ = ((double) period / NANOSEC_PER_SEC);
period            234 samples/bpf/xdp_monitor_user.c static double calc_pps(struct datarec *r, struct datarec *p, double period)
period            239 samples/bpf/xdp_monitor_user.c 	if (period > 0) {
period            241 samples/bpf/xdp_monitor_user.c 		pps = packets / period;
period            246 samples/bpf/xdp_monitor_user.c static double calc_pps_u64(struct u64rec *r, struct u64rec *p, double period)
period            251 samples/bpf/xdp_monitor_user.c 	if (period > 0) {
period            253 samples/bpf/xdp_monitor_user.c 		pps = packets / period;
period            258 samples/bpf/xdp_monitor_user.c static double calc_drop(struct datarec *r, struct datarec *p, double period)
period            263 samples/bpf/xdp_monitor_user.c 	if (period > 0) {
period            265 samples/bpf/xdp_monitor_user.c 		pps = packets / period;
period            270 samples/bpf/xdp_monitor_user.c static double calc_info(struct datarec *r, struct datarec *p, double period)
period            275 samples/bpf/xdp_monitor_user.c 	if (period > 0) {
period            277 samples/bpf/xdp_monitor_user.c 		pps = packets / period;
period            282 samples/bpf/xdp_monitor_user.c static double calc_err(struct datarec *r, struct datarec *p, double period)
period            287 samples/bpf/xdp_monitor_user.c 	if (period > 0) {
period            289 samples/bpf/xdp_monitor_user.c 		pps = packets / period;
period            262 samples/bpf/xdp_redirect_cpu_user.c 	__u64 period = 0;
period            264 samples/bpf/xdp_redirect_cpu_user.c 	period = r->timestamp - p->timestamp;
period            265 samples/bpf/xdp_redirect_cpu_user.c 	if (period > 0)
period            266 samples/bpf/xdp_redirect_cpu_user.c 		period_ = ((double) period / NANOSEC_PER_SEC);
period            307 samples/bpf/xdp_rxq_info_user.c 	__u64 period = 0;
period            309 samples/bpf/xdp_rxq_info_user.c 	period = r->timestamp - p->timestamp;
period            310 samples/bpf/xdp_rxq_info_user.c 	if (period > 0)
period            311 samples/bpf/xdp_rxq_info_user.c 		period_ = ((double) period / NANOSEC_PER_SEC);
period            227 sound/arm/aaci.c 				aacirun->bytes += aacirun->period;
period            287 sound/arm/aaci.c 				aacirun->bytes += aacirun->period;
period            548 sound/arm/aaci.c 	aacirun->period	= snd_pcm_lib_period_bytes(substream);
period            552 sound/arm/aaci.c 	aacirun->bytes	= aacirun->period;
period            210 sound/arm/aaci.h 	unsigned int		period;	/* byte size of a "period" */
period            430 sound/drivers/dummy.c 	unsigned int period, rate;
period            435 sound/drivers/dummy.c 	period = runtime->period_size;
period            437 sound/drivers/dummy.c 	sec = period / rate;
period            438 sound/drivers/dummy.c 	period %= rate;
period            439 sound/drivers/dummy.c 	nsecs = div_u64((u64)period * 1000000000UL + rate - 1, rate);
period            360 sound/oss/dmasound/dmasound_paula.c 	int period, i;
period            365 sound/oss/dmasound/dmasound_paula.c 		period = amiga_colorclock/dmasound.soft.speed-1;
period            367 sound/oss/dmasound/dmasound_paula.c 		period = amiga_audio_min_period;
period            371 sound/oss/dmasound/dmasound_paula.c 	if (period < amiga_audio_min_period) {
period            373 sound/oss/dmasound/dmasound_paula.c 		period = amiga_audio_min_period;
period            374 sound/oss/dmasound/dmasound_paula.c 	} else if (period > 65535) {
period            375 sound/oss/dmasound/dmasound_paula.c 		period = 65535;
period            377 sound/oss/dmasound/dmasound_paula.c 	dmasound.hard.speed = amiga_colorclock/(period+1);
period            380 sound/oss/dmasound/dmasound_paula.c 		custom.aud[i].audper = period;
period            381 sound/oss/dmasound/dmasound_paula.c 	amiga_audio_period = period;
period           2367 sound/pci/au88x0/au88x0_core.c static void vortex_settimer(vortex_t * vortex, int period)
period           2370 sound/pci/au88x0/au88x0_core.c 	hwwrite(vortex->mmio, VORTEX_IRQ_STAT, period);
period           1813 sound/pci/echoaudio/echoaudio.c 	int period, ss, st;
period           1827 sound/pci/echoaudio/echoaudio.c 			period = pcm_pointer(substream) /
period           1829 sound/pci/echoaudio/echoaudio.c 			if (period != chip->last_period[ss]) {
period           1830 sound/pci/echoaudio/echoaudio.c 				chip->last_period[ss] = period;
period           1476 sound/pci/riptide/riptide.c 		unsigned int i, j, size, pages, f, pt, period;
period           1480 sound/pci/riptide/riptide.c 		period = frames_to_bytes(runtime, runtime->period_size);
period           1482 sound/pci/riptide/riptide.c 		while ((size + (f >> 1) - 1) <= (f << 7) && (f << 1) > period)
period           1489 sound/pci/riptide/riptide.c 		     size, pages, f, period);
period           1562 sound/pci/rme9652/hdspm.c static u64 hdspm_calc_dds_value(struct hdspm *hdspm, u64 period)
period           1566 sound/pci/rme9652/hdspm.c 	if (period == 0)
period           1586 sound/pci/rme9652/hdspm.c 	return div_u64(freq_const, period);
period           2191 sound/pci/rme9652/hdspm.c 	unsigned int period, rate;
period           2193 sound/pci/rme9652/hdspm.c 	period = hdspm_read(hdspm, HDSPM_RD_PLL_FREQ);
period           2194 sound/pci/rme9652/hdspm.c 	rate = hdspm_calc_dds_value(hdspm, period);
period           4754 sound/pci/rme9652/hdspm.c 	unsigned int period;
period           4818 sound/pci/rme9652/hdspm.c 		period = hdspm_read(hdspm, HDSPM_RD_PLL_FREQ);
period           4819 sound/pci/rme9652/hdspm.c 		snd_iprintf(buffer, "    period: %u\n", period);
period           4823 sound/pci/rme9652/hdspm.c 		rate = div_u64(freq_const, period);
period            192 sound/pci/sis7019.c static void sis_update_sso(struct voice *voice, u16 period)
period            196 sound/pci/sis7019.c 	voice->sso += period;
period             94 sound/ppc/beep.c 	int period, ncycles, nsamples;
period            136 sound/ppc/beep.c 		period = srate * 256 / hz;	/* fixed point */
period            137 sound/ppc/beep.c 		ncycles = BEEP_BUFLEN * 256 / period;
period            138 sound/ppc/beep.c 		nsamples = (period * ncycles) >> 8;
period             34 sound/soc/fsl/imx-pcm-fiq.c 	unsigned int period;
period             79 sound/soc/fsl/imx-pcm-fiq.c 	iprtd->period = params_period_bytes(params);
period             96 sound/soc/fsl/imx-pcm-fiq.c 		regs.ARM_r8 = (iprtd->period * iprtd->periods - 1) << 16;
period             98 sound/soc/fsl/imx-pcm-fiq.c 		regs.ARM_r9 = (iprtd->period * iprtd->periods - 1) << 16;
period            111 sound/soc/meson/axg-fifo.c 	unsigned int burst_num, period, threshold;
period            115 sound/soc/meson/axg-fifo.c 	period = params_period_bytes(params);
period            127 sound/soc/meson/axg-fifo.c 	burst_num = period / AXG_FIFO_BURST;
period            135 sound/soc/meson/axg-fifo.c 	threshold = min(period / 2,
period             44 sound/soc/samsung/idma.c 	dma_addr_t	period;
period            157 sound/soc/samsung/idma.c 	prtd->period = params_periods(params);
period            275 sound/soc/samsung/idma.c 			prtd->cb(prtd->token, prtd->period);
period            681 sound/soc/sof/topology.c 		offsetof(struct sof_ipc_pipe_new, period), 0},
period           1454 sound/soc/sof/topology.c 		swidget->widget->name, pipeline->period, pipeline->priority,
period            146 sound/soc/sprd/sprd-pcm-compress.c 	int period, period_cnt, sg_num = 2;
period            172 sound/soc/sprd/sprd-pcm-compress.c 		period = (SPRD_COMPR_MCDT_FIFO_SIZE - SPRD_COMPR_MCDT_EMPTY_WMK) * 4;
period            173 sound/soc/sprd/sprd-pcm-compress.c 		period_cnt = params->buffer.fragment_size / period;
period            184 sound/soc/sprd/sprd-pcm-compress.c 		period = params->buffer.fragment_size;
period            199 sound/soc/sprd/sprd-pcm-compress.c 	dma->trans_len = period * period_cnt;
period            201 sound/soc/sprd/sprd-pcm-compress.c 	config.src_maxburst = period;
period            203 sound/soc/sprd/sprd-pcm-dma.c 	size_t period = params_period_bytes(params);
period            229 sound/soc/sprd/sprd-pcm-dma.c 	sg_num = totsize / period;
period            263 sound/soc/sprd/sprd-pcm-dma.c 			u32 sg_len = period / channels;
period             31 sound/soc/sprd/sprd-pcm-dma.h 	u32 period;
period            103 sound/soc/sunxi/sun4i-i2s.c #define SUN8I_I2S_FMT0_LRCK_PERIOD(period)	((period - 1) << 8)
period           1136 sound/soc/uniphier/aio-core.c 			 int period)
period           1142 sound/soc/uniphier/aio-core.c 	if (end < start || period < 0)
period           1157 sound/soc/uniphier/aio-core.c 	ret = aiodma_rb_set_threshold(sub, size, 2 * period);
period           1163 sound/soc/uniphier/aio-core.c 		aiodma_rb_set_wp(sub, end - period);
period           1169 sound/soc/uniphier/aio-core.c 		aiodma_rb_set_rp(sub, end - period);
period           1177 sound/soc/uniphier/aio-core.c 	sub->threshold = 2 * period;
period           1189 sound/soc/uniphier/aio-core.c 		    int period)
period           1195 sound/soc/uniphier/aio-core.c 			sub->threshold = 2 * period;
period           1196 sound/soc/uniphier/aio-core.c 			aiodma_rb_set_threshold(sub, size, 2 * period);
period           1198 sound/soc/uniphier/aio-core.c 			sub->wr_offs = sub->rd_offs - period;
period           1199 sound/soc/uniphier/aio-core.c 			if (sub->rd_offs < period)
period           1207 sound/soc/uniphier/aio-core.c 			sub->threshold = 2 * period;
period           1208 sound/soc/uniphier/aio-core.c 			aiodma_rb_set_threshold(sub, size, 2 * period);
period           1210 sound/soc/uniphier/aio-core.c 			sub->rd_offs = sub->wr_offs - period;
period           1211 sound/soc/uniphier/aio-core.c 			if (sub->wr_offs < period)
period            348 sound/soc/uniphier/aio.h 			 int period);
period            350 sound/soc/uniphier/aio.h 		    int period);
period           1086 sound/sparc/dbri.c static int setup_descs(struct snd_dbri *dbri, int streamno, unsigned int period)
period           1168 sound/sparc/dbri.c 		if (mylen > period)
period           1169 sound/sparc/dbri.c 			mylen = period;
period             67 sound/spi/at73c213.c 	int				period;
period            262 sound/spi/at73c213.c 	chip->period = 0;
period            373 sound/spi/at73c213.c 		chip->period++;
period            374 sound/spi/at73c213.c 		if (chip->period == runtime->periods)
period            375 sound/spi/at73c213.c 			chip->period = 0;
period            376 sound/spi/at73c213.c 		next_period = chip->period + 1;
period            134 sound/usb/line6/capture.c 	if (line6pcm->in.bytes >= line6pcm->in.period) {
period            135 sound/usb/line6/capture.c 		line6pcm->in.bytes %= line6pcm->in.period;
period            369 sound/usb/line6/pcm.c 	pstr->period = params_period_bytes(hw_params);
period            109 sound/usb/line6/pcm.h 	unsigned period;
period            358 sound/usb/line6/playback.c 			if (line6pcm->out.bytes >= line6pcm->out.period) {
period            359 sound/usb/line6/playback.c 				line6pcm->out.bytes %= line6pcm->out.period;
period            267 sound/xen/xen_snd_front_alsa.c 	struct snd_interval *period =
period            294 sound/xen/xen_snd_front_alsa.c 	req.period.min = period->min;
period            295 sound/xen/xen_snd_front_alsa.c 	req.period.max = period->max;
period            343 sound/xen/xen_snd_front_alsa.c 	interval.min = resp.period.min;
period            344 sound/xen/xen_snd_front_alsa.c 	interval.max = resp.period.max;
period            345 sound/xen/xen_snd_front_alsa.c 	ret = snd_interval_refine(period, &interval);
period            445 tools/include/uapi/linux/pkt_sched.h 	__u32	period;		/* current period */
period            262 tools/perf/builtin-diff.c static double period_percent(struct hist_entry *he, u64 period)
period            266 tools/perf/builtin-diff.c 	return (period * 100.0) / total;
period            271 tools/perf/builtin-diff.c 	double old_percent = period_percent(he, he->stat.period);
period            272 tools/perf/builtin-diff.c 	double new_percent = period_percent(pair, pair->stat.period);
period            281 tools/perf/builtin-diff.c 	double old_period = he->stat.period ?: 1;
period            282 tools/perf/builtin-diff.c 	double new_period = pair->stat.period;
period            291 tools/perf/builtin-diff.c 	u64 old_period = he->stat.period;
period            292 tools/perf/builtin-diff.c 	u64 new_period = pair->stat.period;
period            314 tools/perf/builtin-diff.c 			 pair->stat.period, pair_total,
period            315 tools/perf/builtin-diff.c 			 he->stat.period, he_total);
period            321 tools/perf/builtin-diff.c 	double old_period = he->stat.period;
period            322 tools/perf/builtin-diff.c 	double new_period = pair->stat.period;
period            330 tools/perf/builtin-diff.c 	u64 old_period = he->stat.period;
period            331 tools/perf/builtin-diff.c 	u64 new_period = pair->stat.period;
period            432 tools/perf/builtin-diff.c 	hists->stats.total_period += sample->period;
period            434 tools/perf/builtin-diff.c 		hists->stats.total_non_filtered_period += sample->period;
period            912 tools/perf/builtin-diff.c 	if (left->stat.period == right->stat.period)
period            914 tools/perf/builtin-diff.c 	return left->stat.period > right->stat.period ? 1 : -1;
period           1297 tools/perf/builtin-diff.c 	return 100.0 * he->stat.period / total;
period           1470 tools/perf/builtin-diff.c 		scnprintf(buf, size, "%" PRIu64, he->stat.period);
period           1534 tools/perf/builtin-diff.c 		scnprintf(buf, size, "%" PRIu64, pair->stat.period);
period            533 tools/perf/builtin-inject.c 	sample_sw.period = sample->period;
period           2172 tools/perf/builtin-record.c 	OPT_BOOLEAN_SET('P', "period", &record.opts.period, &record.opts.period_set,
period           1745 tools/perf/builtin-script.c 	val = sample->period * evsel->scale;
period           1831 tools/perf/builtin-script.c 		fprintf(fp, "%10" PRIu64 " ", sample->period);
period             34 tools/perf/lib/include/internal/evsel.h 	u64			 period;
period            185 tools/perf/tests/hists_common.c 				he->ms.sym->name, he->stat.period);
period            212 tools/perf/tests/hists_common.c 				he->ms.sym->name, he->stat.period,
period            213 tools/perf/tests/hists_common.c 				he->stat_acc ? he->stat_acc->period : 0);
period             84 tools/perf/tests/hists_cumulate.c 	struct perf_sample sample = { .period = 1000, };
period            210 tools/perf/tests/hists_cumulate.c 		TEST_ASSERT_VAL(buf, he->stat.period == expected[i].self &&
period            216 tools/perf/tests/hists_cumulate.c 			TEST_ASSERT_VAL(buf, he->stat_acc->period == expected[i].children);
period             53 tools/perf/tests/hists_filter.c 	struct perf_sample sample = { .period = 100, };
period             69 tools/perf/tests/hists_link.c 	struct perf_sample sample = { .period = 1, .weight = 1, };
period             54 tools/perf/tests/hists_output.c 	struct perf_sample sample = { .period = 100, };
period            170 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "main") && he->stat.period == 200);
period            176 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "page_fault") && he->stat.period == 100);
period            182 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "main") && he->stat.period == 100);
period            188 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "xmalloc") && he->stat.period == 100);
period            194 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "page_fault") && he->stat.period == 100);
period            200 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "schedule") && he->stat.period == 100);
period            206 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "free") && he->stat.period == 100);
period            212 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "malloc") && he->stat.period == 100);
period            218 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "cmd_record") && he->stat.period == 100);
period            269 tools/perf/tests/hists_output.c 			CPU(he) == 1 && PID(he) == 100 && he->stat.period == 300);
period            274 tools/perf/tests/hists_output.c 			CPU(he) == 0 && PID(he) == 100 && he->stat.period == 100);
period            324 tools/perf/tests/hists_output.c 			he->stat.period == 200);
period            330 tools/perf/tests/hists_output.c 			he->stat.period == 100);
period            336 tools/perf/tests/hists_output.c 			he->stat.period == 300);
period            342 tools/perf/tests/hists_output.c 			he->stat.period == 200);
period            348 tools/perf/tests/hists_output.c 			he->stat.period == 200);
period            402 tools/perf/tests/hists_output.c 			!strcmp(COMM(he), "perf") && he->stat.period == 100);
period            408 tools/perf/tests/hists_output.c 			!strcmp(COMM(he), "perf") && he->stat.period == 100);
period            414 tools/perf/tests/hists_output.c 			!strcmp(COMM(he), "bash") && he->stat.period == 100);
period            420 tools/perf/tests/hists_output.c 			!strcmp(COMM(he), "perf") && he->stat.period == 200);
period            426 tools/perf/tests/hists_output.c 			!strcmp(COMM(he), "perf") && he->stat.period == 100);
period            432 tools/perf/tests/hists_output.c 			!strcmp(COMM(he), "bash") && he->stat.period == 100);
period            438 tools/perf/tests/hists_output.c 			!strcmp(COMM(he), "perf") && he->stat.period == 100);
period            444 tools/perf/tests/hists_output.c 			!strcmp(COMM(he), "perf") && he->stat.period == 100);
period            450 tools/perf/tests/hists_output.c 			!strcmp(COMM(he), "bash") && he->stat.period == 100);
period            507 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "schedule") && he->stat.period == 100);
period            514 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "page_fault") && he->stat.period == 100);
period            521 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "page_fault") && he->stat.period == 100);
period            528 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "xmalloc") && he->stat.period == 100);
period            535 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "main") && he->stat.period == 100);
period            542 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "malloc") && he->stat.period == 100);
period            549 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "free") && he->stat.period == 100);
period            556 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "cmd_record") && he->stat.period == 100);
period            563 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "main") && he->stat.period == 100);
period            570 tools/perf/tests/hists_output.c 			!strcmp(SYM(he), "main") && he->stat.period == 100);
period             66 tools/perf/tests/sample-parsing.c 		COMP(period);
period            193 tools/perf/tests/sample-parsing.c 		.period		= 108,
period            117 tools/perf/tests/sw-clock.c 		total_periods += sample.period;
period           1124 tools/perf/ui/browsers/hists.c 		parent_total = entry->stat_acc->period;
period           1126 tools/perf/ui/browsers/hists.c 		parent_total = entry->stat.period;
period           1216 tools/perf/ui/browsers/hists.c __HPP_COLOR_PERCENT_FN(overhead, period)
period           1221 tools/perf/ui/browsers/hists.c __HPP_COLOR_ACC_PERCENT_FN(overhead_acc, period)
period           2803 tools/perf/ui/browsers/hists.c 			total = he->stat.period;
period           2806 tools/perf/ui/browsers/hists.c 				total = he->stat_acc->period;
period             71 tools/perf/ui/gtk/hists.c __HPP_COLOR_PERCENT_FN(overhead, period)
period             76 tools/perf/ui/gtk/hists.c __HPP_COLOR_ACC_PERCENT_FN(overhead_acc, period)
period            391 tools/perf/ui/gtk/hists.c 					h->stat_acc->period : h->stat.period;
period            488 tools/perf/ui/gtk/hists.c 					he->stat_acc->period : he->stat.period;
period             54 tools/perf/ui/hist.c 			u64 period = get_field(pair);
period             79 tools/perf/ui/hist.c 							  100.0 * period / total);
period             82 tools/perf/ui/hist.c 							  len, period);
period            368 tools/perf/ui/hist.c HPP_PERCENT_FNS(overhead, period)
period            373 tools/perf/ui/hist.c HPP_PERCENT_ACC_FNS(overhead_acc, period)
period            376 tools/perf/ui/hist.c HPP_RAW_FNS(period, period)
period            447 tools/perf/ui/hist.c 	HPP__PRINT_FNS("Period", period, PERIOD)
period             51 tools/perf/ui/stdio/hist.c 				     int depth, int depth_mask, int period,
period             66 tools/perf/ui/stdio/hist.c 		if (!period && i == depth - 1) {
period            384 tools/perf/ui/stdio/hist.c 	u64 parent_samples = he->stat.period;
period            387 tools/perf/ui/stdio/hist.c 		parent_samples = he->stat_acc->period;
period            888 tools/perf/util/annotate.c 	h->period += sample->period;
period            889 tools/perf/util/annotate.c 	h->addr[offset].period += sample->period;
period            894 tools/perf/util/annotate.c 		  h->addr[offset].nr_samples, h->addr[offset].period);
period           1436 tools/perf/util/annotate.c 					      data->he.period);
period           2012 tools/perf/util/annotate.c 	u64 period = 0;
period           2016 tools/perf/util/annotate.c 		period += sym_hist->addr[offset].period;
period           2021 tools/perf/util/annotate.c 		data->he.period     = period;
period           2029 tools/perf/util/annotate.c 	if (sym_hist->period)
period           2030 tools/perf/util/annotate.c 		data->percent[PERCENT_PERIOD_LOCAL] = 100.0 * period / sym_hist->period;
period           2033 tools/perf/util/annotate.c 		data->percent[PERCENT_PERIOD_GLOBAL] = 100.0 * period / hists->stats.total_period;
period           2843 tools/perf/util/annotate.c 				obj__printf(obj, "%11" PRIu64 " ", al->data[i].he.period);
period            113 tools/perf/util/annotate.h 	u64		period;
period            228 tools/perf/util/annotate.h 	u64		      period;
period            984 tools/perf/util/auxtrace.c 		synth_opts->period = 1;
period            989 tools/perf/util/auxtrace.c 		synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD;
period           1030 tools/perf/util/auxtrace.c 				synth_opts->period = strtoull(p, &endptr, 10);
period           1047 tools/perf/util/auxtrace.c 					synth_opts->period *= 1000;
period           1050 tools/perf/util/auxtrace.c 					synth_opts->period *= 1000;
period           1147 tools/perf/util/auxtrace.c 			synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD;
period            106 tools/perf/util/auxtrace.h 	unsigned long long	period;
period            632 tools/perf/util/callchain.c 	  u64 period)
period            653 tools/perf/util/callchain.c 	new->hit = period;
period            792 tools/perf/util/callchain.c 		u64 idx_parents, u64 idx_local, u64 period)
period            829 tools/perf/util/callchain.c 		parent->children_hit += period;
period            834 tools/perf/util/callchain.c 		new = add_child(parent, cursor, period);
period            855 tools/perf/util/callchain.c 		parent->hit = period;
period            864 tools/perf/util/callchain.c 	     u64 period);
period            869 tools/perf/util/callchain.c 		      u64 period)
period            888 tools/perf/util/callchain.c 		ret = append_chain(rnode, cursor, period);
period            900 tools/perf/util/callchain.c 	rnode = add_child(root, cursor, period);
period            908 tools/perf/util/callchain.c 	root->children_hit += period;
period            916 tools/perf/util/callchain.c 	     u64 period)
period            957 tools/perf/util/callchain.c 				    period) < 0)
period            965 tools/perf/util/callchain.c 		root->hit += period;
period            971 tools/perf/util/callchain.c 	if (append_chain_children(root, cursor, period) < 0)
period            979 tools/perf/util/callchain.c 		     u64 period)
period            986 tools/perf/util/callchain.c 	if (append_chain_children(&root->node, cursor, period) < 0)
period           1104 tools/perf/util/callchain.c 	return callchain_append(he->callchain, &callchain_cursor, sample->period);
period           1180 tools/perf/util/callchain.c 	u64 period = callchain_cumul_hits(node);
period           1184 tools/perf/util/callchain.c 		period = node->hit;
period           1190 tools/perf/util/callchain.c 		scnprintf(bf, bfsize, "%"PRIu64, period);
period           1198 tools/perf/util/callchain.c 			percent = period * 100.0 / total;
period           1209 tools/perf/util/callchain.c 	u64 period = callchain_cumul_hits(node);
period           1213 tools/perf/util/callchain.c 		period = node->hit;
period           1219 tools/perf/util/callchain.c 		return fprintf(fp, "%"PRIu64, period);
period           1225 tools/perf/util/callchain.c 			percent = period * 100.0 / total;
period            190 tools/perf/util/callchain.h 		     u64 period);
period           1114 tools/perf/util/cs-etm.c 					    u64 addr, u64 period)
period           1130 tools/perf/util/cs-etm.c 	sample.period = period;
period           1191 tools/perf/util/cs-etm.c 	sample.period = 1;
period           1325 tools/perf/util/cs-etm.c 		attr.sample_period = etm->synth_opts.period;
period            635 tools/perf/util/data-convert-bt.c 		ret = value_set_u64(cw, event, "perf_period", sample->period);
period            124 tools/perf/util/event.h 	u64 period;
period            792 tools/perf/util/evsel.c 				attr->sample_period = term->val.period;
period           1153 tools/perf/util/evsel.c 		if (opts->period)
period           1952 tools/perf/util/evsel.c 	data->period = evsel->core.attr.sample_period;
period           2027 tools/perf/util/evsel.c 		data->period = *array;
period             34 tools/perf/util/evsel_config.h 		u64	      period;
period            241 tools/perf/util/hist.c 					unsigned int cpumode, u64 period)
period            245 tools/perf/util/hist.c 		he_stat->period_sys += period;
period            248 tools/perf/util/hist.c 		he_stat->period_us += period;
period            251 tools/perf/util/hist.c 		he_stat->period_guest_sys += period;
period            254 tools/perf/util/hist.c 		he_stat->period_guest_us += period;
period            269 tools/perf/util/hist.c static void he_stat__add_period(struct he_stat *he_stat, u64 period,
period            273 tools/perf/util/hist.c 	he_stat->period		+= period;
period            280 tools/perf/util/hist.c 	dest->period		+= src->period;
period            291 tools/perf/util/hist.c 	he_stat->period = (he_stat->period * 7) / 8;
period            300 tools/perf/util/hist.c 	u64 prev_period = he->stat.period;
period            311 tools/perf/util/hist.c 	diff = prev_period - he->stat.period;
period            331 tools/perf/util/hist.c 	return he->stat.period == 0;
period            554 tools/perf/util/hist.c static void hist_entry__add_callchain_period(struct hist_entry *he, u64 period)
period            559 tools/perf/util/hist.c 	he->hists->callchain_period += period;
period            561 tools/perf/util/hist.c 		he->hists->callchain_non_filtered_period += period;
period            573 tools/perf/util/hist.c 	u64 period = entry->stat.period;
period            593 tools/perf/util/hist.c 				he_stat__add_period(&he->stat, period, weight);
period            594 tools/perf/util/hist.c 				hist_entry__add_callchain_period(he, period);
period            597 tools/perf/util/hist.c 				he_stat__add_period(he->stat_acc, period, weight);
period            633 tools/perf/util/hist.c 		hist_entry__add_callchain_period(he, period);
period            640 tools/perf/util/hist.c 		he_stat__add_cpumode_period(&he->stat, al->cpumode, period);
period            642 tools/perf/util/hist.c 		he_stat__add_cpumode_period(he->stat_acc, al->cpumode, period);
period            703 tools/perf/util/hist.c 			.period	= sample->period,
period            814 tools/perf/util/hist.c 	sample->period = cost;
period            915 tools/perf/util/hist.c 	sample->period = 1;
period           1101 tools/perf/util/hist.c 		callchain_append(he->callchain, &cursor, sample->period);
period           1663 tools/perf/util/hist.c 	hists->stats.total_non_filtered_period += h->stat.period;
period           1672 tools/perf/util/hist.c 	hists->stats.total_period += h->stat.period;
period           1694 tools/perf/util/hist.c 		hists->stats.total_period += he->stat.period;
period           1696 tools/perf/util/hist.c 			hists->stats.total_non_filtered_period += he->stat.period;
period           1772 tools/perf/util/hist.c 			u64 total = he->stat.period;
period           1775 tools/perf/util/hist.c 				total = he->stat_acc->period;
period           1798 tools/perf/util/hist.c 			u64 total = he->stat.period;
period           1801 tools/perf/util/hist.c 				total = he->stat_acc->period;
period            291 tools/perf/util/intel-bts.c 	sample.period = 1;
period            154 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	uint64_t period;
period            205 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		uint64_t period;
period            207 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		period = intel_pt_lower_power_of_2(decoder->period);
period            208 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->period_mask  = ~(period - 1);
period            209 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		decoder->period_ticks = period;
period            241 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 	decoder->period             = params->period;
period            941 tools/perf/util/intel-pt-decoder/intel-pt-decoder.c 		return decoder->period - decoder->period_insn_cnt;
period            246 tools/perf/util/intel-pt-decoder/intel-pt-decoder.h 	uint64_t period;
period            910 tools/perf/util/intel-pt.c 		if (pt->synth_opts.period) {
period            915 tools/perf/util/intel-pt.c 				params.period = pt->synth_opts.period;
period            919 tools/perf/util/intel-pt.c 				params.period = pt->synth_opts.period;
period            923 tools/perf/util/intel-pt.c 				params.period = intel_pt_ns_to_ticks(pt,
period            924 tools/perf/util/intel-pt.c 							pt->synth_opts.period);
period            931 tools/perf/util/intel-pt.c 		if (!params.period) {
period            933 tools/perf/util/intel-pt.c 			params.period = 1;
period           1229 tools/perf/util/intel-pt.c 	sample->period = 1;
period           1365 tools/perf/util/intel-pt.c 	sample.period = ptq->state->tot_insn_cnt - ptq->last_insn_cnt;
period           1720 tools/perf/util/intel-pt.c 		sample.period = evsel->core.attr.sample_period;
period           2806 tools/perf/util/intel-pt.c 				intel_pt_ns_to_ticks(pt, pt->synth_opts.period);
period           2808 tools/perf/util/intel-pt.c 			attr.sample_period = pt->synth_opts.period;
period           1192 tools/perf/util/parse-events.c 			ADD_CONFIG_TERM(PERIOD, period, term->val.num);
period            120 tools/perf/util/python.c 	sample_member_def(sample_period, period, T_ULONGLONG, "event period"),		 \
period             29 tools/perf/util/record.h 	bool	      period;
period            512 tools/perf/util/s390-cpumsf.c 				.period = 1
period            753 tools/perf/util/scripting-engines/trace-event-python.c 			PyLong_FromUnsignedLongLong(sample->period));
period           1143 tools/perf/util/scripting-engines/trace-event-python.c 	tuple_set_u64(t, 15, es->sample->period);
period           1230 tools/perf/util/session.c 	       sample->period, sample->addr);
period           1330 tools/perf/util/session.c 		sample->period = v->value - sid->period;
period           1331 tools/perf/util/session.c 		sid->period    = v->value;
period           1343 tools/perf/util/session.c 	if (!sample->period)
period             45 tools/perf/util/sort.h 	u64			period;
period            183 tools/perf/util/sort.h 	u64 period = he->stat.period;
period            190 tools/perf/util/sort.h 		period = he->stat_acc->period;
period            192 tools/perf/util/sort.h 	return period * 100.0 / total_period;
period             59 tools/perf/util/synthetic-events.c 		.period	   = 1,
period           1292 tools/perf/util/synthetic-events.c 		*array = sample->period;
period            401 tools/testing/selftests/ptp/testptp.c 		perout_request.period.sec = 0;
period            402 tools/testing/selftests/ptp/testptp.c 		perout_request.period.nsec = perout;
period            449 virt/kvm/arm/pmu.c 	u64 period;
period            457 virt/kvm/arm/pmu.c 	period = -(local64_read(&perf_event->count));
period            460 virt/kvm/arm/pmu.c 		period &= GENMASK(31, 0);
period            463 virt/kvm/arm/pmu.c 	perf_event->attr.sample_period = period;
period            464 virt/kvm/arm/pmu.c 	perf_event->hw.sample_period = period;