Lines Matching refs:emsff
26 struct emsff_device *emsff = data; in emsff_play() local
37 emsff->report->field[0]->value[1] = weak; in emsff_play()
38 emsff->report->field[0]->value[2] = strong; in emsff_play()
41 hid_hw_request(hid, emsff->report, HID_REQ_SET_REPORT); in emsff_play()
48 struct emsff_device *emsff; in emsff_init() local
79 emsff = kzalloc(sizeof(struct emsff_device), GFP_KERNEL); in emsff_init()
80 if (!emsff) in emsff_init()
85 error = input_ff_create_memless(dev, emsff, emsff_play); in emsff_init()
87 kfree(emsff); in emsff_init()
91 emsff->report = report; in emsff_init()
92 emsff->report->field[0]->value[0] = 0x01; in emsff_init()
93 emsff->report->field[0]->value[1] = 0x00; in emsff_init()
94 emsff->report->field[0]->value[2] = 0x00; in emsff_init()
95 emsff->report->field[0]->value[3] = 0x00; in emsff_init()
96 emsff->report->field[0]->value[4] = 0x00; in emsff_init()
97 emsff->report->field[0]->value[5] = 0x00; in emsff_init()
98 emsff->report->field[0]->value[6] = 0x00; in emsff_init()
99 hid_hw_request(hid, emsff->report, HID_REQ_SET_REPORT); in emsff_init()