Searched refs:volt_offset (Results 1 – 8 of 8) sorted by relevance
427 u32 get_offset_code(u32 volt_offset, struct pmic_data *pmic) in get_offset_code() argument431 volt_offset -= pmic->base_offset; in get_offset_code()433 offset_code = (volt_offset + pmic->step - 1) / pmic->step; in get_offset_code()
578 __s16 volt_offset; /* s4.12 fixed point */ member
146 scaled += (s32)cpuvcp->volt_offset; in smu_cpuvolt_get()
1493 uint8_t i, stretch_amount, volt_offset = 0; in vegam_populate_clock_stretcher_data_table() local1522 volt_offset = (uint8_t)(((volt_without_cks - volt_with_cks + in vegam_populate_clock_stretcher_data_table()1525 smu_data->smc_state_table.Sclk_voltageOffset[i] = volt_offset; in vegam_populate_clock_stretcher_data_table()
1669 volt_offset = 0; in fiji_populate_clock_stretcher_data_table() local1712 volt_offset = (uint8_t)(((volt_without_cks - volt_with_cks + in fiji_populate_clock_stretcher_data_table()1714 smu_data->smc_state_table.Sclk_voltageOffset[i] = volt_offset; in fiji_populate_clock_stretcher_data_table()
1517 uint8_t i, stretch_amount, volt_offset = 0; in polaris10_populate_clock_stretcher_data_table() local1573 volt_offset = (uint8_t)(((volt_without_cks - volt_with_cks + in polaris10_populate_clock_stretcher_data_table()1576 smu_data->smc_state_table.Sclk_voltageOffset[i] = volt_offset; in polaris10_populate_clock_stretcher_data_table()
1581 volt_offset = 0; in tonga_populate_clock_stretcher_data_table() local1639 volt_offset = (uint8_t)(((volt_without_cks - volt_with_cks + in tonga_populate_clock_stretcher_data_table()1641 smu_data->smc_state_table.Sclk_voltageOffset[i] = volt_offset; in tonga_populate_clock_stretcher_data_table()
645 u32 get_offset_code(u32 volt_offset, struct pmic_data *pmic);