Searched refs:period (Results 1 - 25 of 538) sorted by path

1234567891011>>

/linux-master/arch/nios2/kernel/
H A Dtime.c135 static void nios2_timer_config(struct nios2_timer *timer, unsigned long period, argument
140 /* The timer's actual period is one cycle greater than the value
141 * stored in the period register. */
142 period--;
150 timer_writew(timer, period, ALTERA_TIMER_PERIODL_REG);
151 timer_writew(timer, period >> 16, ALTERA_TIMER_PERIODH_REG);
182 unsigned long period; local
186 period = DIV_ROUND_UP(timer->freq, HZ);
187 nios2_timer_config(timer, period, true);
/linux-master/drivers/clocksource/
H A Dtimer-keystone.c39 * @hz_period: cycles per HZ period
72 * @ period: cycles number to configure for
74 static int keystone_timer_config(u64 period, int mask) argument
90 /* reset counter to zero, set new period */
93 keystone_timer_writel(period & 0xffffffff, PRD12);
94 keystone_timer_writel(period >> 32, PRD34);
H A Dtimer-milbeaut.c92 mlb_evt_timer_register_count(to, to->of_clk.period);
H A Dtimer-of.h31 unsigned long period; member in struct:of_timer_clk
66 return to->of_clk.period;
H A Dtimer-tegra.c85 unsigned long period = timer_of_period(to_timer_of(evt)); local
87 writel_relaxed(TIMER_PTV_EN | TIMER_PTV_PER | (period - 1),
319 cpu_to->of_clk.period = rate / HZ;
/linux-master/drivers/gpu/drm/tegra/
H A Ddsi.h84 #define DSI_TIMING_FIELD(value, period, hwinc) \
85 ((DIV_ROUND_CLOSEST(value, period) - (hwinc)) & 0xff)
H A Dmipi-phy.c17 unsigned long period)
20 timing->clkpost = 70 + 52 * period;
30 timing->hsprepare = 65 + 5 * period;
31 timing->hszero = 145 + 5 * period;
32 timing->hssettle = 85 + 6 * period;
39 * T_HS-TRAIL = max(n * 8 * period, 60 + n * 4 * period)
43 * not parameterize on anything other that period, so this code will
46 timing->hstrail = max(4 * 8 * period, 60 + 4 * 4 * period);
16 mipi_dphy_timing_get_default(struct mipi_dphy_timing *timing, unsigned long period) argument
62 mipi_dphy_timing_validate(struct mipi_dphy_timing *timing, unsigned long period) argument
[all...]
H A Dmipi-phy.h44 unsigned long period);
46 unsigned long period);
/linux-master/drivers/input/
H A Dinput-compat.h27 __u16 period; member in struct:ff_periodic_effect_compat
/linux-master/drivers/input/joystick/iforce/
H A Diforce-ff.c45 * Upload the component of an effect dealing with the period, phase and magnitude
50 __s16 magnitude, __s16 offset, u16 period, u16 phase)
54 period = TIME_SCALE(period);
74 data[5] = LO(period);
75 data[6] = HI(period);
266 return (old->u.periodic.period != new->u.periodic.period
353 effect->u.periodic.period, effect->u.periodic.phase);
48 make_period_modifier(struct iforce* iforce, struct resource* mod_chunk, int no_alloc, __s16 magnitude, __s16 offset, u16 period, u16 phase) argument
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dacx.c257 wl1271_debug(DEBUG_ACX, "acx service period timeout");
266 wl1271_warning("failed to set service period timeout: %d",
1195 acx->period = cpu_to_le32(wl->conf.conn.keep_alive_interval);
1510 rx_streaming->period = wl->conf.rx_streaming.interval;
/linux-master/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_mac.h158 u8 period; member in struct:beacon
/linux-master/drivers/scsi/bfa/
H A Dbfi.h1082 u32 period; /* beaconing period */ member in struct:bfi_diag_portbeacon_req_s
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.h337 u8 period; member in struct:sym_trans
914 u_char minsync; /* Min sync period factor (ST) */
915 u_char maxsync; /* Max sync period factor (ST) */
917 u_char minsync_dt; /* Min sync period factor (DT) */
918 u_char maxsync_dt; /* Max sync period factor (DT) */
/linux-master/drivers/usb/host/
H A Duhci-debug.c187 "%*s period %d phase %d load %d us, frame %x desc [%p]\n",
188 space, "", qh->period, qh->phase, qh->load,
191 out += sprintf(out, "%*s period %d phase %d load %d us\n",
192 space, "", qh->period, qh->phase, qh->load);
H A Duhci-q.c432 * Link a high-period interrupt QH into the schedule at the end of its
448 * Link a period-1 interrupt or async QH into the schedule at the
519 * Unlink a high-period interrupt QH from the schedule
531 * Unlink a period-1 interrupt or async QH from the schedule
608 * Find the highest existing bandwidth load for a given phase and period.
610 static int uhci_highest_load(struct uhci_hcd *uhci, int phase, int period) argument
614 for (phase += period; phase < MAX_PHASE; phase += period)
630 minimax_load = uhci_highest_load(uhci, qh->phase, qh->period);
633 int max_phase = min_t(int, MAX_PHASE, qh->period);
[all...]
/linux-master/include/scsi/
H A Dscsi_transport_spi.h19 int period; /* value in the PPR/SDTR command */ member in struct:spi_transport_attrs
62 #define spi_period(x) (((struct spi_transport_attrs *)&(x)->starget_data)->period)
144 int spi_populate_sync_msg(unsigned char *msg, int period, int offset);
145 int spi_populate_ppr_msg(unsigned char *msg, int period, int offset, int width,
/linux-master/include/trace/events/
H A Drtc.h168 __field(ktime_t, period)
174 __entry->period = timer->period;
177 TP_printk("RTC timer:(%p) expires:%lld period:%lld",
178 __entry->timer, __entry->expires, __entry->period
/linux-master/net/ceph/
H A Dstriper.c265 u64 period = (u64)l->stripe_count * l->object_size; local
266 u64 num_periods = DIV64_U64_ROUND_UP(size, period);
270 div64_u64_rem(size, period, &remainder_bytes);
/linux-master/sound/arm/
H A Daaci.h210 unsigned int period; /* byte size of a "period" */ member in struct:aaci_runtime
/linux-master/sound/usb/line6/
H A Dpcm.h101 * This is modulo period size (to determine when a period is finished).
108 /* period size in bytes */
109 unsigned period; member in struct:line6_pcm_stream
/linux-master/arch/alpha/kernel/
H A Dperf_event.c78 /* The maximum period the PMC can count. */
251 /* Set a new period to sample over */
256 long period = hwc->sample_period; local
259 if (unlikely(left <= -period)) {
260 left = period;
262 hwc->last_period = period;
267 left += period;
269 hwc->last_period = period;
275 * written with values that are too close to the maximum period.
296 * As the PMCs' full period ca
[all...]
/linux-master/arch/arc/kernel/
H A Dperf_event.c409 s64 period = hwc->sample_period; local
414 if (unlikely(left <= -period)) {
415 /* left underflowed by more than period. */
416 left = period;
418 hwc->last_period = period;
421 /* left underflowed by less than period. */
422 left += period;
424 hwc->last_period = period;
/linux-master/arch/arm/mach-orion5x/
H A Dts78xx-setup.c291 .period = 1000000, /* one second */
/linux-master/arch/arm/mach-spear/
H A Dtime.c125 u32 period; local
131 period = clk_get_rate(gpt_clk) / HZ;
132 period >>= CTRL_PRESCALER16;
133 writew(period, gpt_base + LOAD(CLKEVT));

Completed in 277 milliseconds

1234567891011>>