Lines Matching full:response
22 struct gb_control_version_response response; in gb_control_get_version() local
30 &request, sizeof(request), &response, in gb_control_get_version()
31 sizeof(response)); in gb_control_get_version()
39 if (response.major > request.major) { in gb_control_get_version()
42 response.major, request.major); in gb_control_get_version()
46 control->protocol_major = response.major; in gb_control_get_version()
47 control->protocol_minor = response.minor; in gb_control_get_version()
49 dev_dbg(&intf->dev, "%s - %u.%u\n", __func__, response.major, in gb_control_get_version()
50 response.minor); in gb_control_get_version()
60 struct gb_control_bundle_version_response response; in gb_control_get_bundle_version() local
68 &response, sizeof(response)); in gb_control_get_bundle_version()
76 bundle->class_major = response.major; in gb_control_get_bundle_version()
77 bundle->class_minor = response.minor; in gb_control_get_bundle_version()
80 response.major, response.minor); in gb_control_get_bundle_version()
106 struct gb_control_get_manifest_size_response response; in gb_control_get_manifest_size_operation() local
111 NULL, 0, &response, sizeof(response)); in gb_control_get_manifest_size_operation()
118 return le16_to_cpu(response.size); in gb_control_get_manifest_size_operation()
218 struct gb_control_bundle_pm_response response; in gb_control_bundle_suspend() local
224 sizeof(request), &response, sizeof(response)); in gb_control_bundle_suspend()
231 if (response.status != GB_CONTROL_BUNDLE_PM_OK) { in gb_control_bundle_suspend()
233 bundle_id, response.status); in gb_control_bundle_suspend()
234 return gb_control_bundle_pm_status_map(response.status); in gb_control_bundle_suspend()
243 struct gb_control_bundle_pm_response response; in gb_control_bundle_resume() local
249 sizeof(request), &response, sizeof(response)); in gb_control_bundle_resume()
256 if (response.status != GB_CONTROL_BUNDLE_PM_OK) { in gb_control_bundle_resume()
258 bundle_id, response.status); in gb_control_bundle_resume()
259 return gb_control_bundle_pm_status_map(response.status); in gb_control_bundle_resume()
268 struct gb_control_bundle_pm_response response; in gb_control_bundle_deactivate() local
274 sizeof(request), &response, sizeof(response)); in gb_control_bundle_deactivate()
282 if (response.status != GB_CONTROL_BUNDLE_PM_OK) { in gb_control_bundle_deactivate()
284 bundle_id, response.status); in gb_control_bundle_deactivate()
285 return gb_control_bundle_pm_status_map(response.status); in gb_control_bundle_deactivate()
294 struct gb_control_bundle_pm_response response; in gb_control_bundle_activate() local
303 sizeof(request), &response, sizeof(response)); in gb_control_bundle_activate()
311 if (response.status != GB_CONTROL_BUNDLE_PM_OK) { in gb_control_bundle_activate()
313 bundle_id, response.status); in gb_control_bundle_activate()
314 return gb_control_bundle_pm_status_map(response.status); in gb_control_bundle_activate()
334 struct gb_control_intf_pm_response response; in gb_control_interface_suspend_prepare() local
339 &response, sizeof(response)); in gb_control_interface_suspend_prepare()
346 if (response.status != GB_CONTROL_INTF_PM_OK) { in gb_control_interface_suspend_prepare()
348 response.status); in gb_control_interface_suspend_prepare()
349 return gb_control_interface_pm_status_map(response.status); in gb_control_interface_suspend_prepare()
357 struct gb_control_intf_pm_response response; in gb_control_interface_deactivate_prepare() local
362 0, &response, sizeof(response)); in gb_control_interface_deactivate_prepare()
369 if (response.status != GB_CONTROL_INTF_PM_OK) { in gb_control_interface_deactivate_prepare()
371 response.status); in gb_control_interface_deactivate_prepare()
372 return gb_control_interface_pm_status_map(response.status); in gb_control_interface_deactivate_prepare()
380 struct gb_control_intf_pm_response response; in gb_control_interface_hibernate_abort() local
385 &response, sizeof(response)); in gb_control_interface_hibernate_abort()
393 if (response.status != GB_CONTROL_INTF_PM_OK) { in gb_control_interface_hibernate_abort()
395 response.status); in gb_control_interface_hibernate_abort()
396 return gb_control_interface_pm_status_map(response.status); in gb_control_interface_hibernate_abort()