Lines Matching full:response

218  * @response:	Name of the clock with the given id
226 struct name_resp *response) in zynqmp_pm_clock_get_name() argument
235 memcpy(response, ret_payload, sizeof(*response)); in zynqmp_pm_clock_get_name()
244 * @response: Buffer used for the topology response
249 * This API will return 3 node of topology with a single response. To get
258 struct topology_resp *response) in zynqmp_pm_clock_get_topology() argument
269 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_topology()
318 * @response: Parents of the given clock
323 * This API will return 3 parents with a single response. To get
332 struct parents_resp *response) in zynqmp_pm_clock_get_parents() argument
343 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_parents()
351 * @response: Clock attributes response
358 struct attr_resp *response) in zynqmp_pm_clock_get_attributes() argument
368 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_attributes()
375 * response data
377 * @response: Clock topology data received from firmware
383 struct topology_resp *response, in __zynqmp_clock_get_topology() argument
389 for (i = 0; i < ARRAY_SIZE(response->topology); i++) { in __zynqmp_clock_get_topology()
390 type = FIELD_GET(CLK_TOPOLOGY_TYPE, response->topology[i]); in __zynqmp_clock_get_topology()
395 response->topology[i]); in __zynqmp_clock_get_topology()
398 response->topology[i]); in __zynqmp_clock_get_topology()
401 response->topology[i]); in __zynqmp_clock_get_topology()
422 struct topology_resp response = { }; in zynqmp_clock_get_topology() local
425 for (j = 0; j <= MAX_NODES; j += ARRAY_SIZE(response.topology)) { in zynqmp_clock_get_topology()
427 &response); in zynqmp_clock_get_topology()
430 ret = __zynqmp_clock_get_topology(topology, &response, in zynqmp_clock_get_topology()
441 * response data
443 * @response: Clock parents data received from firmware
449 struct parents_resp *response, in __zynqmp_clock_get_parents() argument
455 for (i = 0; i < ARRAY_SIZE(response->parents); i++) { in __zynqmp_clock_get_parents()
456 if (response->parents[i] == NA_PARENT) in __zynqmp_clock_get_parents()
460 parent->id = FIELD_GET(CLK_PARENTS_ID, response->parents[i]); in __zynqmp_clock_get_parents()
461 if (response->parents[i] == DUMMY_PARENT) { in __zynqmp_clock_get_parents()
466 response->parents[i]); in __zynqmp_clock_get_parents()
488 struct parents_resp response = { }; in zynqmp_clock_get_parents() local
494 &response); in zynqmp_clock_get_parents()
498 ret = __zynqmp_clock_get_parents(&parents[j], &response, in zynqmp_clock_get_parents()
502 j += ARRAY_SIZE(response.parents); in zynqmp_clock_get_parents()