Lines Matching refs:report_id
217 int report_type, int report_id) in i2c_hid_encode_command() argument
221 if (report_id < 0x0F) { in i2c_hid_encode_command()
222 buf[length++] = report_type << 4 | report_id; in i2c_hid_encode_command()
227 buf[length++] = report_id; in i2c_hid_encode_command()
234 u8 report_type, u8 report_id, in i2c_hid_get_report() argument
249 report_type, report_id); in i2c_hid_get_report()
281 if (report_id && recv_len != 0 && recv_buf[0] != report_id) { in i2c_hid_get_report()
284 recv_buf[0], report_id); in i2c_hid_get_report()
291 static size_t i2c_hid_format_report(u8 *buf, int report_id, in i2c_hid_format_report() argument
296 if (report_id) in i2c_hid_format_report()
297 buf[length++] = report_id; in i2c_hid_format_report()
318 u8 report_type, u8 report_id, in i2c_hid_set_or_send_report() argument
340 report_type, report_id); in i2c_hid_set_or_send_report()
359 report_id, buf, data_len); in i2c_hid_set_or_send_report()
642 u8 report_type, u8 report_id, in i2c_hid_get_raw_report() argument
657 if (!report_id) { in i2c_hid_get_raw_report()
665 report_id, buf, count); in i2c_hid_get_raw_report()
667 if (ret_count > 0 && !report_id) in i2c_hid_get_raw_report()
678 int report_id = buf[0]; in i2c_hid_output_raw_report() local
695 report_id, buf + 1, count - 1, do_set); in i2c_hid_output_raw_report()