Lines Matching refs:plff
29 #define debug(format, arg...) pr_debug("hid-plff: " format "\n" , ## arg)
51 struct plff_device *plff = data;
58 left = left * plff->maxval / 0xffff;
59 right = right * plff->maxval / 0xffff;
61 *plff->strong = left;
62 *plff->weak = right;
64 hid_hw_request(hid, plff->report, HID_REQ_SET_REPORT);
71 struct plff_device *plff;
143 plff = kzalloc(sizeof(struct plff_device), GFP_KERNEL);
144 if (!plff)
151 error = input_ff_create_memless(dev, plff, hid_plff_play);
153 kfree(plff);
157 plff->report = report;
158 plff->strong = strong;
159 plff->weak = weak;
160 plff->maxval = maxval;
164 hid_hw_request(hid, plff->report, HID_REQ_SET_REPORT);