Searched refs:zpff (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/hid/
H A Dhid-zpff.c41 struct zpff_device *zpff = data; zpff_play() local
57 zpff->report->field[2]->value[0] = left; zpff_play()
58 zpff->report->field[3]->value[0] = right; zpff_play()
60 hid_hw_request(hid, zpff->report, HID_REQ_SET_REPORT); zpff_play()
67 struct zpff_device *zpff; zpff_init() local
80 zpff = kzalloc(sizeof(struct zpff_device), GFP_KERNEL); zpff_init()
81 if (!zpff) zpff_init()
86 error = input_ff_create_memless(dev, zpff, zpff_play); zpff_init()
88 kfree(zpff); zpff_init()
92 zpff->report = report; zpff_init()
93 zpff->report->field[0]->value[0] = 0x00; zpff_init()
94 zpff->report->field[1]->value[0] = 0x02; zpff_init()
95 zpff->report->field[2]->value[0] = 0x00; zpff_init()
96 zpff->report->field[3]->value[0] = 0x00; zpff_init()
97 hid_hw_request(hid, zpff->report, HID_REQ_SET_REPORT); zpff_init()
H A DMakefile95 obj-$(CONFIG_HID_ZEROPLUS) += hid-zpff.o
H A Dhid-pl.c105 Zeroplus (hid-zpff) devices. plff_init()

Completed in 49 milliseconds