Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hid/
Dhid-betopff.c44 struct betopff_device *betopff = data; in hid_betopff_play() local
50 betopff->report->field[2]->value[0] = left / 256; in hid_betopff_play()
51 betopff->report->field[3]->value[0] = right / 256; in hid_betopff_play()
53 hid_hw_request(hid, betopff->report, HID_REQ_SET_REPORT); in hid_betopff_play()
60 struct betopff_device *betopff; in betopff_init() local
98 betopff = kzalloc(sizeof(*betopff), GFP_KERNEL); in betopff_init()
99 if (!betopff) in betopff_init()
104 error = input_ff_create_memless(dev, betopff, hid_betopff_play); in betopff_init()
106 kfree(betopff); in betopff_init()
110 betopff->report = report; in betopff_init()
[all …]
DMakefile33 obj-$(CONFIG_HID_BETOP_FF) += hid-betopff.o