Lines Matching refs:plff
51 struct plff_device *plff = data; in hid_plff_play() local
58 left = left * plff->maxval / 0xffff; in hid_plff_play()
59 right = right * plff->maxval / 0xffff; in hid_plff_play()
61 *plff->strong = left; in hid_plff_play()
62 *plff->weak = right; in hid_plff_play()
64 hid_hw_request(hid, plff->report, HID_REQ_SET_REPORT); in hid_plff_play()
71 struct plff_device *plff; in plff_init() local
143 plff = kzalloc(sizeof(struct plff_device), GFP_KERNEL); in plff_init()
144 if (!plff) in plff_init()
151 error = input_ff_create_memless(dev, plff, hid_plff_play); in plff_init()
153 kfree(plff); in plff_init()
157 plff->report = report; in plff_init()
158 plff->strong = strong; in plff_init()
159 plff->weak = weak; in plff_init()
160 plff->maxval = maxval; in plff_init()
164 hid_hw_request(hid, plff->report, HID_REQ_SET_REPORT); in plff_init()