Home
last modified time | relevance | path

Searched refs:pwr_mask (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/drivers/misc/cardreader/
Drts5209.c102 u8 pwr_mask, partial_pwr_on, pwr_on; in rts5209_card_power_on() local
104 pwr_mask = SD_POWER_MASK; in rts5209_card_power_on()
109 pwr_mask = MS_POWER_MASK; in rts5209_card_power_on()
116 pwr_mask, partial_pwr_on); in rts5209_card_power_on()
127 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, CARD_PWR_CTL, pwr_mask, pwr_on); in rts5209_card_power_on()
135 u8 pwr_mask, pwr_off; in rts5209_card_power_off() local
137 pwr_mask = SD_POWER_MASK; in rts5209_card_power_off()
141 pwr_mask = MS_POWER_MASK; in rts5209_card_power_off()
147 pwr_mask | PMOS_STRG_MASK, pwr_off | PMOS_STRG_400mA); in rts5209_card_power_off()
/Linux-v6.6/drivers/pmdomain/actions/
Dowl-sps-helper.c17 int owl_sps_set_pg(void __iomem *base, u32 pwr_mask, u32 ack_mask, bool enable) in owl_sps_set_pg() argument
29 val |= pwr_mask; in owl_sps_set_pg()
31 val &= ~pwr_mask; in owl_sps_set_pg()
Dowl-sps.c49 u32 pwr_mask, ack_mask; in owl_sps_set_power() local
52 pwr_mask = BIT(pd->info->pwr_bit); in owl_sps_set_power()
54 return owl_sps_set_pg(pd->sps->base, pwr_mask, ack_mask, enable); in owl_sps_set_power()
/Linux-v6.6/drivers/pmdomain/starfive/
Djh71xx-pmu.c173 u32 pwr_mask = BIT(pmd->domain_info->bit); in jh71xx_pmu_on() local
175 return jh71xx_pmu_set_state(pmd, pwr_mask, true); in jh71xx_pmu_on()
182 u32 pwr_mask = BIT(pmd->domain_info->bit); in jh71xx_pmu_off() local
184 return jh71xx_pmu_set_state(pmd, pwr_mask, false); in jh71xx_pmu_off()
232 u32 pwr_mask; in jh71xx_pmu_init_domain() local
242 pwr_mask = BIT(pmd->domain_info->bit); in jh71xx_pmu_init_domain()
247 ret = jh71xx_pmu_get_state(pmd, pwr_mask, &is_on); in jh71xx_pmu_init_domain()
/Linux-v6.6/drivers/soc/dove/
Dpmu.c122 u32 pwr_mask; member
169 val = readl_relaxed(pmu_base + PMU_PWR) | pmu_dom->pwr_mask; in pmu_domain_power_off()
189 val = ~pmu_dom->pwr_mask & readl_relaxed(pmu_base + PMU_PWR); in pmu_domain_power_on()
219 pm_genpd_init(&domain->base, NULL, !(val & domain->pwr_mask)); in __pmu_domain_register()
331 domain->pwr_mask = domain_initdata->pwr_mask; in dove_init_pmu_legacy()
424 &domain->pwr_mask); in dove_init_pmu()
/Linux-v6.6/drivers/gpu/drm/gma500/
Doaktrail_device.c353 u32 pwr_mask ; in oaktrail_power_down() local
356 pwr_mask = PSB_PWRGT_DISPLAY_MASK; in oaktrail_power_down()
357 outl(pwr_mask, dev_priv->ospm_base + PSB_PM_SSC); in oaktrail_power_down()
361 if ((pwr_sts & pwr_mask) == pwr_mask) in oaktrail_power_down()
377 u32 pwr_mask = PSB_PWRGT_DISPLAY_MASK; in oaktrail_power_up() local
381 pwr_cnt &= ~pwr_mask; in oaktrail_power_up()
386 if ((pwr_sts & pwr_mask) == 0) in oaktrail_power_up()
Dcdv_device.c361 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local
367 pwr_mask = PSB_PWRGT_GFX_MASK; in cdv_power_down()
373 if ((pwr_sts & pwr_mask) == PSB_PWRGT_GFX_D3) in cdv_power_down()
383 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_up() local
389 pwr_mask = PSB_PWRGT_GFX_MASK; in cdv_power_up()
395 if ((pwr_sts & pwr_mask) == PSB_PWRGT_GFX_D0) in cdv_power_up()
/Linux-v6.6/sound/soc/codecs/
Dwm8580.c469 unsigned int pwr_mask; in wm8580_set_dai_pll() local
481 pwr_mask = WM8580_PWRDN2_PLLAPD; in wm8580_set_dai_pll()
486 pwr_mask = WM8580_PWRDN2_PLLBPD; in wm8580_set_dai_pll()
504 snd_soc_component_update_bits(component, WM8580_PWRDN2, pwr_mask, pwr_mask); in wm8580_set_dai_pll()
522 snd_soc_component_update_bits(component, WM8580_PWRDN2, pwr_mask, 0); in wm8580_set_dai_pll()
/Linux-v6.6/include/linux/soc/actions/
Dowl-sps.h9 int owl_sps_set_pg(void __iomem *base, u32 pwr_mask, u32 ack_mask, bool enable);
/Linux-v6.6/include/linux/soc/dove/
Dpmu.h8 u32 pwr_mask; member
/Linux-v6.6/arch/arm/mach-dove/
Dcommon.c393 .pwr_mask = PMU_PWR_VPU_PWR_DWN_MASK,
398 .pwr_mask = PMU_PWR_GPU_PWR_DWN_MASK,
/Linux-v6.6/drivers/pmdomain/rockchip/
Dpm-domains.c38 int pwr_mask; member
106 .pwr_mask = (pwr), \
118 .pwr_mask = (pwr), \
132 .pwr_mask = (pwr), \
461 (pd->info->pwr_mask | pd->info->pwr_w_mask)); in rockchip_pmu_domain_mem_reset()
497 if (pd->info->pwr_mask == 0) in rockchip_do_pmu_set_power_domain()
506 (pd->info->pwr_mask | pd->info->pwr_w_mask)); in rockchip_do_pmu_set_power_domain()
509 pd->info->pwr_mask, on ? 0 : -1U); in rockchip_do_pmu_set_power_domain()