Home
last modified time | relevance | path

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

/Linux-v6.6/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
103 betopff = kzalloc(sizeof(*betopff), GFP_KERNEL); in betopff_init()
104 if (!betopff) in betopff_init()
109 error = input_ff_create_memless(dev, betopff, hid_betopff_play); in betopff_init()
111 kfree(betopff); in betopff_init()
115 betopff->report = report; in betopff_init()
[all …]
DMakefile36 obj-$(CONFIG_HID_BETOP_FF) += hid-betopff.o