Lines Matching defs:report

37  * The ft260 input report format defines 62 bytes for the data payload, but
39 * reports. To achieve better performance with the multi-report read data
113 /* Response codes in I2C status report */
140 u8 report; /* FT260_CHIP_VERSION */
146 u8 report; /* FT260_SYSTEM_SETTINGS */
168 u8 report; /* FT260_I2C_STATUS */
177 u8 report; /* FT260_SYSTEM_SETTINGS */
183 u8 report; /* FT260_SYSTEM_SETTINGS */
189 u8 report; /* FT260_SYSTEM_SETTINGS */
196 u8 report; /* FT260_SYSTEM_SETTINGS */
201 u8 report; /* FT260_SYSTEM_SETTINGS */
209 u8 report; /* FT260_I2C_REPORT */
217 u8 report; /* FT260_I2C_READ_REQ */
224 u8 report; /* FT260_I2C_REPORT */
291 struct ft260_set_i2c_reset_report report;
294 report.request = FT260_SET_I2C_RESET;
296 ret = ft260_hid_feature_report_set(hdev, (u8 *)&report, sizeof(report));
309 struct ft260_get_i2c_status_report report;
314 (u8 *)&report, sizeof(report));
322 report.bus_status);
327 (u8 *)&report, sizeof(report));
333 dev->clock = le16_to_cpu(report.clock);
334 ft260_dbg("bus_status %#02x, clock %u\n", report.bus_status,
337 if (report.bus_status & (FT260_I2C_STATUS_CTRL_BUSY | bus_busy))
345 if (report.bus_status & FT260_I2C_STATUS_ERROR) {
346 hid_err(hdev, "i2c bus error: %#02x\n", report.bus_status);
439 rep->report = FT260_I2C_DATA_REPORT_ID(wr_len);
446 rep->report, addr, idx, len, wr_len,
483 rep->report = FT260_I2C_DATA_REPORT_ID(len);
489 rep->report, addr, cmd, rep->length, len);
519 rep.report = FT260_I2C_READ_REQ;
525 rep.report, rep.address, len, rd_len, flag);
876 rep.report = id; \
1065 static int ft260_raw_event(struct hid_device *hdev, struct hid_report *report,
1071 if (xfer->report >= FT260_I2C_REPORT_MIN &&
1072 xfer->report <= FT260_I2C_REPORT_MAX) {
1073 ft260_dbg("i2c resp: rep %#02x len %d\n", xfer->report,
1078 hid_err(hdev, "unexpected report %#02x, length %d\n",
1079 xfer->report, xfer->length);
1091 hid_err(hdev, "unhandled report %#02x\n", xfer->report);