Searched refs:power_ctl (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/sound/soc/codecs/ |
| D | cs42l51.c | 375 int intf_ctl, power_ctl, fmt, mode; in cs42l51_hw_params() local 407 power_ctl = snd_soc_component_read32(component, CS42L51_MIC_POWER_CTL); in cs42l51_hw_params() 411 power_ctl &= ~(CS42L51_MIC_POWER_CTL_SPEED(3) in cs42l51_hw_params() 421 power_ctl |= CS42L51_MIC_POWER_CTL_SPEED(mode); in cs42l51_hw_params() 426 power_ctl &= ~CS42L51_MIC_POWER_CTL_AUTO; in cs42l51_hw_params() 429 power_ctl |= CS42L51_MIC_POWER_CTL_SPEED(ratios[i].speed_mode); in cs42l51_hw_params() 432 power_ctl |= CS42L51_MIC_POWER_CTL_AUTO; in cs42l51_hw_params() 470 power_ctl |= CS42L51_MIC_POWER_CTL_MCLK_DIV2; in cs42l51_hw_params() 476 ret = snd_soc_component_write(component, CS42L51_MIC_POWER_CTL, power_ctl); in cs42l51_hw_params()
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/ |
| D | dce110_transform_v.c | 298 uint32_t power_ctl, power_ctl_off; in program_multi_taps_filter() local 304 power_ctl = dm_read_reg(ctx, mmDCFEV_MEM_PWR_CTRL); in program_multi_taps_filter() 305 power_ctl_off = power_ctl; in program_multi_taps_filter() 367 dm_write_reg(ctx, mmDCFEV_MEM_PWR_CTRL, power_ctl); in program_multi_taps_filter()
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/ |
| D | dce_transform.c | 191 uint32_t power_ctl = 0; in program_multi_taps_filter() local 198 power_ctl = REG_READ(DCFE_MEM_PWR_CTRL); in program_multi_taps_filter() 199 REG_SET(DCFE_MEM_PWR_CTRL, power_ctl, SCL_COEFF_MEM_PWR_DIS, 1); in program_multi_taps_filter() 232 REG_WRITE(DCFE_MEM_PWR_CTRL, power_ctl); in program_multi_taps_filter()
|
| /Linux-v5.4/drivers/cpufreq/ |
| D | intel_pstate.c | 1295 u64 power_ctl; in intel_pstate_disable_ee() local 1298 ret = rdmsrl_on_cpu(cpu, MSR_IA32_POWER_CTL, &power_ctl); in intel_pstate_disable_ee() 1302 if (!(power_ctl & BIT(MSR_IA32_POWER_CTL_BIT_EE))) { in intel_pstate_disable_ee() 1304 power_ctl |= BIT(MSR_IA32_POWER_CTL_BIT_EE); in intel_pstate_disable_ee() 1305 wrmsrl_on_cpu(cpu, MSR_IA32_POWER_CTL, power_ctl); in intel_pstate_disable_ee()
|