Lines Matching refs:mf
37 struct mf_device *mf = data; in mf_play() local
50 mf->report->field[0]->value[0] = weak; in mf_play()
51 mf->report->field[0]->value[1] = strong; in mf_play()
52 hid_hw_request(hid, mf->report, HID_REQ_SET_REPORT); in mf_play()
59 struct mf_device *mf; in mf_init() local
91 mf = kzalloc(sizeof(struct mf_device), GFP_KERNEL); in mf_init()
92 if (!mf) in mf_init()
98 error = input_ff_create_memless(dev, mf, mf_play); in mf_init()
100 kfree(mf); in mf_init()
104 mf->report = report; in mf_init()
105 mf->report->field[0]->value[0] = 0x00; in mf_init()
106 mf->report->field[0]->value[1] = 0x00; in mf_init()
107 hid_hw_request(hid, mf->report, HID_REQ_SET_REPORT); in mf_init()