Lines Matching refs:plff
63 struct plff_device *plff = data; in hid_plff_play() local
70 left = left * plff->maxval / 0xffff; in hid_plff_play()
71 right = right * plff->maxval / 0xffff; in hid_plff_play()
73 *plff->strong = left; in hid_plff_play()
74 *plff->weak = right; in hid_plff_play()
76 hid_hw_request(hid, plff->report, HID_REQ_SET_REPORT); in hid_plff_play()
83 struct plff_device *plff; in plff_init() local
155 plff = kzalloc(sizeof(struct plff_device), GFP_KERNEL); in plff_init()
156 if (!plff) in plff_init()
163 error = input_ff_create_memless(dev, plff, hid_plff_play); in plff_init()
165 kfree(plff); in plff_init()
169 plff->report = report; in plff_init()
170 plff->strong = strong; in plff_init()
171 plff->weak = weak; in plff_init()
172 plff->maxval = maxval; in plff_init()
176 hid_hw_request(hid, plff->report, HID_REQ_SET_REPORT); in plff_init()