Lines Matching refs:tmff
77 struct tmff_device *tmff = data; in tmff_play() local
78 struct hid_field *ff_field = tmff->ff_field; in tmff_play()
95 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); in tmff_play()
116 hid_hw_request(hid, tmff->report, HID_REQ_SET_REPORT); in tmff_play()
124 struct tmff_device *tmff; in tmff_init() local
139 tmff = kzalloc(sizeof(struct tmff_device), GFP_KERNEL); in tmff_init()
140 if (!tmff) in tmff_init()
167 if (tmff->report && tmff->report != report) { in tmff_init()
172 if (tmff->ff_field && tmff->ff_field != field) { in tmff_init()
177 tmff->report = report; in tmff_init()
178 tmff->ff_field = field; in tmff_init()
193 if (!tmff->report) { in tmff_init()
199 error = input_ff_create_memless(input_dev, tmff, tmff_play); in tmff_init()
207 kfree(tmff); in tmff_init()