Lines Matching defs:plff
26 #define debug(format, arg...) pr_debug("hid-plff: " format "\n" , ## arg)
41 struct plff_device *plff = data;
51 plff->report->field[0]->value[2] = left;
52 plff->report->field[0]->value[3] = right;
54 usbhid_submit_report(hid, plff->report, USB_DIR_OUT);
61 struct plff_device *plff;
79 printk(KERN_ERR "hid-plff: no output reports found\n");
88 printk(KERN_ERR "hid-plff: required output report is missing\n");
94 printk(KERN_ERR "hid-plff: no fields in the report\n");
99 printk(KERN_ERR "hid-plff: not enough values in the field\n");
103 plff = kzalloc(sizeof(struct plff_device), GFP_KERNEL);
104 if (!plff)
111 error = input_ff_create_memless(dev, plff, hid_plff_play);
113 kfree(plff);
117 plff->report = report;
118 plff->report->field[0]->value[0] = 0x00;
119 plff->report->field[0]->value[1] = 0x00;
120 plff->report->field[0]->value[2] = 0x00;
121 plff->report->field[0]->value[3] = 0x00;
122 usbhid_submit_report(hid, plff->report, USB_DIR_OUT);
125 printk(KERN_INFO "hid-plff: Force feedback for PantherLord USB/PS2 "