/drivers/input/joystick/iforce/ |
D | iforce-ff.c | 258 if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length in need_envelope_modifier() 259 || old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level in need_envelope_modifier() 260 || old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length in need_envelope_modifier() 261 || old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level) in need_envelope_modifier() 285 return (old->u.periodic.period != new->u.periodic.period in need_period_modifier() 286 || old->u.periodic.magnitude != new->u.periodic.magnitude in need_period_modifier() 287 || old->u.periodic.offset != new->u.periodic.offset in need_period_modifier() 288 || old->u.periodic.phase != new->u.periodic.phase); in need_period_modifier() 371 effect->u.periodic.magnitude, effect->u.periodic.offset, in iforce_upload_periodic() 372 effect->u.periodic.period, effect->u.periodic.phase); in iforce_upload_periodic() [all …]
|
/drivers/input/ |
D | ff-core.c | 57 e1->u.periodic.waveform == e2->u.periodic.waveform); in check_effects_compatible() 80 effect->u.periodic.waveform = FF_SINE; in compat_effect() 81 effect->u.periodic.period = 50; in compat_effect() 82 effect->u.periodic.magnitude = max(magnitude, 0x7fff); in compat_effect() 83 effect->u.periodic.offset = 0; in compat_effect() 84 effect->u.periodic.phase = 0; in compat_effect() 85 effect->u.periodic.envelope.attack_length = 0; in compat_effect() 86 effect->u.periodic.envelope.attack_level = 0; in compat_effect() 87 effect->u.periodic.envelope.fade_length = 0; in compat_effect() 88 effect->u.periodic.envelope.fade_level = 0; in compat_effect() [all …]
|
D | input-compat.c | 86 compat_effect->u.periodic.waveform == FF_CUSTOM) in input_ff_effect_from_user() 87 effect->u.periodic.custom_data = in input_ff_effect_from_user() 88 compat_ptr(compat_effect->u.periodic.custom_data); in input_ff_effect_from_user()
|
D | input-compat.h | 50 struct ff_periodic_effect_compat periodic; member
|
D | ff-memless.c | 76 return &effect->u.periodic.envelope; in get_envelope() 307 i = apply_envelope(state, abs(new->u.periodic.magnitude), in ml_combine_effects() 308 &new->u.periodic.envelope); in ml_combine_effects()
|
/drivers/usb/host/ |
D | ehci-mem.c | 140 if (ehci->periodic) in ehci_mem_cleanup() 143 ehci->periodic, ehci->periodic_dma); in ehci_mem_cleanup() 144 ehci->periodic = NULL; in ehci_mem_cleanup() 201 ehci->periodic = (__le32 *) in ehci_mem_init() 205 if (ehci->periodic == NULL) { in ehci_mem_init() 222 ehci->periodic[i] = cpu_to_hc32(ehci, in ehci_mem_init() 226 ehci->periodic[i] = EHCI_LIST_END(ehci); in ehci_mem_init()
|
D | ehci-sched.c | 45 periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, in periodic_next_shadow() argument 50 return &periodic->qh->qh_next; in periodic_next_shadow() 52 return &periodic->fstn->fstn_next; in periodic_next_shadow() 54 return &periodic->itd->itd_next; in periodic_next_shadow() 57 return &periodic->sitd->sitd_next; in periodic_next_shadow() 62 shadow_next_periodic(struct ehci_hcd *ehci, union ehci_shadow *periodic, in shadow_next_periodic() argument 68 return &periodic->qh->hw->hw_next; in shadow_next_periodic() 71 return periodic->hw_next; in shadow_next_periodic() 79 __hc32 *hw_p = &ehci->periodic[frame]; in periodic_unlink() 460 type = Q_NEXT_TYPE(ehci, ehci->periodic[frame]); in tt_no_collision() [all …]
|
D | ohci-q.c | 151 struct ed **prev = &ohci->periodic [i]; in periodic_link() 275 struct ed **prev = &ohci->periodic [i]; in periodic_unlink() 601 int periodic = 0; in td_submit_urb() local 647 periodic = ohci_to_hcd(ohci)->self.bandwidth_int_reqs++ == 0 in td_submit_urb() 735 periodic = ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs++ == 0 in td_submit_urb() 741 if (periodic) { in td_submit_urb()
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | brcms_trace_brcmsmac.h | 45 __field(uint, periodic) 50 __entry->periodic = t->periodic; 54 __entry->ms, __entry->set, __entry->periodic
|
D | mac80211_if.h | 42 bool periodic; member 107 void brcms_add_timer(struct brcms_timer *timer, uint ms, int periodic);
|
D | phy_shim.c | 74 wlapi_add_timer(struct wlapi_timer *t, uint ms, int periodic) in wlapi_add_timer() argument 76 brcms_add_timer((struct brcms_timer *)t, ms, periodic); in wlapi_add_timer()
|
/drivers/clocksource/ |
D | sh_tmu.c | 49 unsigned long periodic; member 214 int periodic) in sh_tmu_set_next() argument 226 if (periodic) in sh_tmu_set_next() 343 static void sh_tmu_clock_event_start(struct sh_tmu_channel *ch, int periodic) in sh_tmu_clock_event_start() argument 347 if (periodic) { in sh_tmu_clock_event_start() 348 ch->periodic = (ch->tmu->rate + HZ/2) / HZ; in sh_tmu_clock_event_start() 349 sh_tmu_set_next(ch, ch->periodic, 1); in sh_tmu_clock_event_start() 363 int periodic) in sh_tmu_clock_event_set_state() argument 372 ch->index, periodic ? "periodic" : "oneshot"); in sh_tmu_clock_event_set_state() 373 sh_tmu_clock_event_start(ch, periodic); in sh_tmu_clock_event_set_state()
|
D | meson6_timer.c | 58 static void meson6_clkevt_time_start(unsigned char timer, bool periodic) in meson6_clkevt_time_start() argument 62 if (periodic) in meson6_clkevt_time_start()
|
D | sun4i_timer.c | 72 bool periodic) in sun4i_clkevt_time_start() argument 76 if (periodic) in sun4i_clkevt_time_start()
|
D | arm_global_timer.c | 96 static void gt_compare_set(unsigned long delta, int periodic) in gt_compare_set() argument 107 if (periodic) { in gt_compare_set()
|
D | sh_mtu2.c | 210 unsigned long periodic; in sh_mtu2_enable() local 229 periodic = (rate + HZ/2) / HZ; in sh_mtu2_enable() 238 sh_mtu2_write(ch, TGR, periodic); in sh_mtu2_enable()
|
D | timer-oxnas-rps.c | 84 unsigned int periodic) in oxnas_rps_timer_config() argument 91 if (periodic) in oxnas_rps_timer_config()
|
D | mtk_timer.c | 94 bool periodic, u8 timer) in mtk_clkevt_time_start() argument 106 if (periodic) in mtk_clkevt_time_start()
|
D | sh_cmt.c | 700 static void sh_cmt_clock_event_start(struct sh_cmt_channel *ch, int periodic) in sh_cmt_clock_event_start() argument 704 if (periodic) in sh_cmt_clock_event_start() 719 int periodic) in sh_cmt_clock_event_set_state() argument 728 ch->index, periodic ? "periodic" : "oneshot"); in sh_cmt_clock_event_set_state() 729 sh_cmt_clock_event_start(ch, periodic); in sh_cmt_clock_event_set_state()
|
/drivers/hid/usbhid/ |
D | hid-pidff.c | 354 effect->u.periodic.magnitude); in pidff_set_periodic_report() 356 effect->u.periodic.offset); in pidff_set_periodic_report() 357 pidff_set(&pidff->set_periodic[PID_PHASE], effect->u.periodic.phase); in pidff_set_periodic_report() 358 pidff->set_periodic[PID_PERIOD].value[0] = effect->u.periodic.period; in pidff_set_periodic_report() 371 return effect->u.periodic.magnitude != old->u.periodic.magnitude || in pidff_needs_set_periodic() 372 effect->u.periodic.offset != old->u.periodic.offset || in pidff_needs_set_periodic() 373 effect->u.periodic.phase != old->u.periodic.phase || in pidff_needs_set_periodic() 374 effect->u.periodic.period != old->u.periodic.period; in pidff_needs_set_periodic() 598 switch (effect->u.periodic.waveform) { in pidff_upload_effect() 629 pidff_needs_set_envelope(&effect->u.periodic.envelope, in pidff_upload_effect() [all …]
|
/drivers/hid/ |
D | hid-logitech-hidpp.c | 1664 switch (effect->u.periodic.waveform) { in hidpp_ff_upload_effect() 1681 …hid_err(data->hidpp->hid_dev, "Unexpected periodic waveform type %i!\n", effect->u.periodic.wavefo… in hidpp_ff_upload_effect() 1684 force = (effect->u.periodic.magnitude * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect() 1685 params[6] = effect->u.periodic.magnitude >> 8; in hidpp_ff_upload_effect() 1686 params[7] = effect->u.periodic.magnitude & 255; in hidpp_ff_upload_effect() 1687 params[8] = effect->u.periodic.offset >> 8; in hidpp_ff_upload_effect() 1688 params[9] = effect->u.periodic.offset & 255; in hidpp_ff_upload_effect() 1689 params[10] = effect->u.periodic.period >> 8; in hidpp_ff_upload_effect() 1690 params[11] = effect->u.periodic.period & 255; in hidpp_ff_upload_effect() 1691 params[12] = effect->u.periodic.phase >> 8; in hidpp_ff_upload_effect() [all …]
|
/drivers/usb/dwc2/ |
D | Kconfig | 91 logged for periodic transfers. This allows better debugging of 92 non-periodic transfers, but of course the debug logs will be
|
D | gadget.c | 398 return hs_ep->periodic; in is_ep_periodic() 487 bool periodic = is_ep_periodic(hs_ep); in dwc2_hsotg_write_fifo() local 502 if (periodic && !hsotg->dedicated_fifos) { in dwc2_hsotg_write_fifo() 573 if (can_write > 512 && !periodic) in dwc2_hsotg_write_fifo() 587 periodic ? GINTSTS_PTXFEMP : in dwc2_hsotg_write_fifo() 616 periodic ? GINTSTS_PTXFEMP : in dwc2_hsotg_write_fifo() 629 if (periodic) in dwc2_hsotg_write_fifo() 3219 static void dwc2_hsotg_irq_fifoempty(struct dwc2_hsotg *hsotg, bool periodic) in dwc2_hsotg_irq_fifoempty() argument 3234 if ((periodic && !ep->periodic) || in dwc2_hsotg_irq_fifoempty() 3235 (!periodic && ep->periodic)) in dwc2_hsotg_irq_fifoempty() [all …]
|
/drivers/gpu/drm/i915/ |
D | i915_perf.c | 1154 if (!dev_priv->perf.oa.periodic) in i915_oa_wait_unlocked() 1594 (dev_priv->perf.oa.periodic ? in gen8_update_reg_state_unlocked() 1654 (dev_priv->perf.oa.periodic ? GEN8_OA_TIMER_ENABLE : 0) | in gen8_emit_oa_config() 1893 bool periodic = dev_priv->perf.oa.periodic; in gen7_oa_enable() local 1901 (periodic ? GEN7_OACONTROL_TIMER_ENABLE : 0) | in gen7_oa_enable() 1949 if (dev_priv->perf.oa.periodic) in i915_oa_stream_enable() 1979 if (dev_priv->perf.oa.periodic) in i915_oa_stream_disable() 2085 dev_priv->perf.oa.periodic = props->oa_periodic; in i915_oa_stream_init() 2086 if (dev_priv->perf.oa.periodic) in i915_oa_stream_init()
|
/drivers/cpuidle/ |
D | Kconfig | 21 bool "Ladder governor (for periodic timer tick)"
|