Lines Matching refs:response

133 	struct gb_svc_pwrmon_rail_count_get_response response;  in gb_svc_pwrmon_rail_count_get()  local
138 &response, sizeof(response)); in gb_svc_pwrmon_rail_count_get()
144 *value = response.rail_count; in gb_svc_pwrmon_rail_count_get()
150 struct gb_svc_pwrmon_rail_names_get_response *response, in gb_svc_pwrmon_rail_names_get() argument
157 response, bufsize); in gb_svc_pwrmon_rail_names_get()
163 if (response->status != GB_SVC_OP_SUCCESS) { in gb_svc_pwrmon_rail_names_get()
166 response->status); in gb_svc_pwrmon_rail_names_get()
177 struct gb_svc_pwrmon_sample_get_response response; in gb_svc_pwrmon_sample_get() local
185 &response, sizeof(response)); in gb_svc_pwrmon_sample_get()
191 if (response.result) { in gb_svc_pwrmon_sample_get()
194 rail_id, measurement_type, response.result); in gb_svc_pwrmon_sample_get()
195 switch (response.result) { in gb_svc_pwrmon_sample_get()
205 *value = le32_to_cpu(response.measurement); in gb_svc_pwrmon_sample_get()
214 struct gb_svc_pwrmon_intf_sample_get_response response; in gb_svc_pwrmon_intf_sample_get() local
223 &response, sizeof(response)); in gb_svc_pwrmon_intf_sample_get()
229 if (response.result) { in gb_svc_pwrmon_intf_sample_get()
232 intf_id, measurement_type, response.result); in gb_svc_pwrmon_intf_sample_get()
233 switch (response.result) { in gb_svc_pwrmon_intf_sample_get()
243 *value = le32_to_cpu(response.measurement); in gb_svc_pwrmon_intf_sample_get()
295 struct gb_svc_intf_vsys_response response; in gb_svc_intf_vsys_set() local
307 &response, sizeof(response)); in gb_svc_intf_vsys_set()
310 if (response.result_code != GB_SVC_INTF_VSYS_OK) in gb_svc_intf_vsys_set()
318 struct gb_svc_intf_refclk_response response; in gb_svc_intf_refclk_set() local
330 &response, sizeof(response)); in gb_svc_intf_refclk_set()
333 if (response.result_code != GB_SVC_INTF_REFCLK_OK) in gb_svc_intf_refclk_set()
341 struct gb_svc_intf_unipro_response response; in gb_svc_intf_unipro_set() local
353 &response, sizeof(response)); in gb_svc_intf_unipro_set()
356 if (response.result_code != GB_SVC_INTF_UNIPRO_OK) in gb_svc_intf_unipro_set()
364 struct gb_svc_intf_activate_response response; in gb_svc_intf_activate() local
372 &response, sizeof(response), in gb_svc_intf_activate()
376 if (response.status != GB_SVC_OP_SUCCESS) { in gb_svc_intf_activate()
378 intf_id, response.status); in gb_svc_intf_activate()
382 *intf_type = response.intf_type; in gb_svc_intf_activate()
390 struct gb_svc_intf_resume_response response; in gb_svc_intf_resume() local
398 &response, sizeof(response), in gb_svc_intf_resume()
406 if (response.status != GB_SVC_OP_SUCCESS) { in gb_svc_intf_resume()
408 intf_id, response.status); in gb_svc_intf_resume()
419 struct gb_svc_dme_peer_get_response response; in gb_svc_dme_peer_get() local
429 &response, sizeof(response)); in gb_svc_dme_peer_get()
436 result = le16_to_cpu(response.result_code); in gb_svc_dme_peer_get()
444 *value = le32_to_cpu(response.attr_value); in gb_svc_dme_peer_get()
453 struct gb_svc_dme_peer_set_response response; in gb_svc_dme_peer_set() local
464 &response, sizeof(response)); in gb_svc_dme_peer_set()
471 result = le16_to_cpu(response.result_code); in gb_svc_dme_peer_set()
560 struct gb_svc_intf_set_pwrm_response response; in gb_svc_intf_set_power_mode() local
585 &response, sizeof(response)); in gb_svc_intf_set_power_mode()
589 result_code = response.result_code; in gb_svc_intf_set_power_mode()
602 struct gb_svc_intf_set_pwrm_response response; in gb_svc_intf_set_power_mode_hibernate() local
615 &response, sizeof(response)); in gb_svc_intf_set_power_mode_hibernate()
623 result_code = response.result_code; in gb_svc_intf_set_power_mode_hibernate()
646 struct gb_svc_version_response *response; in gb_svc_version_request() local
666 if (!gb_operation_response_alloc(op, sizeof(*response), GFP_KERNEL)) in gb_svc_version_request()
669 response = op->response->payload; in gb_svc_version_request()
670 response->major = svc->protocol_major; in gb_svc_version_request()
671 response->minor = svc->protocol_minor; in gb_svc_version_request()