• Home
  • Raw
  • Download

Lines Matching refs:reply

442 	struct icm_fr_pkg_driver_ready_response reply;  in icm_fr_driver_ready()  local
448 memset(&reply, 0, sizeof(reply)); in icm_fr_driver_ready()
449 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_driver_ready()
455 *security_level = reply.security_level & ICM_FR_SLEVEL_MASK; in icm_fr_driver_ready()
463 struct icm_fr_pkg_approve_device reply; in icm_fr_approve_switch() local
472 memset(&reply, 0, sizeof(reply)); in icm_fr_approve_switch()
474 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_approve_switch()
479 if (reply.hdr.flags & ICM_FLAGS_ERROR) { in icm_fr_approve_switch()
490 struct icm_fr_pkg_add_device_key_response reply; in icm_fr_add_switch_key() local
500 memset(&reply, 0, sizeof(reply)); in icm_fr_add_switch_key()
501 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_add_switch_key()
506 if (reply.hdr.flags & ICM_FLAGS_ERROR) { in icm_fr_add_switch_key()
518 struct icm_fr_pkg_challenge_device_response reply; in icm_fr_challenge_switch_key() local
528 memset(&reply, 0, sizeof(reply)); in icm_fr_challenge_switch_key()
529 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_challenge_switch_key()
534 if (reply.hdr.flags & ICM_FLAGS_ERROR) in icm_fr_challenge_switch_key()
536 if (reply.hdr.flags & ICM_FLAGS_NO_KEY) in icm_fr_challenge_switch_key()
539 memcpy(response, reply.response, TB_SWITCH_KEY_SIZE); in icm_fr_challenge_switch_key()
546 struct icm_fr_pkg_approve_xdomain_response reply; in icm_fr_approve_xdomain_paths() local
560 memset(&reply, 0, sizeof(reply)); in icm_fr_approve_xdomain_paths()
561 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_approve_xdomain_paths()
566 if (reply.hdr.flags & ICM_FLAGS_ERROR) in icm_fr_approve_xdomain_paths()
991 struct icm_tr_pkg_driver_ready_response reply; in icm_tr_driver_ready() local
997 memset(&reply, 0, sizeof(reply)); in icm_tr_driver_ready()
998 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_tr_driver_ready()
1004 *security_level = reply.info & ICM_TR_INFO_SLEVEL_MASK; in icm_tr_driver_ready()
1006 *nboot_acl = (reply.info & ICM_TR_INFO_BOOT_ACL_MASK) >> in icm_tr_driver_ready()
1009 *rpm = !!(reply.hdr.flags & ICM_TR_FLAGS_RTD3); in icm_tr_driver_ready()
1017 struct icm_tr_pkg_approve_device reply; in icm_tr_approve_switch() local
1027 memset(&reply, 0, sizeof(reply)); in icm_tr_approve_switch()
1028 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_tr_approve_switch()
1033 if (reply.hdr.flags & ICM_FLAGS_ERROR) { in icm_tr_approve_switch()
1043 struct icm_tr_pkg_add_device_key_response reply; in icm_tr_add_switch_key() local
1055 memset(&reply, 0, sizeof(reply)); in icm_tr_add_switch_key()
1056 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_tr_add_switch_key()
1061 if (reply.hdr.flags & ICM_FLAGS_ERROR) { in icm_tr_add_switch_key()
1072 struct icm_tr_pkg_challenge_device_response reply; in icm_tr_challenge_switch_key() local
1084 memset(&reply, 0, sizeof(reply)); in icm_tr_challenge_switch_key()
1085 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_tr_challenge_switch_key()
1090 if (reply.hdr.flags & ICM_FLAGS_ERROR) in icm_tr_challenge_switch_key()
1092 if (reply.hdr.flags & ICM_FLAGS_NO_KEY) in icm_tr_challenge_switch_key()
1095 memcpy(response, reply.response, TB_SWITCH_KEY_SIZE); in icm_tr_challenge_switch_key()
1102 struct icm_tr_pkg_approve_xdomain_response reply; in icm_tr_approve_xdomain_paths() local
1116 memset(&reply, 0, sizeof(reply)); in icm_tr_approve_xdomain_paths()
1117 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_tr_approve_xdomain_paths()
1122 if (reply.hdr.flags & ICM_FLAGS_ERROR) in icm_tr_approve_xdomain_paths()
1131 struct icm_tr_pkg_disconnect_xdomain_response reply; in icm_tr_xdomain_tear_down() local
1142 memset(&reply, 0, sizeof(reply)); in icm_tr_xdomain_tear_down()
1143 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_tr_xdomain_tear_down()
1148 if (reply.hdr.flags & ICM_FLAGS_ERROR) in icm_tr_xdomain_tear_down()
1455 struct icm_ar_pkg_driver_ready_response reply; in icm_ar_driver_ready() local
1461 memset(&reply, 0, sizeof(reply)); in icm_ar_driver_ready()
1462 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_ar_driver_ready()
1468 *security_level = reply.info & ICM_AR_INFO_SLEVEL_MASK; in icm_ar_driver_ready()
1469 if (nboot_acl && (reply.info & ICM_AR_INFO_BOOT_ACL_SUPPORTED)) in icm_ar_driver_ready()
1470 *nboot_acl = (reply.info & ICM_AR_INFO_BOOT_ACL_MASK) >> in icm_ar_driver_ready()
1473 *rpm = !!(reply.hdr.flags & ICM_AR_FLAGS_RTD3); in icm_ar_driver_ready()
1480 struct icm_ar_pkg_get_route_response reply; in icm_ar_get_route() local
1487 memset(&reply, 0, sizeof(reply)); in icm_ar_get_route()
1488 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_ar_get_route()
1493 if (reply.hdr.flags & ICM_FLAGS_ERROR) in icm_ar_get_route()
1496 *route = get_route(reply.route_hi, reply.route_lo); in icm_ar_get_route()
1502 struct icm_ar_pkg_preboot_acl_response reply; in icm_ar_get_boot_acl() local
1508 memset(&reply, 0, sizeof(reply)); in icm_ar_get_boot_acl()
1509 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_ar_get_boot_acl()
1514 if (reply.hdr.flags & ICM_FLAGS_ERROR) in icm_ar_get_boot_acl()
1520 uuid[0] = reply.acl[i].uuid_lo; in icm_ar_get_boot_acl()
1521 uuid[1] = reply.acl[i].uuid_hi; in icm_ar_get_boot_acl()
1540 struct icm_ar_pkg_preboot_acl_response reply; in icm_ar_set_boot_acl() local
1569 memset(&reply, 0, sizeof(reply)); in icm_ar_set_boot_acl()
1570 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_ar_set_boot_acl()
1575 if (reply.hdr.flags & ICM_FLAGS_ERROR) in icm_ar_set_boot_acl()
1585 struct icm_tr_pkg_driver_ready_response reply; in icm_icl_driver_ready() local
1591 memset(&reply, 0, sizeof(reply)); in icm_icl_driver_ready()
1592 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_icl_driver_ready()