Lines Matching full:topology
65 * @node: Clock topology nodes
66 * @num_nodes: Number of nodes present in topology
91 u32 topology[CLK_GET_TOPOLOGY_RESP_WORDS]; member
246 * zynqmp_pm_clock_get_topology() - Get the topology of clock for given id
248 * @index: Node index of clock topology
249 * @response: Buffer used for the topology response
251 * This function is used to get topology information for the clock
254 * This API will return 3 node of topology with a single response. To get
306 * @nodes: Clock topology node
402 * __zynqmp_clock_get_topology() - Get topology data of clock from firmware
404 * @topology: Clock topology
405 * @response: Clock topology data received from firmware
410 static int __zynqmp_clock_get_topology(struct clock_topology *topology, in __zynqmp_clock_get_topology() argument
417 for (i = 0; i < ARRAY_SIZE(response->topology); i++) { in __zynqmp_clock_get_topology()
418 type = FIELD_GET(CLK_TOPOLOGY_TYPE, response->topology[i]); in __zynqmp_clock_get_topology()
421 topology[*nnodes].type = type; in __zynqmp_clock_get_topology()
422 topology[*nnodes].flag = FIELD_GET(CLK_TOPOLOGY_FLAGS, in __zynqmp_clock_get_topology()
423 response->topology[i]); in __zynqmp_clock_get_topology()
424 topology[*nnodes].type_flag = in __zynqmp_clock_get_topology()
426 response->topology[i]); in __zynqmp_clock_get_topology()
427 topology[*nnodes].custom_type_flag = in __zynqmp_clock_get_topology()
429 response->topology[i]); in __zynqmp_clock_get_topology()
437 * zynqmp_clock_get_topology() - Get topology of clock from firmware using
440 * @topology: Clock topology
446 struct clock_topology *topology, in zynqmp_clock_get_topology() argument
453 for (j = 0; j <= MAX_NODES; j += ARRAY_SIZE(response.topology)) { in zynqmp_clock_get_topology()
458 ret = __zynqmp_clock_get_topology(topology, &response, in zynqmp_clock_get_topology()
578 * zynqmp_register_clk_topology() - Register clock topology
730 /* Get topology of all clock */ in zynqmp_get_clock_info()