src/occ_405/proc/proc_pstate.c
// Function Specification
//
// Name:  populate_opal_static_config_data
//
// Description: populate the static configuration entries,
//
// End Function Specification
Function Specification
Name:  populate_opal_static_config_data

populate the static configuration entries.

End Function Specification
Function Specification Name : populate_opal_static_config_data populate the static configuration entries . End Function Specification
void populate_opal_static_config_data(void)
{
    G_opal_static_table.config.valid    = 1;
    G_opal_static_table.config.version  = 0x90;
    G_opal_static_table.config.occ_role = G_occ_role;
    G_opal_static_table.config.pmin     = proc_freq2pstate(g_amec->sys.fmin);
    G_opal_static_table.config.pnominal = proc_freq2pstate(G_sysConfigData.sys_mode_freq.table[OCC_MODE_NOMINAL]);
    G_opal_static_table.config.pturbo   = proc_freq2pstate(G_sysConfigData.sys_mode_freq.table[OCC_MODE_TURBO]);
    G_opal_static_table.config.puturbo  = proc_freq2pstate(G_proc_fmax_mhz);
}
void populate_opal_static_config_data ( void ) { G_opal_static_table . config . valid = 1 ; G_opal_static_table . config . version = 0x90 ; G_opal_static_table . config . occ_role = G_occ_role ; G_opal_static_table . config . pmin = proc_freq2pstate ( g_amec -> sys . fmin ) ; G_opal_static_table . config . pnominal = proc_freq2pstate ( G_sysConfigData . sys_mode_freq . table [ OCC_MODE_NOMINAL ] ) ; G_opal_static_table . config . pturbo = proc_freq2pstate ( G_sysConfigData . sys_mode_freq . table [ OCC_MODE_TURBO ] ) ; G_opal_static_table . config . puturbo = proc_freq2pstate ( G_proc_fmax_mhz ) ; }
Function Specification
Name:  populate_opal_static_config_data
Function Specification Name : populate_opal_static_config_data
// Static OPAL configuration data