Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/hid/
Dhid-betopff.c41 struct betopff_device *betopff = data; in hid_betopff_play() local
47 betopff->report->field[2]->value[0] = left / 256; in hid_betopff_play()
48 betopff->report->field[3]->value[0] = right / 256; in hid_betopff_play()
50 hid_hw_request(hid, betopff->report, HID_REQ_SET_REPORT); in hid_betopff_play()
57 struct betopff_device *betopff; in betopff_init() local
102 betopff = kzalloc(sizeof(*betopff), GFP_KERNEL); in betopff_init()
103 if (!betopff) in betopff_init()
108 error = input_ff_create_memless(dev, betopff, hid_betopff_play); in betopff_init()
110 kfree(betopff); in betopff_init()
114 betopff->report = report; in betopff_init()
[all …]
DMakefile34 obj-$(CONFIG_HID_BETOP_FF) += hid-betopff.o