Home
last modified time | relevance | path

Searched refs:stadiaff (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/hid/
H A Dhid-google-stadiaff.c29 struct stadiaff_device *stadiaff = in stadiaff_work() local
31 struct hid_field *rumble_field = stadiaff->report->field[0]; in stadiaff_work()
34 spin_lock_irqsave(&stadiaff->lock, flags); in stadiaff_work()
35 rumble_field->value[0] = stadiaff->strong_magnitude; in stadiaff_work()
36 rumble_field->value[1] = stadiaff->weak_magnitude; in stadiaff_work()
37 spin_unlock_irqrestore(&stadiaff->lock, flags); in stadiaff_work()
39 hid_hw_request(stadiaff->hid, stadiaff->report, HID_REQ_SET_REPORT); in stadiaff_work()
46 struct stadiaff_device *stadiaff = hid_get_drvdata(hid); in stadiaff_play() local
49 spin_lock_irqsave(&stadiaff->lock, flags); in stadiaff_play()
50 if (!stadiaff->removed) { in stadiaff_play()
[all …]
H A DMakefile58 obj-$(CONFIG_HID_GOOGLE_STADIA_FF) += hid-google-stadiaff.o