Searched refs:mwctrl (Results 1 – 1 of 1) sorted by relevance
28 struct mwctrl_device *mwctrl = data; in mwctrl_play() local30 *mwctrl->strong = effect->u.rumble.strong_magnitude >> 8; in mwctrl_play()31 *mwctrl->weak = effect->u.rumble.weak_magnitude >> 8; in mwctrl_play()33 hid_hw_request(hid, mwctrl->report, HID_REQ_SET_REPORT); in mwctrl_play()40 struct mwctrl_device *mwctrl; in mwctrl_init() local60 mwctrl = kzalloc(sizeof(struct mwctrl_device), GFP_KERNEL); in mwctrl_init()61 if (!mwctrl) in mwctrl_init()66 error = input_ff_create_memless(dev, mwctrl, mwctrl_play); in mwctrl_init()68 kfree(mwctrl); in mwctrl_init()72 mwctrl->report = report; in mwctrl_init()[all …]