Lines Matching refs:ptable
122 const ATOM_PPLIB_VCE_Clock_Voltage_Limit_Table *ptable = in get_vce_clock_voltage_limit_table_size() local
125 …table_size = sizeof(uint8_t) + ptable->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Reco… in get_vce_clock_voltage_limit_table_size()
313 struct phm_cac_tdp_table **ptable, in get_cac_tdp_table() argument
335 *ptable = tdp_table; in get_cac_tdp_table()
378 struct phm_clock_voltage_dependency_table **ptable, in get_clock_voltage_dependency_table() argument
400 *ptable = dep_table; in get_clock_voltage_dependency_table()
406 struct phm_clock_array **ptable, in get_valid_clk() argument
421 *ptable = clock_table; in get_valid_clk()
1205 struct phm_uvd_clock_voltage_dependency_table **ptable, in get_uvd_clock_voltage_limit_table() argument
1229 *ptable = uvd_table; in get_uvd_clock_voltage_limit_table()
1235 struct phm_vce_clock_voltage_dependency_table **ptable, in get_vce_clock_voltage_limit_table() argument
1258 *ptable = vce_table; in get_vce_clock_voltage_limit_table()
1264 struct phm_samu_clock_voltage_dependency_table **ptable, in get_samu_clock_voltage_limit_table() argument
1283 *ptable = samu_table; in get_samu_clock_voltage_limit_table()
1289 struct phm_acp_clock_voltage_dependency_table **ptable, in get_acp_clock_voltage_limit_table() argument
1308 *ptable = acp_table; in get_acp_clock_voltage_limit_table()
1359 const ATOM_PPLIB_UVD_Clock_Voltage_Limit_Table *ptable = in init_clock_voltage_dependency() local
1363 &hwmgr->dyn_state.uvd_clock_voltage_dependency_table, ptable, array); in init_clock_voltage_dependency()
1370 const ATOM_PPLIB_SAMClk_Voltage_Limit_Table *ptable = in init_clock_voltage_dependency() local
1374 &hwmgr->dyn_state.samu_clock_voltage_dependency_table, ptable); in init_clock_voltage_dependency()
1381 const ATOM_PPLIB_ACPClk_Voltage_Limit_Table *ptable = in init_clock_voltage_dependency() local
1385 &hwmgr->dyn_state.acp_clock_voltage_dependency_table, ptable); in init_clock_voltage_dependency()
1481 struct phm_cac_leakage_table **ptable, in get_cac_leakage_table() argument
1487 if (!hwmgr || !table || !ptable) in get_cac_leakage_table()
1509 *ptable = cac_leakage_table; in get_cac_leakage_table()
1620 const ATOM_PPLIB_PhaseSheddingLimits_Table *ptable = in init_phase_shedding_table() local
1628 table = kzalloc(struct_size(table, entries, ptable->ucNumEntries), in init_phase_shedding_table()
1633 table->count = (unsigned long)ptable->ucNumEntries; in init_phase_shedding_table()
1636 table->entries[i].Voltage = (unsigned long)le16_to_cpu(ptable->entries[i].usVoltage); in init_phase_shedding_table()
1637 table->entries[i].Sclk = ((unsigned long)ptable->entries[i].ucSclkHigh << 16) in init_phase_shedding_table()
1638 | le16_to_cpu(ptable->entries[i].usSclkLow); in init_phase_shedding_table()
1639 table->entries[i].Mclk = ((unsigned long)ptable->entries[i].ucMclkHigh << 16) in init_phase_shedding_table()
1640 | le16_to_cpu(ptable->entries[i].usMclkLow); in init_phase_shedding_table()