Lines Matching defs:report
68 * The same data in multiple report types.
76 * The device sends this input report in response to "detect fans" command:
77 * a 2-byte output report { 0x60, 0x03 }.
91 * one report with type = FAN_STATUS_REPORT_SPEED, and one report with type =
153 * This output report sets pwm duty cycle/target fan speed for one or more
197 * values (after sending an output hid report, the corresponding field
223 struct fan_config_report *report = data;
229 if (report->magic != 0x03)
235 drvdata->fan_type[i] = report->fan_type[i];
244 struct fan_status_report *report = data;
253 * The device sends INPUT_REPORT_ID_FAN_CONFIG = 0x61 report in response
264 if (drvdata->fan_type[i] == report->fan_type[i])
272 * hidraw, fan config report should arrive first.
276 i, drvdata->fan_type[i], report->fan_type[i]);
277 drvdata->fan_type[i] = report->fan_type[i];
280 switch (report->type) {
284 get_unaligned_le16(&report->fan_speed.fan_rpm[i]);
286 report->fan_speed.duty_percent[i];
296 get_unaligned_le16(&report->fan_voltage.fan_in[i]);
298 get_unaligned_le16(&report->fan_voltage.fan_current[i]);
469 struct set_fan_speed_report report = {
479 report.duty_percent[channel] = duty_percent;
480 ret = send_output_report(drvdata, &report, sizeof(report));
489 * for a report, to make pwmconfig and fancontrol happy. Worst case -
563 u8 report[] = {
575 ret = send_output_report(drvdata, report, sizeof(report));
689 struct hid_report *report, u8 *data, int size)