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

/linux-4.4.14/drivers/hid/
H A Dhid-pl.c41 #define debug(format, arg...) pr_debug("hid-plff: " format "\n" , ## arg)
63 struct plff_device *plff = data; hid_plff_play() local
70 left = left * plff->maxval / 0xffff; hid_plff_play()
71 right = right * plff->maxval / 0xffff; hid_plff_play()
73 *plff->strong = left; hid_plff_play()
74 *plff->weak = right; hid_plff_play()
76 hid_hw_request(hid, plff->report, HID_REQ_SET_REPORT); hid_plff_play()
83 struct plff_device *plff; plff_init() local
155 plff = kzalloc(sizeof(struct plff_device), GFP_KERNEL); plff_init()
156 if (!plff) plff_init()
163 error = input_ff_create_memless(dev, plff, hid_plff_play); plff_init()
165 kfree(plff); plff_init()
169 plff->report = report; plff_init()
170 plff->strong = strong; plff_init()
171 plff->weak = weak; plff_init()
172 plff->maxval = maxval; plff_init()
176 hid_hw_request(hid, plff->report, HID_REQ_SET_REPORT); plff_init()

Completed in 53 milliseconds