Lines Matching refs:response
226 struct name_resp *response) in zynqmp_pm_clock_get_name() argument
239 memcpy(response, ret_payload, sizeof(*response)); in zynqmp_pm_clock_get_name()
262 struct topology_resp *response) in zynqmp_pm_clock_get_topology() argument
273 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_topology()
359 struct parents_resp *response) in zynqmp_pm_clock_get_parents() argument
370 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_parents()
385 struct attr_resp *response) in zynqmp_pm_clock_get_attributes() argument
395 memcpy(response, &ret_payload[1], sizeof(*response)); in zynqmp_pm_clock_get_attributes()
410 struct topology_resp *response, in __zynqmp_clock_get_topology() argument
416 for (i = 0; i < ARRAY_SIZE(response->topology); i++) { in __zynqmp_clock_get_topology()
417 type = FIELD_GET(CLK_TOPOLOGY_TYPE, response->topology[i]); in __zynqmp_clock_get_topology()
422 response->topology[i]); in __zynqmp_clock_get_topology()
425 response->topology[i]); in __zynqmp_clock_get_topology()
428 response->topology[i]); in __zynqmp_clock_get_topology()
449 struct topology_resp response = { }; in zynqmp_clock_get_topology() local
452 for (j = 0; j <= MAX_NODES; j += ARRAY_SIZE(response.topology)) { in zynqmp_clock_get_topology()
454 &response); in zynqmp_clock_get_topology()
457 ret = __zynqmp_clock_get_topology(topology, &response, in zynqmp_clock_get_topology()
476 struct parents_resp *response, in __zynqmp_clock_get_parents() argument
482 for (i = 0; i < ARRAY_SIZE(response->parents); i++) { in __zynqmp_clock_get_parents()
483 if (response->parents[i] == NA_PARENT) in __zynqmp_clock_get_parents()
487 parent->id = FIELD_GET(CLK_PARENTS_ID, response->parents[i]); in __zynqmp_clock_get_parents()
488 if (response->parents[i] == DUMMY_PARENT) { in __zynqmp_clock_get_parents()
493 response->parents[i]); in __zynqmp_clock_get_parents()
515 struct parents_resp response = { }; in zynqmp_clock_get_parents() local
521 &response); in zynqmp_clock_get_parents()
525 ret = __zynqmp_clock_get_parents(&parents[j], &response, in zynqmp_clock_get_parents()
529 j += ARRAY_SIZE(response.parents); in zynqmp_clock_get_parents()