Lines Matching refs:resp
192 u8 *resp, size_t resp_size) in elants_i2c_execute_command() argument
222 msgs[1].buf = resp; in elants_i2c_execute_command()
228 if (ret != ARRAY_SIZE(msgs) || resp[FW_HDR_TYPE] != expected_response) in elants_i2c_execute_command()
306 u8 resp[HEADER_SIZE]; in elants_i2c_query_fw_id() local
310 resp, sizeof(resp)); in elants_i2c_query_fw_id()
312 ts->hw_version = elants_i2c_parse_version(resp); in elants_i2c_query_fw_id()
318 error, (int)sizeof(resp), resp); in elants_i2c_query_fw_id()
332 u8 resp[HEADER_SIZE]; in elants_i2c_query_fw_version() local
336 resp, sizeof(resp)); in elants_i2c_query_fw_version()
338 ts->fw_version = elants_i2c_parse_version(resp); in elants_i2c_query_fw_version()
345 error, (int)sizeof(resp), resp); in elants_i2c_query_fw_version()
360 u8 resp[HEADER_SIZE]; in elants_i2c_query_test_version() local
364 resp, sizeof(resp)); in elants_i2c_query_test_version()
366 version = elants_i2c_parse_version(resp); in elants_i2c_query_test_version()
375 error, (int)sizeof(resp), resp); in elants_i2c_query_test_version()
387 u8 resp[HEADER_SIZE]; in elants_i2c_query_bc_version() local
392 resp, sizeof(resp)); in elants_i2c_query_bc_version()
396 error, (int)sizeof(resp), resp); in elants_i2c_query_bc_version()
400 version = elants_i2c_parse_version(resp); in elants_i2c_query_bc_version()
411 u8 resp[17]; in elants_i2c_query_ts_info() local
430 resp, sizeof(resp)); in elants_i2c_query_ts_info()
437 rows = resp[2] + resp[6] + resp[10]; in elants_i2c_query_ts_info()
438 cols = resp[3] + resp[7] + resp[11]; in elants_i2c_query_ts_info()
443 resp, sizeof(resp)); in elants_i2c_query_ts_info()
450 osr = resp[3]; in elants_i2c_query_ts_info()
455 resp, sizeof(resp)); in elants_i2c_query_ts_info()
462 phy_x = get_unaligned_be16(&resp[2]); in elants_i2c_query_ts_info()
467 resp, sizeof(resp)); in elants_i2c_query_ts_info()
474 phy_y = get_unaligned_be16(&resp[2]); in elants_i2c_query_ts_info()