Lines Matching refs:outbuf

73 	int (*func)(struct ilitek_ts_data *ts, u16 cmd, u8 *inbuf, u8 *outbuf);
214 u16 idx, u8 *inbuf, u8 *outbuf)
223 error = ts->ptl_cb_func[idx].func(ts, cmd, inbuf, outbuf);
231 u16 cmd, u8 *inbuf, u8 *outbuf)
237 error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 3);
241 ts->ptl.ver = get_unaligned_be16(outbuf);
242 ts->ptl.ver_major = outbuf[0];
248 u16 cmd, u8 *inbuf, u8 *outbuf)
254 error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 32);
258 ts->mcu_ver = get_unaligned_le16(outbuf);
260 memcpy(ts->product_id, outbuf + 6, 26);
266 u16 cmd, u8 *inbuf, u8 *outbuf)
272 error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 8);
276 memcpy(ts->firmware_ver, outbuf, 8);
282 u16 cmd, u8 *inbuf, u8 *outbuf)
288 error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 8);
292 ts->screen_min_x = get_unaligned_le16(outbuf);
293 ts->screen_min_y = get_unaligned_le16(outbuf + 2);
294 ts->screen_max_x = get_unaligned_le16(outbuf + 4);
295 ts->screen_max_y = get_unaligned_le16(outbuf + 6);
301 u16 cmd, u8 *inbuf, u8 *outbuf)
307 error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 15);
311 ts->max_tp = outbuf[8];
322 u16 cmd, u8 *inbuf, u8 *outbuf)
328 error = ilitek_i2c_write_and_read(ts, buf, 1, 5, outbuf, 2);
332 ts->ic_mode = outbuf[0];
337 u16 cmd, u8 *inbuf, u8 *outbuf)
346 u16 cmd, u8 *inbuf, u8 *outbuf)
404 u8 outbuf[64];
409 error = api_protocol_set_cmd(ts, GET_PTL_VER, NULL, outbuf);
424 u8 outbuf[256];
427 error = api_protocol_set_cmd(ts, GET_PTL_VER, NULL, outbuf);
431 error = api_protocol_set_cmd(ts, GET_MCU_VER, NULL, outbuf);
435 error = api_protocol_set_cmd(ts, GET_FW_VER, NULL, outbuf);
441 outbuf);
446 error = api_protocol_set_cmd(ts, GET_TP_RES, NULL, outbuf);
450 error = api_protocol_set_cmd(ts, GET_IC_MODE, NULL, outbuf);