Home
last modified time | relevance | path

Searched refs:periodic (Results 1 – 25 of 65) sorted by relevance

123

/drivers/input/joystick/iforce/
Diforce-ff.c239 if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length in need_envelope_modifier()
240 || old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level in need_envelope_modifier()
241 || old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length in need_envelope_modifier()
242 || old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level) in need_envelope_modifier()
266 return (old->u.periodic.period != new->u.periodic.period in need_period_modifier()
267 || old->u.periodic.magnitude != new->u.periodic.magnitude in need_period_modifier()
268 || old->u.periodic.offset != new->u.periodic.offset in need_period_modifier()
269 || old->u.periodic.phase != new->u.periodic.phase); in need_period_modifier()
352 effect->u.periodic.magnitude, effect->u.periodic.offset, in iforce_upload_periodic()
353 effect->u.periodic.period, effect->u.periodic.phase); in iforce_upload_periodic()
[all …]
/drivers/input/
Dff-core.c44 e1->u.periodic.waveform == e2->u.periodic.waveform); in check_effects_compatible()
67 effect->u.periodic.waveform = FF_SINE; in compat_effect()
68 effect->u.periodic.period = 50; in compat_effect()
69 effect->u.periodic.magnitude = magnitude; in compat_effect()
70 effect->u.periodic.offset = 0; in compat_effect()
71 effect->u.periodic.phase = 0; in compat_effect()
72 effect->u.periodic.envelope.attack_length = 0; in compat_effect()
73 effect->u.periodic.envelope.attack_level = 0; in compat_effect()
74 effect->u.periodic.envelope.fade_length = 0; in compat_effect()
75 effect->u.periodic.envelope.fade_level = 0; in compat_effect()
[all …]
Dinput-compat.c83 compat_effect->u.periodic.waveform == FF_CUSTOM) in input_ff_effect_from_user()
84 effect->u.periodic.custom_data = in input_ff_effect_from_user()
85 compat_ptr(compat_effect->u.periodic.custom_data); in input_ff_effect_from_user()
Dinput-compat.h48 struct ff_periodic_effect_compat periodic; member
Dff-memless.c61 return &effect->u.periodic.envelope; in get_envelope()
292 i = apply_envelope(state, abs(new->u.periodic.magnitude), in ml_combine_effects()
293 &new->u.periodic.envelope); in ml_combine_effects()
/drivers/usb/host/
Dehci-mem.c126 if (ehci->periodic) in ehci_mem_cleanup()
129 ehci->periodic, ehci->periodic_dma); in ehci_mem_cleanup()
130 ehci->periodic = NULL; in ehci_mem_cleanup()
187 ehci->periodic = (__le32 *) in ehci_mem_init()
191 if (ehci->periodic == NULL) { in ehci_mem_init()
208 ehci->periodic[i] = cpu_to_hc32(ehci, in ehci_mem_init()
212 ehci->periodic[i] = EHCI_LIST_END(ehci); in ehci_mem_init()
Dehci-sched.c32 periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, in periodic_next_shadow() argument
37 return &periodic->qh->qh_next; in periodic_next_shadow()
39 return &periodic->fstn->fstn_next; in periodic_next_shadow()
41 return &periodic->itd->itd_next; in periodic_next_shadow()
44 return &periodic->sitd->sitd_next; in periodic_next_shadow()
49 shadow_next_periodic(struct ehci_hcd *ehci, union ehci_shadow *periodic, in shadow_next_periodic() argument
55 return &periodic->qh->hw->hw_next; in shadow_next_periodic()
58 return periodic->hw_next; in shadow_next_periodic()
66 __hc32 *hw_p = &ehci->periodic[frame]; in periodic_unlink()
434 type = Q_NEXT_TYPE(ehci, ehci->periodic[frame]); in tt_no_collision()
[all …]
Dohci-q.c152 struct ed **prev = &ohci->periodic [i]; in periodic_link()
276 struct ed **prev = &ohci->periodic [i]; in periodic_unlink()
602 int periodic = 0; in td_submit_urb() local
648 periodic = ohci_to_hcd(ohci)->self.bandwidth_int_reqs++ == 0 in td_submit_urb()
736 periodic = ohci_to_hcd(ohci)->self.bandwidth_isoc_reqs++ == 0 in td_submit_urb()
742 if (periodic) { in td_submit_urb()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dbrcms_trace_brcmsmac.h45 __field(uint, periodic)
50 __entry->periodic = t->periodic;
54 __entry->ms, __entry->set, __entry->periodic
Dmac80211_if.h42 bool periodic; member
107 void brcms_add_timer(struct brcms_timer *timer, uint ms, int periodic);
Dphy_shim.c73 wlapi_add_timer(struct wlapi_timer *t, uint ms, int periodic) in wlapi_add_timer() argument
75 brcms_add_timer((struct brcms_timer *)t, ms, periodic); in wlapi_add_timer()
/drivers/clocksource/
Dsh_tmu.c45 unsigned long periodic; member
210 int periodic) in sh_tmu_set_next() argument
222 if (periodic) in sh_tmu_set_next()
339 static void sh_tmu_clock_event_start(struct sh_tmu_channel *ch, int periodic) in sh_tmu_clock_event_start() argument
343 if (periodic) { in sh_tmu_clock_event_start()
344 ch->periodic = (ch->tmu->rate + HZ/2) / HZ; in sh_tmu_clock_event_start()
345 sh_tmu_set_next(ch, ch->periodic, 1); in sh_tmu_clock_event_start()
359 int periodic) in sh_tmu_clock_event_set_state() argument
368 ch->index, periodic ? "periodic" : "oneshot"); in sh_tmu_clock_event_set_state()
369 sh_tmu_clock_event_start(ch, periodic); in sh_tmu_clock_event_set_state()
Dtimer-meson6.c88 static void meson6_clkevt_time_start(bool periodic) in meson6_clkevt_time_start() argument
92 if (periodic) in meson6_clkevt_time_start()
Dtimer-rda.c35 static int rda_ostimer_start(void __iomem *base, bool periodic, u64 cycles) in rda_ostimer_start() argument
42 if (periodic) in rda_ostimer_start()
Dtimer-milbeaut.c64 static void mlb_evt_timer_start(struct timer_of *to, bool periodic) in mlb_evt_timer_start() argument
69 if (periodic) in mlb_evt_timer_start()
Dtimer-sun4i.c70 bool periodic) in sun4i_clkevt_time_start() argument
74 if (periodic) in sun4i_clkevt_time_start()
Dsh_mtu2.c206 unsigned long periodic; in sh_mtu2_enable() local
225 periodic = (rate + HZ/2) / HZ; in sh_mtu2_enable()
234 sh_mtu2_write(ch, TGR, periodic); in sh_mtu2_enable()
Dtimer-msc313e.c56 static void msc313e_timer_start(void __iomem *base, bool periodic) in msc313e_timer_start() argument
61 if (periodic) in msc313e_timer_start()
Darm_global_timer.c99 static void gt_compare_set(unsigned long delta, int periodic) in gt_compare_set() argument
113 if (periodic) { in gt_compare_set()
Dsh_cmt.c741 static void sh_cmt_clock_event_start(struct sh_cmt_channel *ch, int periodic) in sh_cmt_clock_event_start() argument
745 if (periodic) in sh_cmt_clock_event_start()
760 int periodic) in sh_cmt_clock_event_set_state() argument
769 ch->index, periodic ? "periodic" : "oneshot"); in sh_cmt_clock_event_set_state()
770 sh_cmt_clock_event_start(ch, periodic); in sh_cmt_clock_event_set_state()
Dtimer-mediatek.c155 bool periodic, u8 timer) in mtk_gpt_clkevt_time_start() argument
167 if (periodic) in mtk_gpt_clkevt_time_start()
/drivers/hid/usbhid/
Dhid-pidff.c342 effect->u.periodic.magnitude); in pidff_set_periodic_report()
344 effect->u.periodic.offset); in pidff_set_periodic_report()
345 pidff_set(&pidff->set_periodic[PID_PHASE], effect->u.periodic.phase); in pidff_set_periodic_report()
346 pidff->set_periodic[PID_PERIOD].value[0] = effect->u.periodic.period; in pidff_set_periodic_report()
359 return effect->u.periodic.magnitude != old->u.periodic.magnitude || in pidff_needs_set_periodic()
360 effect->u.periodic.offset != old->u.periodic.offset || in pidff_needs_set_periodic()
361 effect->u.periodic.phase != old->u.periodic.phase || in pidff_needs_set_periodic()
362 effect->u.periodic.period != old->u.periodic.period; in pidff_needs_set_periodic()
586 switch (effect->u.periodic.waveform) { in pidff_upload_effect()
617 pidff_needs_set_envelope(&effect->u.periodic.envelope, in pidff_upload_effect()
[all …]
/drivers/input/misc/
Dda7280.c535 if (effect->u.periodic.waveform != FF_CUSTOM) { in da7280_haptics_upload_effect()
548 if (effect->u.periodic.custom_len == DA7280_CUSTOM_DATA_LEN) in da7280_haptics_upload_effect()
551 if (effect->u.periodic.custom_len == DA7280_CUSTOM_GP_DATA_LEN) in da7280_haptics_upload_effect()
554 if (effect->u.periodic.custom_len < DA7280_CUSTOM_DATA_LEN || in da7280_haptics_upload_effect()
555 effect->u.periodic.custom_len > DA7280_SNP_MEM_SIZE) { in da7280_haptics_upload_effect()
560 if (copy_from_user(data, effect->u.periodic.custom_data, in da7280_haptics_upload_effect()
562 effect->u.periodic.custom_len)) in da7280_haptics_upload_effect()
567 for (i = 0; i < effect->u.periodic.custom_len; i++) { in da7280_haptics_upload_effect()
586 if (copy_from_user(data, effect->u.periodic.custom_data, in da7280_haptics_upload_effect()
617 if (copy_from_user(data, effect->u.periodic.custom_data, in da7280_haptics_upload_effect()
/drivers/hid/
Dhid-logitech-hidpp.c2610 switch (effect->u.periodic.waveform) { in hidpp_ff_upload_effect()
2627 …hid_err(data->hidpp->hid_dev, "Unexpected periodic waveform type %i!\n", effect->u.periodic.wavefo… in hidpp_ff_upload_effect()
2630 force = (effect->u.periodic.magnitude * fixp_sin16((effect->direction * 360) >> 16)) >> 15; in hidpp_ff_upload_effect()
2631 params[6] = effect->u.periodic.magnitude >> 8; in hidpp_ff_upload_effect()
2632 params[7] = effect->u.periodic.magnitude & 255; in hidpp_ff_upload_effect()
2633 params[8] = effect->u.periodic.offset >> 8; in hidpp_ff_upload_effect()
2634 params[9] = effect->u.periodic.offset & 255; in hidpp_ff_upload_effect()
2635 params[10] = effect->u.periodic.period >> 8; in hidpp_ff_upload_effect()
2636 params[11] = effect->u.periodic.period & 255; in hidpp_ff_upload_effect()
2637 params[12] = effect->u.periodic.phase >> 8; in hidpp_ff_upload_effect()
[all …]
/drivers/usb/dwc2/
DKconfig93 logged for periodic transfers. This allows better debugging of
94 non-periodic transfers, but of course the debug logs will be

123