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

/linux-4.1.27/drivers/hid/
H A Dhid-dr.c47 struct drff_device *drff = data; drff_play() local
65 drff->report->field[0]->value[0] = 0x51; drff_play()
66 drff->report->field[0]->value[1] = 0x00; drff_play()
67 drff->report->field[0]->value[2] = weak; drff_play()
68 drff->report->field[0]->value[4] = strong; drff_play()
69 hid_hw_request(hid, drff->report, HID_REQ_SET_REPORT); drff_play()
71 drff->report->field[0]->value[0] = 0xfa; drff_play()
72 drff->report->field[0]->value[1] = 0xfe; drff_play()
74 drff->report->field[0]->value[0] = 0xf3; drff_play()
75 drff->report->field[0]->value[1] = 0x00; drff_play()
78 drff->report->field[0]->value[2] = 0x00; drff_play()
79 drff->report->field[0]->value[4] = 0x00; drff_play()
81 hid_hw_request(hid, drff->report, HID_REQ_SET_REPORT); drff_play()
88 struct drff_device *drff; drff_init() local
113 drff = kzalloc(sizeof(struct drff_device), GFP_KERNEL); drff_init()
114 if (!drff) drff_init()
119 error = input_ff_create_memless(dev, drff, drff_play); drff_init()
121 kfree(drff); drff_init()
125 drff->report = report; drff_init()
126 drff->report->field[0]->value[0] = 0xf3; drff_init()
127 drff->report->field[0]->value[1] = 0x00; drff_init()
128 drff->report->field[0]->value[2] = 0x00; drff_init()
129 drff->report->field[0]->value[3] = 0x00; drff_init()
130 drff->report->field[0]->value[4] = 0x00; drff_init()
131 drff->report->field[0]->value[5] = 0x00; drff_init()
132 drff->report->field[0]->value[6] = 0x00; drff_init()
133 hid_hw_request(hid, drff->report, HID_REQ_SET_REPORT); drff_init()

Completed in 33 milliseconds