Lines Matching refs:report
137 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_play() local
146 report->field[0]->value[0] = 0x11; /* Slot 1 */ in hid_lg4ff_play()
147 report->field[0]->value[1] = 0x08; in hid_lg4ff_play()
148 report->field[0]->value[2] = x; in hid_lg4ff_play()
149 report->field[0]->value[3] = 0x80; in hid_lg4ff_play()
150 report->field[0]->value[4] = 0x00; in hid_lg4ff_play()
151 report->field[0]->value[5] = 0x00; in hid_lg4ff_play()
152 report->field[0]->value[6] = 0x00; in hid_lg4ff_play()
154 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lg4ff_play()
166 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_set_autocenter_default() local
168 report->field[0]->value[0] = 0xfe; in hid_lg4ff_set_autocenter_default()
169 report->field[0]->value[1] = 0x0d; in hid_lg4ff_set_autocenter_default()
170 report->field[0]->value[2] = magnitude >> 13; in hid_lg4ff_set_autocenter_default()
171 report->field[0]->value[3] = magnitude >> 13; in hid_lg4ff_set_autocenter_default()
172 report->field[0]->value[4] = magnitude >> 8; in hid_lg4ff_set_autocenter_default()
173 report->field[0]->value[5] = 0x00; in hid_lg4ff_set_autocenter_default()
174 report->field[0]->value[6] = 0x00; in hid_lg4ff_set_autocenter_default()
176 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lg4ff_set_autocenter_default()
184 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_set_autocenter_ffex() local
188 report->field[0]->value[0] = 0xfe; in hid_lg4ff_set_autocenter_ffex()
189 report->field[0]->value[1] = 0x03; in hid_lg4ff_set_autocenter_ffex()
190 report->field[0]->value[2] = magnitude >> 14; in hid_lg4ff_set_autocenter_ffex()
191 report->field[0]->value[3] = magnitude >> 14; in hid_lg4ff_set_autocenter_ffex()
192 report->field[0]->value[4] = magnitude; in hid_lg4ff_set_autocenter_ffex()
193 report->field[0]->value[5] = 0x00; in hid_lg4ff_set_autocenter_ffex()
194 report->field[0]->value[6] = 0x00; in hid_lg4ff_set_autocenter_ffex()
196 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lg4ff_set_autocenter_ffex()
203 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_set_range_g25() local
206 report->field[0]->value[0] = 0xf8; in hid_lg4ff_set_range_g25()
207 report->field[0]->value[1] = 0x81; in hid_lg4ff_set_range_g25()
208 report->field[0]->value[2] = range & 0x00ff; in hid_lg4ff_set_range_g25()
209 report->field[0]->value[3] = (range & 0xff00) >> 8; in hid_lg4ff_set_range_g25()
210 report->field[0]->value[4] = 0x00; in hid_lg4ff_set_range_g25()
211 report->field[0]->value[5] = 0x00; in hid_lg4ff_set_range_g25()
212 report->field[0]->value[6] = 0x00; in hid_lg4ff_set_range_g25()
214 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lg4ff_set_range_g25()
221 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_set_range_dfp() local
226 report->field[0]->value[0] = 0xf8; in hid_lg4ff_set_range_dfp()
227 report->field[0]->value[1] = 0x00; /* Set later */ in hid_lg4ff_set_range_dfp()
228 report->field[0]->value[2] = 0x00; in hid_lg4ff_set_range_dfp()
229 report->field[0]->value[3] = 0x00; in hid_lg4ff_set_range_dfp()
230 report->field[0]->value[4] = 0x00; in hid_lg4ff_set_range_dfp()
231 report->field[0]->value[5] = 0x00; in hid_lg4ff_set_range_dfp()
232 report->field[0]->value[6] = 0x00; in hid_lg4ff_set_range_dfp()
235 report->field[0]->value[1] = 0x03; in hid_lg4ff_set_range_dfp()
238 report->field[0]->value[1] = 0x02; in hid_lg4ff_set_range_dfp()
241 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lg4ff_set_range_dfp()
244 report->field[0]->value[0] = 0x81; in hid_lg4ff_set_range_dfp()
245 report->field[0]->value[1] = 0x0b; in hid_lg4ff_set_range_dfp()
246 report->field[0]->value[2] = 0x00; in hid_lg4ff_set_range_dfp()
247 report->field[0]->value[3] = 0x00; in hid_lg4ff_set_range_dfp()
248 report->field[0]->value[4] = 0x00; in hid_lg4ff_set_range_dfp()
249 report->field[0]->value[5] = 0x00; in hid_lg4ff_set_range_dfp()
250 report->field[0]->value[6] = 0x00; in hid_lg4ff_set_range_dfp()
253 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lg4ff_set_range_dfp()
261 report->field[0]->value[2] = start_left >> 4; in hid_lg4ff_set_range_dfp()
262 report->field[0]->value[3] = start_right >> 4; in hid_lg4ff_set_range_dfp()
263 report->field[0]->value[4] = 0xff; in hid_lg4ff_set_range_dfp()
264 report->field[0]->value[5] = (start_right & 0xe) << 4 | (start_left & 0xe); in hid_lg4ff_set_range_dfp()
265 report->field[0]->value[6] = 0xff; in hid_lg4ff_set_range_dfp()
267 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lg4ff_set_range_dfp()
273 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lg4ff_switch_native() local
279 report->field[0]->value[i] = cmd->cmd[j++]; in hid_lg4ff_switch_native()
281 usbhid_submit_report(hid, report, USB_DIR_OUT); in hid_lg4ff_switch_native()