- struct rv_voltage_dependency_table *pdcef_table;
- uint32_t i;
-
- pdcef_table = pinfo->vdd_dep_on_dcefclk;
- for (i = 0; i < pdcef_table->count; i++) {
- clocks->data[i].clocks_in_khz = pdcef_table->entries[i].clk;
- clocks->data[i].latency_in_us = 0;
- }
- clocks->num_levels = pdcef_table->count;
-}
-
-static void rv_get_socclocks(struct pp_hwmgr *hwmgr,
- struct pp_clock_levels_with_latency *clocks)
-{
- struct rv_hwmgr *rv_data = (struct rv_hwmgr *)(hwmgr->backend);
- struct rv_clock_voltage_information *pinfo = &(rv_data->clock_vol_info);
- struct rv_voltage_dependency_table *psoc_table;
- uint32_t i;
-
- psoc_table = pinfo->vdd_dep_on_socclk;