Lines Matching full:response
132 struct gb_svc_pwrmon_rail_count_get_response response; in gb_svc_pwrmon_rail_count_get() local
137 &response, sizeof(response)); in gb_svc_pwrmon_rail_count_get()
143 *value = response.rail_count; in gb_svc_pwrmon_rail_count_get()
149 struct gb_svc_pwrmon_rail_names_get_response *response, in gb_svc_pwrmon_rail_names_get() argument
156 response, bufsize); in gb_svc_pwrmon_rail_names_get()
162 if (response->status != GB_SVC_OP_SUCCESS) { in gb_svc_pwrmon_rail_names_get()
165 response->status); in gb_svc_pwrmon_rail_names_get()
176 struct gb_svc_pwrmon_sample_get_response response; in gb_svc_pwrmon_sample_get() local
184 &response, sizeof(response)); in gb_svc_pwrmon_sample_get()
190 if (response.result) { in gb_svc_pwrmon_sample_get()
193 rail_id, measurement_type, response.result); in gb_svc_pwrmon_sample_get()
194 switch (response.result) { in gb_svc_pwrmon_sample_get()
204 *value = le32_to_cpu(response.measurement); in gb_svc_pwrmon_sample_get()
213 struct gb_svc_pwrmon_intf_sample_get_response response; in gb_svc_pwrmon_intf_sample_get() local
222 &response, sizeof(response)); in gb_svc_pwrmon_intf_sample_get()
228 if (response.result) { in gb_svc_pwrmon_intf_sample_get()
231 intf_id, measurement_type, response.result); in gb_svc_pwrmon_intf_sample_get()
232 switch (response.result) { in gb_svc_pwrmon_intf_sample_get()
242 *value = le32_to_cpu(response.measurement); in gb_svc_pwrmon_intf_sample_get()
294 struct gb_svc_intf_vsys_response response; in gb_svc_intf_vsys_set() local
306 &response, sizeof(response)); in gb_svc_intf_vsys_set()
309 if (response.result_code != GB_SVC_INTF_VSYS_OK) in gb_svc_intf_vsys_set()
317 struct gb_svc_intf_refclk_response response; in gb_svc_intf_refclk_set() local
329 &response, sizeof(response)); in gb_svc_intf_refclk_set()
332 if (response.result_code != GB_SVC_INTF_REFCLK_OK) in gb_svc_intf_refclk_set()
340 struct gb_svc_intf_unipro_response response; in gb_svc_intf_unipro_set() local
352 &response, sizeof(response)); in gb_svc_intf_unipro_set()
355 if (response.result_code != GB_SVC_INTF_UNIPRO_OK) in gb_svc_intf_unipro_set()
363 struct gb_svc_intf_activate_response response; in gb_svc_intf_activate() local
371 &response, sizeof(response), in gb_svc_intf_activate()
375 if (response.status != GB_SVC_OP_SUCCESS) { in gb_svc_intf_activate()
377 intf_id, response.status); in gb_svc_intf_activate()
381 *intf_type = response.intf_type; in gb_svc_intf_activate()
389 struct gb_svc_intf_resume_response response; in gb_svc_intf_resume() local
397 &response, sizeof(response), in gb_svc_intf_resume()
405 if (response.status != GB_SVC_OP_SUCCESS) { in gb_svc_intf_resume()
407 intf_id, response.status); in gb_svc_intf_resume()
418 struct gb_svc_dme_peer_get_response response; in gb_svc_dme_peer_get() local
428 &response, sizeof(response)); in gb_svc_dme_peer_get()
435 result = le16_to_cpu(response.result_code); in gb_svc_dme_peer_get()
443 *value = le32_to_cpu(response.attr_value); in gb_svc_dme_peer_get()
452 struct gb_svc_dme_peer_set_response response; in gb_svc_dme_peer_set() local
463 &response, sizeof(response)); in gb_svc_dme_peer_set()
470 result = le16_to_cpu(response.result_code); in gb_svc_dme_peer_set()
559 struct gb_svc_intf_set_pwrm_response response; in gb_svc_intf_set_power_mode() local
584 &response, sizeof(response)); in gb_svc_intf_set_power_mode()
588 result_code = response.result_code; in gb_svc_intf_set_power_mode()
601 struct gb_svc_intf_set_pwrm_response response; in gb_svc_intf_set_power_mode_hibernate() local
614 &response, sizeof(response)); in gb_svc_intf_set_power_mode_hibernate()
622 result_code = response.result_code; in gb_svc_intf_set_power_mode_hibernate()
645 struct gb_svc_version_response *response; in gb_svc_version_request() local
665 if (!gb_operation_response_alloc(op, sizeof(*response), GFP_KERNEL)) in gb_svc_version_request()
668 response = op->response->payload; in gb_svc_version_request()
669 response->major = svc->protocol_major; in gb_svc_version_request()
670 response->minor = svc->protocol_minor; in gb_svc_version_request()