Searched refs:power_ctl (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/sound/soc/codecs/ |
D | cs42l51.c | 405 int intf_ctl, power_ctl, fmt, mode; in cs42l51_hw_params() local 437 power_ctl = snd_soc_component_read(component, CS42L51_MIC_POWER_CTL); in cs42l51_hw_params() 441 power_ctl &= ~(CS42L51_MIC_POWER_CTL_SPEED(3) in cs42l51_hw_params() 451 power_ctl |= CS42L51_MIC_POWER_CTL_SPEED(mode); in cs42l51_hw_params() 456 power_ctl &= ~CS42L51_MIC_POWER_CTL_AUTO; in cs42l51_hw_params() 459 power_ctl |= CS42L51_MIC_POWER_CTL_SPEED(ratios[i].speed_mode); in cs42l51_hw_params() 462 power_ctl |= CS42L51_MIC_POWER_CTL_AUTO; in cs42l51_hw_params() 500 power_ctl |= CS42L51_MIC_POWER_CTL_MCLK_DIV2; in cs42l51_hw_params() 506 ret = snd_soc_component_write(component, CS42L51_MIC_POWER_CTL, power_ctl); in cs42l51_hw_params()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_transform_v.c | 295 uint32_t power_ctl, power_ctl_off; in program_multi_taps_filter() local 301 power_ctl = dm_read_reg(ctx, mmDCFEV_MEM_PWR_CTRL); in program_multi_taps_filter() 302 power_ctl_off = power_ctl; in program_multi_taps_filter() 364 dm_write_reg(ctx, mmDCFEV_MEM_PWR_CTRL, power_ctl); in program_multi_taps_filter()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 218 uint32_t power_ctl = 0; in program_multi_taps_filter() local 225 power_ctl = REG_READ(DCFE_MEM_PWR_CTRL); in program_multi_taps_filter() 226 REG_SET(DCFE_MEM_PWR_CTRL, power_ctl, SCL_COEFF_MEM_PWR_DIS, 1); in program_multi_taps_filter() 259 REG_WRITE(DCFE_MEM_PWR_CTRL, power_ctl); in program_multi_taps_filter()
|
/linux-6.6.21/drivers/cpufreq/ |
D | intel_pstate.c | 1086 u64 power_ctl; in set_power_ctl_ee_state() local 1089 rdmsrl(MSR_IA32_POWER_CTL, power_ctl); in set_power_ctl_ee_state() 1091 power_ctl &= ~BIT(MSR_IA32_POWER_CTL_BIT_EE); in set_power_ctl_ee_state() 1094 power_ctl |= BIT(MSR_IA32_POWER_CTL_BIT_EE); in set_power_ctl_ee_state() 1097 wrmsrl(MSR_IA32_POWER_CTL, power_ctl); in set_power_ctl_ee_state() 1484 u64 power_ctl; in show_energy_efficiency() local 1487 rdmsrl(MSR_IA32_POWER_CTL, power_ctl); in show_energy_efficiency() 1488 enable = !!(power_ctl & BIT(MSR_IA32_POWER_CTL_BIT_EE)); in show_energy_efficiency()
|