resp_data 233 drivers/input/mouse/cyapa.h #define PIP_CMD_COMPLETE_SUCCESS(resp_data) \ resp_data 234 drivers/input/mouse/cyapa.h ((resp_data)[PIP_RESP_STATUS_OFFSET] == 0x00) resp_data 298 drivers/input/mouse/cyapa.h u8 *resp_data; resp_data 405 drivers/input/mouse/cyapa.h u8 *resp_data, int *resp_len, resp_data 361 drivers/input/mouse/cyapa_gen5.c pip->resp_data = NULL; resp_data 567 drivers/input/mouse/cyapa_gen5.c u8 *resp_data, int *resp_len, resp_data 584 drivers/input/mouse/cyapa_gen5.c if (resp_data && resp_len && length != 0 && func) { resp_data 590 drivers/input/mouse/cyapa_gen5.c resp_data, resp_len, func); resp_data 607 drivers/input/mouse/cyapa_gen5.c u8 *resp_data, int *resp_len, resp_data 624 drivers/input/mouse/cyapa_gen5.c pip->resp_data = resp_data; resp_data 642 drivers/input/mouse/cyapa_gen5.c if (error == -ETIMEDOUT && resp_data && resp_data 650 drivers/input/mouse/cyapa_gen5.c resp_data, resp_len, func); resp_data 657 drivers/input/mouse/cyapa_gen5.c resp_data, resp_len, timeout, func); resp_data 661 drivers/input/mouse/cyapa_gen5.c pip->resp_data = NULL; resp_data 769 drivers/input/mouse/cyapa_gen5.c u8 resp_data[PIP_HID_DESCRIPTOR_SIZE]; resp_data 782 drivers/input/mouse/cyapa_gen5.c memset(resp_data, 0, sizeof(resp_data)); resp_data 783 drivers/input/mouse/cyapa_gen5.c ret = cyapa_i2c_pip_read(cyapa, resp_data, 3); resp_data 787 drivers/input/mouse/cyapa_gen5.c length = get_unaligned_le16(&resp_data[PIP_RESP_LENGTH_OFFSET]); resp_data 800 drivers/input/mouse/cyapa_gen5.c resp_data, &length, resp_data 808 drivers/input/mouse/cyapa_gen5.c &resp_data[PIP_RESP_LENGTH_OFFSET]); resp_data 809 drivers/input/mouse/cyapa_gen5.c max_output_len = get_unaligned_le16(&resp_data[16]); resp_data 812 drivers/input/mouse/cyapa_gen5.c (resp_data[PIP_RESP_REPORT_ID_OFFSET] == resp_data 819 drivers/input/mouse/cyapa_gen5.c (resp_data[PIP_RESP_REPORT_ID_OFFSET] == resp_data 836 drivers/input/mouse/cyapa_gen5.c u8 resp_data[32]; resp_data 847 drivers/input/mouse/cyapa_gen5.c ret = cyapa_i2c_pip_read(cyapa, resp_data, resp_data 851 drivers/input/mouse/cyapa_gen5.c length = get_unaligned_le16(&resp_data[PIP_RESP_LENGTH_OFFSET]); resp_data 852 drivers/input/mouse/cyapa_gen5.c max_output_len = get_unaligned_le16(&resp_data[16]); resp_data 871 drivers/input/mouse/cyapa_gen5.c resp_data[2] == PIP_HID_BL_REPORT_ID && resp_data 877 drivers/input/mouse/cyapa_gen5.c (resp_data[PIP_RESP_REPORT_ID_OFFSET] == resp_data 1056 drivers/input/mouse/cyapa_gen5.c u8 resp_data[11]; resp_data 1102 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1105 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, 12000, resp_data 1108 drivers/input/mouse/cyapa_gen5.c resp_data[2] != PIP_BL_RESP_REPORT_ID || resp_data 1109 drivers/input/mouse/cyapa_gen5.c !PIP_CMD_COMPLETE_SUCCESS(resp_data)) resp_data 1142 drivers/input/mouse/cyapa_gen5.c u8 resp_data[11]; resp_data 1146 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1149 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1155 drivers/input/mouse/cyapa_gen5.c resp_data[PIP_RESP_REPORT_ID_OFFSET] == resp_data 1159 drivers/input/mouse/cyapa_gen5.c if (resp_data[0] == 0x00 && resp_data[1] == 0x00) resp_data 1168 drivers/input/mouse/cyapa_gen5.c u8 resp_data[2]; resp_data 1189 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1190 drivers/input/mouse/cyapa_gen5.c memset(resp_data, 0, resp_len); resp_data 1193 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1196 drivers/input/mouse/cyapa_gen5.c if (error || resp_data[0] != 0x00 || resp_data[1] != 0x00) resp_data 1328 drivers/input/mouse/cyapa_gen5.c u8 resp_data[11]; resp_data 1368 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1370 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1373 drivers/input/mouse/cyapa_gen5.c resp_data[2] != PIP_BL_RESP_REPORT_ID || resp_data 1374 drivers/input/mouse/cyapa_gen5.c !PIP_CMD_COMPLETE_SUCCESS(resp_data)) resp_data 1413 drivers/input/mouse/cyapa_gen5.c u8 resp_data[6]; resp_data 1418 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1420 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1422 drivers/input/mouse/cyapa_gen5.c if (error || !VALID_CMD_RESP_HEADER(resp_data, 0x08) || resp_data 1423 drivers/input/mouse/cyapa_gen5.c !PIP_CMD_COMPLETE_SUCCESS(resp_data)) resp_data 1436 drivers/input/mouse/cyapa_gen5.c u8 resp_data[7]; resp_data 1474 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1476 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1478 drivers/input/mouse/cyapa_gen5.c if (error || resp_data[5] != parameter_id || resp_data 1479 drivers/input/mouse/cyapa_gen5.c resp_data[6] != parameter_size || resp_data 1480 drivers/input/mouse/cyapa_gen5.c !VALID_CMD_RESP_HEADER(resp_data, GEN5_CMD_SET_PARAMETER)) resp_data 1493 drivers/input/mouse/cyapa_gen5.c u8 resp_data[11]; resp_data 1528 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1530 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1532 drivers/input/mouse/cyapa_gen5.c if (error || resp_data[5] != parameter_id || resp_data[6] == 0 || resp_data 1533 drivers/input/mouse/cyapa_gen5.c !VALID_CMD_RESP_HEADER(resp_data, GEN5_CMD_GET_PARAMETER)) resp_data 1539 drivers/input/mouse/cyapa_gen5.c *interval_time = get_unaligned_le16(&resp_data[7]) & mask; resp_data 1548 drivers/input/mouse/cyapa_gen5.c u8 resp_data[7]; resp_data 1562 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1564 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1566 drivers/input/mouse/cyapa_gen5.c if (error || resp_data[5] != GEN5_PARAMETER_DISABLE_PIP_REPORT || resp_data 1567 drivers/input/mouse/cyapa_gen5.c !VALID_CMD_RESP_HEADER(resp_data, GEN5_CMD_SET_PARAMETER) || resp_data 1568 drivers/input/mouse/cyapa_gen5.c resp_data[6] != 0x01) resp_data 1579 drivers/input/mouse/cyapa_gen5.c u8 resp_data[6]; resp_data 1583 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1585 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1587 drivers/input/mouse/cyapa_gen5.c if (error || !VALID_CMD_RESP_HEADER(resp_data, PIP_SET_PROXIMITY) || resp_data 1588 drivers/input/mouse/cyapa_gen5.c !PIP_CMD_COMPLETE_SUCCESS(resp_data)) { resp_data 1599 drivers/input/mouse/cyapa_gen5.c u8 resp_data[5]; resp_data 1604 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1606 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1608 drivers/input/mouse/cyapa_gen5.c if (error || ((resp_data[3] & PIP_DEEP_SLEEP_STATE_MASK) != state)) resp_data 1743 drivers/input/mouse/cyapa_gen5.c u8 resp_data[6]; resp_data 1750 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1753 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1755 drivers/input/mouse/cyapa_gen5.c if (error || !VALID_CMD_RESP_HEADER(resp_data, 0x04)) resp_data 1767 drivers/input/mouse/cyapa_gen5.c u8 resp_data[6]; resp_data 1774 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1777 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1779 drivers/input/mouse/cyapa_gen5.c if (error || !VALID_CMD_RESP_HEADER(resp_data, 0x03)) resp_data 1793 drivers/input/mouse/cyapa_gen5.c u8 resp_data[6]; resp_data 1807 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 1810 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 1812 drivers/input/mouse/cyapa_gen5.c if (error || !VALID_CMD_RESP_HEADER(resp_data, PIP_CMD_CALIBRATE) || resp_data 1813 drivers/input/mouse/cyapa_gen5.c !PIP_CMD_COMPLETE_SUCCESS(resp_data)) resp_data 1938 drivers/input/mouse/cyapa_gen5.c u8 resp_data[256]; resp_data 2024 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 2028 drivers/input/mouse/cyapa_gen5.c !VALID_CMD_RESP_HEADER(resp_data, cmd_code) || resp_data 2029 drivers/input/mouse/cyapa_gen5.c !PIP_CMD_COMPLETE_SUCCESS(resp_data) || resp_data 2030 drivers/input/mouse/cyapa_gen5.c resp_data[6] != idac_data_type) resp_data 2032 drivers/input/mouse/cyapa_gen5.c read_len = get_unaligned_le16(&resp_data[7]); resp_data 2036 drivers/input/mouse/cyapa_gen5.c *data_size = (resp_data[9] & GEN5_PWC_DATA_ELEMENT_SIZE_MASK); resp_data 2044 drivers/input/mouse/cyapa_gen5.c resp_data[9], resp_data 2045 drivers/input/mouse/cyapa_gen5.c &resp_data[GEN5_RESP_DATA_STRUCTURE_OFFSET], resp_data 2049 drivers/input/mouse/cyapa_gen5.c resp_data[9], resp_data 2050 drivers/input/mouse/cyapa_gen5.c &resp_data[GEN5_RESP_DATA_STRUCTURE_OFFSET + resp_data 2060 drivers/input/mouse/cyapa_gen5.c value = cyapa_parse_structure_data(resp_data[9], resp_data 2061 drivers/input/mouse/cyapa_gen5.c &resp_data[i], *data_size); resp_data 2181 drivers/input/mouse/cyapa_gen5.c u8 resp_data[6]; resp_data 2191 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 2194 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 2196 drivers/input/mouse/cyapa_gen5.c if (error || resp_len != sizeof(resp_data) || resp_data 2197 drivers/input/mouse/cyapa_gen5.c !VALID_CMD_RESP_HEADER(resp_data, resp_data 2199 drivers/input/mouse/cyapa_gen5.c !PIP_CMD_COMPLETE_SUCCESS(resp_data)) resp_data 2213 drivers/input/mouse/cyapa_gen5.c u8 resp_data[256]; /* Max bytes can transfer one time. */ resp_data 2254 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 2257 drivers/input/mouse/cyapa_gen5.c !VALID_CMD_RESP_HEADER(resp_data, cmd_code) || resp_data 2258 drivers/input/mouse/cyapa_gen5.c !PIP_CMD_COMPLETE_SUCCESS(resp_data) || resp_data 2259 drivers/input/mouse/cyapa_gen5.c resp_data[6] != raw_data_type) resp_data 2262 drivers/input/mouse/cyapa_gen5.c read_elements = get_unaligned_le16(&resp_data[7]); resp_data 2266 drivers/input/mouse/cyapa_gen5.c data_size = (resp_data[9] & GEN5_PWC_DATA_ELEMENT_SIZE_MASK); resp_data 2273 drivers/input/mouse/cyapa_gen5.c value = cyapa_parse_structure_data(resp_data[9], resp_data 2274 drivers/input/mouse/cyapa_gen5.c &resp_data[i], data_size); resp_data 2290 drivers/input/mouse/cyapa_gen5.c read_elements = (sizeof(resp_data) - resp_data 2448 drivers/input/mouse/cyapa_gen5.c u8 resp_data[PIP_BL_APP_INFO_RESP_LENGTH]; resp_data 2452 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 2455 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 2458 drivers/input/mouse/cyapa_gen5.c !PIP_CMD_COMPLETE_SUCCESS(resp_data)) resp_data 2461 drivers/input/mouse/cyapa_gen5.c memcpy(&cyapa->product_id[0], &resp_data[8], 5); resp_data 2463 drivers/input/mouse/cyapa_gen5.c memcpy(&cyapa->product_id[6], &resp_data[13], 6); resp_data 2465 drivers/input/mouse/cyapa_gen5.c memcpy(&cyapa->product_id[13], &resp_data[19], 2); resp_data 2468 drivers/input/mouse/cyapa_gen5.c cyapa->fw_maj_ver = resp_data[22]; resp_data 2469 drivers/input/mouse/cyapa_gen5.c cyapa->fw_min_ver = resp_data[23]; resp_data 2471 drivers/input/mouse/cyapa_gen5.c cyapa->platform_ver = (resp_data[26] >> PIP_BL_PLATFORM_VER_SHIFT) & resp_data 2479 drivers/input/mouse/cyapa_gen5.c u8 resp_data[PIP_READ_SYS_INFO_RESP_LENGTH]; resp_data 2484 drivers/input/mouse/cyapa_gen5.c resp_len = sizeof(resp_data); resp_data 2487 drivers/input/mouse/cyapa_gen5.c resp_data, &resp_len, resp_data 2489 drivers/input/mouse/cyapa_gen5.c if (error || resp_len < sizeof(resp_data)) resp_data 2492 drivers/input/mouse/cyapa_gen5.c product_family = get_unaligned_le16(&resp_data[7]); resp_data 2497 drivers/input/mouse/cyapa_gen5.c cyapa->platform_ver = (resp_data[49] >> PIP_BL_PLATFORM_VER_SHIFT) & resp_data 2501 drivers/input/mouse/cyapa_gen5.c cyapa->fw_maj_ver = resp_data[15]; resp_data 2502 drivers/input/mouse/cyapa_gen5.c cyapa->fw_min_ver = resp_data[16]; resp_data 2504 drivers/input/mouse/cyapa_gen5.c cyapa->fw_maj_ver = resp_data[9]; resp_data 2505 drivers/input/mouse/cyapa_gen5.c cyapa->fw_min_ver = resp_data[10]; resp_data 2508 drivers/input/mouse/cyapa_gen5.c cyapa->electrodes_x = resp_data[52]; resp_data 2509 drivers/input/mouse/cyapa_gen5.c cyapa->electrodes_y = resp_data[53]; resp_data 2511 drivers/input/mouse/cyapa_gen5.c cyapa->physical_size_x = get_unaligned_le16(&resp_data[54]) / 100; resp_data 2512 drivers/input/mouse/cyapa_gen5.c cyapa->physical_size_y = get_unaligned_le16(&resp_data[56]) / 100; resp_data 2514 drivers/input/mouse/cyapa_gen5.c cyapa->max_abs_x = get_unaligned_le16(&resp_data[58]); resp_data 2515 drivers/input/mouse/cyapa_gen5.c cyapa->max_abs_y = get_unaligned_le16(&resp_data[60]); resp_data 2517 drivers/input/mouse/cyapa_gen5.c cyapa->max_z = get_unaligned_le16(&resp_data[62]); resp_data 2519 drivers/input/mouse/cyapa_gen5.c cyapa->x_origin = resp_data[64] & 0x01; resp_data 2520 drivers/input/mouse/cyapa_gen5.c cyapa->y_origin = resp_data[65] & 0x01; resp_data 2522 drivers/input/mouse/cyapa_gen5.c cyapa->btn_capability = (resp_data[70] << 3) & CAPABILITY_BTN_MASK; resp_data 2524 drivers/input/mouse/cyapa_gen5.c memcpy(&cyapa->product_id[0], &resp_data[33], 5); resp_data 2526 drivers/input/mouse/cyapa_gen5.c memcpy(&cyapa->product_id[6], &resp_data[38], 6); resp_data 2528 drivers/input/mouse/cyapa_gen5.c memcpy(&cyapa->product_id[13], &resp_data[44], 2); resp_data 2648 drivers/input/mouse/cyapa_gen5.c pip->resp_data, resp_data 2659 drivers/input/mouse/cyapa_gen5.c if (pip->resp_data && pip->resp_len) { resp_data 2662 drivers/input/mouse/cyapa_gen5.c memcpy(pip->resp_data, pip->irq_cmd_buf, resp_data 91 drivers/input/mouse/cyapa_gen6.c u8 resp_data[PIP_READ_SYS_INFO_RESP_LENGTH]; resp_data 98 drivers/input/mouse/cyapa_gen6.c resp_len = sizeof(resp_data); resp_data 101 drivers/input/mouse/cyapa_gen6.c resp_data, &resp_len, resp_data 107 drivers/input/mouse/cyapa_gen6.c pip_info->family_id = resp_data[8]; resp_data 108 drivers/input/mouse/cyapa_gen6.c pip_info->silicon_id_low = resp_data[10]; resp_data 109 drivers/input/mouse/cyapa_gen6.c pip_info->silicon_id_high = resp_data[11]; resp_data 115 drivers/input/mouse/cyapa_gen6.c resp_len = sizeof(resp_data); resp_data 118 drivers/input/mouse/cyapa_gen6.c resp_data, &resp_len, resp_data 123 drivers/input/mouse/cyapa_gen6.c product_family = get_unaligned_le16(&resp_data[7]); resp_data 128 drivers/input/mouse/cyapa_gen6.c pip_info->family_id = resp_data[19]; resp_data 129 drivers/input/mouse/cyapa_gen6.c pip_info->silicon_id_low = resp_data[21]; resp_data 130 drivers/input/mouse/cyapa_gen6.c pip_info->silicon_id_high = resp_data[22]; resp_data 140 drivers/input/mouse/cyapa_gen6.c u8 resp_data[PIP_HID_DESCRIPTOR_SIZE]; resp_data 160 drivers/input/mouse/cyapa_gen6.c resp_data, &resp_len, resp_data 167 drivers/input/mouse/cyapa_gen6.c if (resp_data[PIP_RESP_REPORT_ID_OFFSET] == PIP_HID_BL_REPORT_ID) resp_data 169 drivers/input/mouse/cyapa_gen6.c else if (resp_data[PIP_RESP_REPORT_ID_OFFSET] == PIP_HID_APP_REPORT_ID) resp_data 196 drivers/input/mouse/cyapa_gen6.c u8 resp_data[PIP_READ_SYS_INFO_RESP_LENGTH]; resp_data 203 drivers/input/mouse/cyapa_gen6.c resp_len = sizeof(resp_data); resp_data 206 drivers/input/mouse/cyapa_gen6.c resp_data, &resp_len, resp_data 208 drivers/input/mouse/cyapa_gen6.c if (error || resp_len < sizeof(resp_data)) resp_data 211 drivers/input/mouse/cyapa_gen6.c product_family = get_unaligned_le16(&resp_data[7]); resp_data 216 drivers/input/mouse/cyapa_gen6.c cyapa->platform_ver = (resp_data[67] >> PIP_BL_PLATFORM_VER_SHIFT) & resp_data 218 drivers/input/mouse/cyapa_gen6.c cyapa->fw_maj_ver = resp_data[9]; resp_data 219 drivers/input/mouse/cyapa_gen6.c cyapa->fw_min_ver = resp_data[10]; resp_data 221 drivers/input/mouse/cyapa_gen6.c cyapa->electrodes_x = resp_data[33]; resp_data 222 drivers/input/mouse/cyapa_gen6.c cyapa->electrodes_y = resp_data[34]; resp_data 224 drivers/input/mouse/cyapa_gen6.c cyapa->physical_size_x = get_unaligned_le16(&resp_data[35]) / 100; resp_data 225 drivers/input/mouse/cyapa_gen6.c cyapa->physical_size_y = get_unaligned_le16(&resp_data[37]) / 100; resp_data 227 drivers/input/mouse/cyapa_gen6.c cyapa->max_abs_x = get_unaligned_le16(&resp_data[39]); resp_data 228 drivers/input/mouse/cyapa_gen6.c cyapa->max_abs_y = get_unaligned_le16(&resp_data[41]); resp_data 230 drivers/input/mouse/cyapa_gen6.c cyapa->max_z = get_unaligned_le16(&resp_data[43]); resp_data 232 drivers/input/mouse/cyapa_gen6.c cyapa->x_origin = resp_data[45] & 0x01; resp_data 233 drivers/input/mouse/cyapa_gen6.c cyapa->y_origin = resp_data[46] & 0x01; resp_data 235 drivers/input/mouse/cyapa_gen6.c cyapa->btn_capability = (resp_data[70] << 3) & CAPABILITY_BTN_MASK; resp_data 237 drivers/input/mouse/cyapa_gen6.c memcpy(&cyapa->product_id[0], &resp_data[51], 5); resp_data 239 drivers/input/mouse/cyapa_gen6.c memcpy(&cyapa->product_id[6], &resp_data[56], 6); resp_data 241 drivers/input/mouse/cyapa_gen6.c memcpy(&cyapa->product_id[13], &resp_data[62], 2); resp_data 245 drivers/input/mouse/cyapa_gen6.c rotat_align = resp_data[68]; resp_data 260 drivers/input/mouse/cyapa_gen6.c u8 resp_data[PIP_BL_APP_INFO_RESP_LENGTH]; resp_data 264 drivers/input/mouse/cyapa_gen6.c resp_len = sizeof(resp_data); resp_data 267 drivers/input/mouse/cyapa_gen6.c resp_data, &resp_len, resp_data 270 drivers/input/mouse/cyapa_gen6.c !PIP_CMD_COMPLETE_SUCCESS(resp_data)) resp_data 273 drivers/input/mouse/cyapa_gen6.c cyapa->fw_maj_ver = resp_data[8]; resp_data 274 drivers/input/mouse/cyapa_gen6.c cyapa->fw_min_ver = resp_data[9]; resp_data 276 drivers/input/mouse/cyapa_gen6.c cyapa->platform_ver = (resp_data[12] >> PIP_BL_PLATFORM_VER_SHIFT) & resp_data 279 drivers/input/mouse/cyapa_gen6.c memcpy(&cyapa->product_id[0], &resp_data[13], 5); resp_data 281 drivers/input/mouse/cyapa_gen6.c memcpy(&cyapa->product_id[6], &resp_data[18], 6); resp_data 283 drivers/input/mouse/cyapa_gen6.c memcpy(&cyapa->product_id[13], &resp_data[24], 2); resp_data 293 drivers/input/mouse/cyapa_gen6.c u8 resp_data[6]; resp_data 297 drivers/input/mouse/cyapa_gen6.c resp_len = sizeof(resp_data); resp_data 299 drivers/input/mouse/cyapa_gen6.c resp_data, &resp_len, resp_data 301 drivers/input/mouse/cyapa_gen6.c if (error || !VALID_CMD_RESP_HEADER(resp_data, cmd_code) || resp_data 302 drivers/input/mouse/cyapa_gen6.c !PIP_CMD_COMPLETE_SUCCESS(resp_data) resp_data 323 drivers/input/mouse/cyapa_gen6.c u8 resp_data[6]; resp_data 327 drivers/input/mouse/cyapa_gen6.c resp_len = sizeof(resp_data); resp_data 329 drivers/input/mouse/cyapa_gen6.c resp_data, &resp_len, resp_data 331 drivers/input/mouse/cyapa_gen6.c if (error || !VALID_CMD_RESP_HEADER(resp_data, 0x46)) resp_data 335 drivers/input/mouse/cyapa_gen6.c if (resp_data[5] != power_mode) resp_data 354 drivers/input/mouse/cyapa_gen6.c u8 resp_data[11]; resp_data 371 drivers/input/mouse/cyapa_gen6.c resp_len = sizeof(resp_data); resp_data 374 drivers/input/mouse/cyapa_gen6.c resp_data, &resp_len, resp_data 377 drivers/input/mouse/cyapa_gen6.c !VALID_CMD_RESP_HEADER(resp_data, GEN6_SET_POWER_MODE_INTERVAL)) resp_data 381 drivers/input/mouse/cyapa_gen6.c interval_setting->active_interval = get_unaligned_le16(&resp_data[5]); resp_data 382 drivers/input/mouse/cyapa_gen6.c interval_setting->lp1_interval = get_unaligned_le16(&resp_data[7]); resp_data 383 drivers/input/mouse/cyapa_gen6.c interval_setting->lp2_interval = get_unaligned_le16(&resp_data[9]); resp_data 393 drivers/input/mouse/cyapa_gen6.c u8 resp_data[11]; resp_data 397 drivers/input/mouse/cyapa_gen6.c resp_len = sizeof(resp_data); resp_data 399 drivers/input/mouse/cyapa_gen6.c resp_data, &resp_len, resp_data 402 drivers/input/mouse/cyapa_gen6.c !VALID_CMD_RESP_HEADER(resp_data, GEN6_GET_POWER_MODE_INTERVAL)) resp_data 405 drivers/input/mouse/cyapa_gen6.c interval_setting->active_interval = get_unaligned_le16(&resp_data[5]); resp_data 406 drivers/input/mouse/cyapa_gen6.c interval_setting->lp1_interval = get_unaligned_le16(&resp_data[7]); resp_data 407 drivers/input/mouse/cyapa_gen6.c interval_setting->lp2_interval = get_unaligned_le16(&resp_data[9]); resp_data 570 drivers/input/mouse/cyapa_gen6.c u8 resp_data[GEN6_MAX_RX_NUM + 10]; resp_data 583 drivers/input/mouse/cyapa_gen6.c resp_len = sizeof(resp_data); resp_data 586 drivers/input/mouse/cyapa_gen6.c resp_data, &resp_len, resp_data 589 drivers/input/mouse/cyapa_gen6.c if (error || !PIP_CMD_COMPLETE_SUCCESS(resp_data) || resp_data 590 drivers/input/mouse/cyapa_gen6.c resp_data[6] != data_id || resp_data 591 drivers/input/mouse/cyapa_gen6.c !VALID_CMD_RESP_HEADER(resp_data, PIP_RETRIEVE_DATA_STRUCTURE)) resp_data 594 drivers/input/mouse/cyapa_gen6.c read_len = get_unaligned_le16(&resp_data[7]); resp_data 600 drivers/input/mouse/cyapa_gen6.c memcpy(data, &resp_data[10], read_len); resp_data 18 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c u8 *resp_data, u16 resp_data_len) resp_data 48 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c if (resp_data && resp_data_len > 0) resp_data 49 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c memcpy(&resp_pf_to_vf->msg[4], resp_data, resp_data_len); resp_data 266 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c u8 resp_data; resp_data 288 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c &resp_data, resp_len); resp_data 389 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c u8 resp_data[HCLGE_TQPS_RSS_INFO_LEN]; resp_data 393 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c memcpy(&resp_data[0], &vport->alloc_tqps, sizeof(u16)); resp_data 394 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c memcpy(&resp_data[2], &vport->nic.kinfo.rss_size, sizeof(u16)); resp_data 395 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c memcpy(&resp_data[4], &hdev->rx_buf_len, sizeof(u16)); resp_data 397 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c return hclge_gen_resp_to_vf(vport, mbx_req, 0, resp_data, resp_data 406 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c u8 resp_data[HCLGE_TQPS_DEPTH_INFO_LEN]; resp_data 410 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c memcpy(&resp_data[0], &hdev->num_tx_desc, sizeof(u16)); resp_data 411 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c memcpy(&resp_data[2], &hdev->num_rx_desc, sizeof(u16)); resp_data 412 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c return hclge_gen_resp_to_vf(vport, mbx_req, 0, resp_data, resp_data 420 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c u8 resp_data[2]; resp_data 422 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c resp_data[0] = hdev->hw.mac.media_type; resp_data 423 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c resp_data[1] = hdev->hw.mac.module_type; resp_data 424 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c return hclge_gen_resp_to_vf(vport, mbx_req, 0, resp_data, resp_data 425 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c sizeof(resp_data)); resp_data 521 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c u8 resp_data[2]; resp_data 525 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c memcpy(resp_data, &qid_in_pf, sizeof(qid_in_pf)); resp_data 527 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c return hclge_gen_resp_to_vf(vport, mbx_req, 0, resp_data, 2); resp_data 534 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c u8 resp_data[HCLGE_RSS_MBX_RESP_LEN]; resp_data 540 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c memcpy(&resp_data[0], resp_data 544 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c return hclge_gen_resp_to_vf(vport, mbx_req, 0, resp_data, resp_data 318 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c u8 msg_data[2], resp_data[2]; resp_data 325 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c sizeof(msg_data), true, resp_data, resp_data 326 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c sizeof(resp_data)); resp_data 328 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c qid_in_pf = *(u16 *)resp_data; resp_data 312 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h u8 *resp_data, u16 resp_len); resp_data 26 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c u8 *resp_data, u16 resp_len) resp_data 64 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c if (resp_data) resp_data 65 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c memcpy(resp_data, &mbx_resp->additional_info[0], resp_len); resp_data 84 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c u8 *resp_data, u16 resp_len) resp_data 121 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c status = hclgevf_get_mbx_resp(hdev, code, subcode, resp_data, resp_data 147 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c u8 *resp_data; resp_data 162 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c resp_data = nvm_resp->data; resp_data 195 drivers/net/wireless/intel/iwlwifi/mvm/nvm.c memcpy(data + offset, resp_data, bytes_read); resp_data 655 drivers/net/wireless/intel/iwlwifi/mvm/tx.c struct iwl_probe_resp_data *resp_data; resp_data 666 drivers/net/wireless/intel/iwlwifi/mvm/tx.c resp_data = rcu_dereference(mvmvif->probe_resp_data); resp_data 667 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (!resp_data) resp_data 670 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (!resp_data->notif.noa_active) resp_data 682 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (skb_tailroom(skb) < resp_data->noa_len) { resp_data 683 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (pskb_expand_head(skb, 0, resp_data->noa_len, GFP_ATOMIC)) { resp_data 690 drivers/net/wireless/intel/iwlwifi/mvm/tx.c pos = skb_put(skb, resp_data->noa_len); resp_data 694 drivers/net/wireless/intel/iwlwifi/mvm/tx.c *pos++ = resp_data->noa_len - 2; resp_data 700 drivers/net/wireless/intel/iwlwifi/mvm/tx.c memcpy(pos, &resp_data->notif.noa_attr, resp_data 701 drivers/net/wireless/intel/iwlwifi/mvm/tx.c resp_data->noa_len - sizeof(struct ieee80211_vendor_ie)); resp_data 240 drivers/platform/olpc/olpc-xo175-ec.c u8 resp_data[EC_MAX_RESP_LEN]; resp_data 377 drivers/platform/olpc/olpc-xo175-ec.c priv->resp_data[priv->resp_len++] = byte; resp_data 393 drivers/platform/olpc/olpc-xo175-ec.c priv->resp_data[0] = byte; resp_data 503 drivers/platform/olpc/olpc-xo175-ec.c if (resp_len > sizeof(priv->resp_data)) { resp_data 550 drivers/platform/olpc/olpc-xo175-ec.c cmd, priv->resp_data[0]); resp_data 563 drivers/platform/olpc/olpc-xo175-ec.c memcpy(resp, priv->resp_data, resp_len); resp_data 103 drivers/platform/x86/intel_speed_select_if/isst_if_mbox_msr.c &act->mbox_cmd->resp_data); resp_data 97 drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c mbox_cmd->resp_data = data; resp_data 423 drivers/rapidio/rio_cm.c static int riocm_resp_handler(void *resp_data) resp_data 426 drivers/rapidio/rio_cm.c struct rio_ch_chan_hdr *hh = resp_data; resp_data 291 drivers/scsi/aic94xx/aic94xx_tmf.c res = ru->resp_data[3]; resp_data 993 drivers/scsi/isci/request.c memcpy(resp_buf, ssp_response->resp_data, len); resp_data 125 drivers/scsi/isci/task.h tmf->resp.resp_iu.resp_data[0], resp_data 126 drivers/scsi/isci/task.h tmf->resp.resp_iu.resp_data[1], resp_data 127 drivers/scsi/isci/task.h tmf->resp.resp_iu.resp_data[2], resp_data 128 drivers/scsi/isci/task.h tmf->resp.resp_iu.resp_data[3]); resp_data 19 drivers/scsi/libsas/sas_host_smp.c static void sas_host_smp_discover(struct sas_ha_struct *sas_ha, u8 *resp_data, resp_data 26 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_NO_PHY; resp_data 29 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_FUNC_ACC; resp_data 32 drivers/scsi/libsas/sas_host_smp.c resp_data[9] = phy_id; resp_data 33 drivers/scsi/libsas/sas_host_smp.c resp_data[13] = phy->negotiated_linkrate; resp_data 34 drivers/scsi/libsas/sas_host_smp.c memcpy(resp_data + 16, sas_ha->sas_addr, SAS_ADDR_SIZE); resp_data 35 drivers/scsi/libsas/sas_host_smp.c memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, resp_data 37 drivers/scsi/libsas/sas_host_smp.c resp_data[40] = (phy->minimum_linkrate << 4) | resp_data 39 drivers/scsi/libsas/sas_host_smp.c resp_data[41] = (phy->maximum_linkrate << 4) | resp_data 47 drivers/scsi/libsas/sas_host_smp.c resp_data[12] = rphy->identify.device_type << 4; resp_data 48 drivers/scsi/libsas/sas_host_smp.c resp_data[14] = rphy->identify.initiator_port_protocols; resp_data 49 drivers/scsi/libsas/sas_host_smp.c resp_data[15] = rphy->identify.target_port_protocols; resp_data 113 drivers/scsi/libsas/sas_host_smp.c static int sas_host_smp_write_gpio(struct sas_ha_struct *sas_ha, u8 *resp_data, resp_data 121 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_FUNC_UNK; resp_data 129 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_FUNC_FAILED; resp_data 132 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_FUNC_ACC; resp_data 137 drivers/scsi/libsas/sas_host_smp.c static void sas_report_phy_sata(struct sas_ha_struct *sas_ha, u8 *resp_data, resp_data 145 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_NO_PHY; resp_data 149 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_PHY_NO_SATA; resp_data 160 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_FUNC_ACC; resp_data 161 drivers/scsi/libsas/sas_host_smp.c resp_data[9] = phy_id; resp_data 162 drivers/scsi/libsas/sas_host_smp.c memcpy(resp_data + 16, sas_ha->sas_phy[phy_id]->attached_sas_addr, resp_data 171 drivers/scsi/libsas/sas_host_smp.c u8 *dst = resp_data + 24 + i, *src = resp_data 182 drivers/scsi/libsas/sas_host_smp.c enum sas_linkrate max, u8 *resp_data) resp_data 190 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_NO_PHY; resp_data 206 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_PHY_UNK_OP; resp_data 215 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_FUNC_ACC; resp_data 220 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_FUNC_FAILED; resp_data 222 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_FUNC_ACC; resp_data 228 drivers/scsi/libsas/sas_host_smp.c u8 *req_data, *resp_data; resp_data 247 drivers/scsi/libsas/sas_host_smp.c resp_data = kzalloc(max(job->reply_payload.payload_len, 128U), resp_data 249 drivers/scsi/libsas/sas_host_smp.c if (!resp_data) resp_data 257 drivers/scsi/libsas/sas_host_smp.c resp_data[0] = SMP_RESPONSE; resp_data 258 drivers/scsi/libsas/sas_host_smp.c resp_data[1] = req_data[1]; resp_data 259 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_FUNC_UNK; resp_data 263 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_FUNC_ACC; resp_data 264 drivers/scsi/libsas/sas_host_smp.c resp_data[9] = sas_ha->num_phys; resp_data 269 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_FUNC_ACC; resp_data 270 drivers/scsi/libsas/sas_host_smp.c memcpy(resp_data + 12, shost->hostt->name, resp_data 272 drivers/scsi/libsas/sas_host_smp.c memcpy(resp_data + 20, "libsas virt phy", resp_data 284 drivers/scsi/libsas/sas_host_smp.c sas_host_smp_discover(sas_ha, resp_data, req_data[9]); resp_data 296 drivers/scsi/libsas/sas_host_smp.c sas_report_phy_sata(sas_ha, resp_data, req_data[9]); resp_data 311 drivers/scsi/libsas/sas_host_smp.c resp_data[2] = SMP_RESP_INV_FRM_LEN; resp_data 315 drivers/scsi/libsas/sas_host_smp.c to_write = sas_host_smp_write_gpio(sas_ha, resp_data, req_data[2], resp_data 330 drivers/scsi/libsas/sas_host_smp.c resp_data); resp_data 344 drivers/scsi/libsas/sas_host_smp.c job->reply_payload.sg_cnt, resp_data, resp_data 349 drivers/scsi/libsas/sas_host_smp.c kfree(resp_data); resp_data 21 drivers/scsi/libsas/sas_task.c tstat->stat = iu->resp_data[3]; resp_data 4207 drivers/scsi/lpfc/lpfc_sli.c uint32_t hc_copy, ha_copy, resp_data; resp_data 4249 drivers/scsi/lpfc/lpfc_sli.c if (lpfc_readl((resp_buf + 1), &resp_data)) resp_data 4251 drivers/scsi/lpfc/lpfc_sli.c if (resp_data != ~(BARRIER_TEST_PATTERN)) resp_data 4256 drivers/scsi/lpfc/lpfc_sli.c resp_data = 0; resp_data 4257 drivers/scsi/lpfc/lpfc_sli.c if (lpfc_readl((resp_buf + 1), &resp_data)) resp_data 4259 drivers/scsi/lpfc/lpfc_sli.c if (resp_data != ~(BARRIER_TEST_PATTERN)) { resp_data 4268 drivers/scsi/lpfc/lpfc_sli.c resp_data = 0; resp_data 4270 drivers/scsi/lpfc/lpfc_sli.c if (lpfc_readl(resp_buf, &resp_data)) resp_data 4272 drivers/scsi/lpfc/lpfc_sli.c if (resp_data != mbox) resp_data 326 include/scsi/sas.h u8 resp_data[0]; resp_data 557 include/scsi/sas.h u8 resp_data[0]; resp_data 114 include/uapi/linux/isst_if.h __u32 resp_data; resp_data 224 sound/pci/mixart/mixart_core.c int snd_mixart_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void *resp_data) resp_data 258 sound/pci/mixart/mixart_core.c resp.data = resp_data; resp_data 549 sound/pci/mixart/mixart_core.h int snd_mixart_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void *resp_data); resp_data 588 sound/usb/mixer_scarlett_gen2.c void *req_data, u16 req_size, void *resp_data, u16 resp_size) resp_data 677 sound/usb/mixer_scarlett_gen2.c memcpy(resp_data, resp->data, resp_size); resp_data 569 tools/power/x86/intel-speed-select/isst-config.c *resp = mbox_cmds.mbox_cmd[0].resp_data;