Searched refs:stadiaff (Results 1 – 2 of 2) sorted by relevance
29 struct stadiaff_device *stadiaff = in stadiaff_work() local31 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() local49 spin_lock_irqsave(&stadiaff->lock, flags); in stadiaff_play()50 if (!stadiaff->removed) { in stadiaff_play()[all …]
58 obj-$(CONFIG_HID_GOOGLE_STADIA_FF) += hid-google-stadiaff.o