/kernel/linux/linux-5.10/drivers/input/joystick/iforce/ |
H A D | iforce-ff.c | 239 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() 255 * Analyse the changes in an effect, and tell if we need to send a periodic 266 return (old->u.periodic in need_period_modifier() [all...] |
/kernel/linux/linux-6.6/drivers/input/joystick/iforce/ |
H A D | iforce-ff.c | 239 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() 255 * Analyse the changes in an effect, and tell if we need to send a periodic 266 return (old->u.periodic in need_period_modifier() [all...] |
/kernel/linux/linux-5.10/drivers/input/ |
H A D | ff-core.c | 45 e1->u.periodic.waveform == e2->u.periodic.waveform); in check_effects_compatible() 68 effect->u.periodic.waveform = FF_SINE; in compat_effect() 69 effect->u.periodic.period = 50; in compat_effect() 70 effect->u.periodic.magnitude = max(magnitude, 0x7fff); in compat_effect() 71 effect->u.periodic.offset = 0; in compat_effect() 72 effect->u.periodic.phase = 0; in compat_effect() 73 effect->u.periodic.envelope.attack_length = 0; in compat_effect() 74 effect->u.periodic.envelope.attack_level = 0; in compat_effect() 75 effect->u.periodic in compat_effect() [all...] |
H A D | input-compat.c | 83 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()
|
/kernel/linux/linux-6.6/drivers/input/ |
H A D | ff-core.c | 42 e1->u.periodic.waveform == e2->u.periodic.waveform); in check_effects_compatible() 65 effect->u.periodic.waveform = FF_SINE; in compat_effect() 66 effect->u.periodic.period = 50; in compat_effect() 67 effect->u.periodic.magnitude = magnitude; in compat_effect() 68 effect->u.periodic.offset = 0; in compat_effect() 69 effect->u.periodic.phase = 0; in compat_effect() 70 effect->u.periodic.envelope.attack_length = 0; in compat_effect() 71 effect->u.periodic.envelope.attack_level = 0; in compat_effect() 72 effect->u.periodic in compat_effect() [all...] |
H A D | input-compat.c | 83 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()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ehci-mem.c | 13 * - async and periodic schedules, shared by HC and HCD ... these 127 if (ehci->periodic) in ehci_mem_cleanup() 130 ehci->periodic, ehci->periodic_dma); in ehci_mem_cleanup() 131 ehci->periodic = NULL; in ehci_mem_cleanup() 133 /* shadow periodic table */ in ehci_mem_cleanup() 187 /* Hardware periodic table */ in ehci_mem_init() 188 ehci->periodic = (__le32 *) in ehci_mem_init() 192 if (ehci->periodic == NULL) { in ehci_mem_init() 209 ehci->periodic[i] = cpu_to_hc32(ehci, in ehci_mem_init() 213 ehci->periodic[ in ehci_mem_init() [all...] |
H A D | ehci-sched.c | 13 * These are called "periodic" transactions in the EHCI spec. 28 * @periodic: host pointer to qh/itd/sitd 32 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 in shadow_next_periodic() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ehci-mem.c | 13 * - async and periodic schedules, shared by HC and HCD ... these 126 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() 132 /* shadow periodic table */ in ehci_mem_cleanup() 186 /* Hardware periodic table */ in ehci_mem_init() 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[ in ehci_mem_init() [all...] |
H A D | ehci-sched.c | 13 * These are called "periodic" transactions in the EHCI spec. 28 * @periodic: host pointer to qh/itd/sitd 32 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 in shadow_next_periodic() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | brcms_trace_brcmsmac.h | 45 __field(uint, periodic) 50 __entry->periodic = t->periodic; 53 "ms=%u set=%u periodic=%u", 54 __entry->ms, __entry->set, __entry->periodic
|
H A D | mac80211_if.h | 42 bool periodic; member 107 void brcms_add_timer(struct brcms_timer *timer, uint ms, int periodic);
|
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | brcms_trace_brcmsmac.h | 45 __field(uint, periodic) 50 __entry->periodic = t->periodic; 53 "ms=%u set=%u periodic=%u", 54 __entry->ms, __entry->set, __entry->periodic
|
H A D | mac80211_if.h | 42 bool periodic; member 107 void brcms_add_timer(struct brcms_timer *timer, uint ms, int periodic);
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | sh_tmu.c | 45 unsigned long periodic; member 210 int periodic) in sh_tmu_set_next() 221 /* reload delta value in case of periodic timer */ in sh_tmu_set_next() 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() 368 ch->index, periodic in sh_tmu_clock_event_set_state() 209 sh_tmu_set_next(struct sh_tmu_channel *ch, unsigned long delta, int periodic) sh_tmu_set_next() argument 358 sh_tmu_clock_event_set_state(struct clock_event_device *ced, int periodic) sh_tmu_clock_event_set_state() argument [all...] |
H A D | timer-rda.c | 35 static int rda_ostimer_start(void __iomem *base, bool periodic, u64 cycles) in rda_ostimer_start() argument 42 if (periodic) in rda_ostimer_start()
|
H A D | timer-meson6.c | 88 static void meson6_clkevt_time_start(bool periodic) in meson6_clkevt_time_start() argument 92 if (periodic) in meson6_clkevt_time_start()
|
H A D | timer-milbeaut.c | 64 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()
|
/kernel/linux/linux-6.6/drivers/clocksource/ |
H A D | sh_tmu.c | 45 unsigned long periodic; member 210 int periodic) in sh_tmu_set_next() 221 /* reload delta value in case of periodic timer */ in sh_tmu_set_next() 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() 368 ch->index, periodic in sh_tmu_clock_event_set_state() 209 sh_tmu_set_next(struct sh_tmu_channel *ch, unsigned long delta, int periodic) sh_tmu_set_next() argument 358 sh_tmu_clock_event_set_state(struct clock_event_device *ced, int periodic) sh_tmu_clock_event_set_state() argument [all...] |
H A D | timer-rda.c | 35 static int rda_ostimer_start(void __iomem *base, bool periodic, u64 cycles) in rda_ostimer_start() argument 42 if (periodic) in rda_ostimer_start()
|
H A D | timer-meson6.c | 88 static void meson6_clkevt_time_start(bool periodic) in meson6_clkevt_time_start() argument 92 if (periodic) in meson6_clkevt_time_start()
|
/kernel/linux/linux-5.10/drivers/hid/usbhid/ |
H A D | hid-pidff.c | 334 * Send periodic effect report to the device 342 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() 354 * Test if periodic effect parameters have changed 359 return effect->u.periodic.magnitude != old->u.periodic.magnitude || in pidff_needs_set_periodic() 360 effect->u.periodic.offset != old->u.periodic in pidff_needs_set_periodic() [all...] |
/kernel/linux/linux-6.6/drivers/hid/usbhid/ |
H A D | hid-pidff.c | 334 * Send periodic effect report to the device 342 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() 354 * Test if periodic effect parameters have changed 359 return effect->u.periodic.magnitude != old->u.periodic.magnitude || in pidff_needs_set_periodic() 360 effect->u.periodic.offset != old->u.periodic in pidff_needs_set_periodic() [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | da7280.c | 535 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 in da7280_haptics_upload_effect() [all...] |