Lines Matching refs:tmff
87 struct tmff_device *tmff = data; in tmff_play() local
88 struct hid_field *ff_field = tmff->ff_field; in tmff_play()
104 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); in tmff_play()
118 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); in tmff_play()
126 struct tmff_device *tmff; in tmff_init() local
135 tmff = kzalloc(sizeof(struct tmff_device), GFP_KERNEL); in tmff_init()
136 if (!tmff) in tmff_init()
163 if (tmff->report && tmff->report != report) { in tmff_init()
168 if (tmff->ff_field && tmff->ff_field != field) { in tmff_init()
173 tmff->report = report; in tmff_init()
174 tmff->ff_field = field; in tmff_init()
189 if (!tmff->report) { in tmff_init()
195 error = input_ff_create_memless(input_dev, tmff, tmff_play); in tmff_init()
203 kfree(tmff); in tmff_init()