Lines Matching refs:writeReport
86 u8 *writeReport; member
126 data->writeReport[0] = RMI_WRITE_REPORT_ID; in rmi_set_page()
127 data->writeReport[1] = 1; in rmi_set_page()
128 data->writeReport[2] = 0xFF; in rmi_set_page()
129 data->writeReport[4] = page; in rmi_set_page()
131 retval = rmi_write_report(hdev, data->writeReport, in rmi_set_page()
208 data->writeReport[0] = RMI_READ_ADDR_REPORT_ID; in rmi_hid_read_block()
209 data->writeReport[1] = 0; /* old 1 byte read count */ in rmi_hid_read_block()
210 data->writeReport[2] = addr & 0xFF; in rmi_hid_read_block()
211 data->writeReport[3] = (addr >> 8) & 0xFF; in rmi_hid_read_block()
212 data->writeReport[4] = len & 0xFF; in rmi_hid_read_block()
213 data->writeReport[5] = (len >> 8) & 0xFF; in rmi_hid_read_block()
217 ret = rmi_write_report(hdev, data->writeReport, in rmi_hid_read_block()
274 data->writeReport[0] = RMI_WRITE_REPORT_ID; in rmi_hid_write_block()
275 data->writeReport[1] = len; in rmi_hid_write_block()
276 data->writeReport[2] = addr & 0xFF; in rmi_hid_write_block()
277 data->writeReport[3] = (addr >> 8) & 0xFF; in rmi_hid_write_block()
278 memcpy(&data->writeReport[4], buf, len); in rmi_hid_write_block()
280 ret = rmi_write_report(hdev, data->writeReport, in rmi_hid_write_block()
702 data->writeReport = devm_kzalloc(&hdev->dev, alloc_size, GFP_KERNEL); in rmi_probe()
703 if (!data->writeReport) { in rmi_probe()
708 data->readReport = data->writeReport + data->output_report_size; in rmi_probe()