Lines Matching refs:resp
122 struct servreg_register_listener_resp resp; in pdr_register_listener() local
129 &resp); in pdr_register_listener()
153 if (resp.resp.result != QMI_RESULT_SUCCESS_V01) { in pdr_register_listener()
155 pds->service_path, resp.resp.error); in pdr_register_listener()
159 pds->state = resp.curr_state; in pdr_register_listener()
249 struct servreg_set_ack_resp resp; in pdr_send_indack_msg() local
255 &resp); in pdr_send_indack_msg()
357 struct servreg_get_domain_list_resp *resp, in pdr_get_domain_list() argument
364 servreg_get_domain_list_resp_ei, resp); in pdr_get_domain_list()
388 if (resp->resp.result != QMI_RESULT_SUCCESS_V01) { in pdr_get_domain_list()
390 req->service_name, resp->resp.error); in pdr_get_domain_list()
399 struct servreg_get_domain_list_resp *resp; in pdr_locate_service() local
405 resp = kzalloc(sizeof(*resp), GFP_KERNEL); in pdr_locate_service()
406 if (!resp) in pdr_locate_service()
416 ret = pdr_get_domain_list(&req, resp, pdr); in pdr_locate_service()
420 for (i = 0; i < resp->domain_list_len; i++) { in pdr_locate_service()
421 entry = &resp->domain_list[i]; in pdr_locate_service()
438 if (resp->domain_list_len > resp->total_domains) in pdr_locate_service()
439 resp->domain_list_len = resp->total_domains; in pdr_locate_service()
441 domains_read += resp->domain_list_len; in pdr_locate_service()
442 } while (domains_read < resp->total_domains); in pdr_locate_service()
444 kfree(resp); in pdr_locate_service()
572 struct servreg_restart_pd_resp resp; in pdr_restart_pd() local
602 &resp); in pdr_restart_pd()
623 if (resp.resp.result == QMI_RESULT_FAILURE_V01 && in pdr_restart_pd()
624 resp.resp.error == QMI_ERR_DISABLED_V01) { in pdr_restart_pd()
626 req.service_path, resp.resp.error); in pdr_restart_pd()
631 if (resp.resp.result != QMI_RESULT_SUCCESS_V01) { in pdr_restart_pd()
633 req.service_path, resp.resp.error); in pdr_restart_pd()