Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/cardreader/
Drts5209.c101 u8 pwr_mask, partial_pwr_on, pwr_on; in rts5209_card_power_on() local
103 pwr_mask = SD_POWER_MASK; in rts5209_card_power_on()
108 pwr_mask = MS_POWER_MASK; in rts5209_card_power_on()
115 pwr_mask, partial_pwr_on); in rts5209_card_power_on()
126 rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, CARD_PWR_CTL, pwr_mask, pwr_on); in rts5209_card_power_on()
134 u8 pwr_mask, pwr_off; in rts5209_card_power_off() local
136 pwr_mask = SD_POWER_MASK; in rts5209_card_power_off()
140 pwr_mask = MS_POWER_MASK; in rts5209_card_power_off()
146 pwr_mask | PMOS_STRG_MASK, pwr_off | PMOS_STRG_400mA); in rts5209_card_power_off()
/Linux-v5.4/drivers/soc/actions/
Dowl-sps-helper.c16 int owl_sps_set_pg(void __iomem *base, u32 pwr_mask, u32 ack_mask, bool enable) in owl_sps_set_pg() argument
28 val |= pwr_mask; in owl_sps_set_pg()
30 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-v5.4/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-v5.4/drivers/gpu/drm/gma500/
Doaktrail_device.c411 u32 pwr_mask ; in oaktrail_power_down() local
414 pwr_mask = PSB_PWRGT_DISPLAY_MASK; in oaktrail_power_down()
415 outl(pwr_mask, dev_priv->ospm_base + PSB_PM_SSC); in oaktrail_power_down()
419 if ((pwr_sts & pwr_mask) == pwr_mask) in oaktrail_power_down()
435 u32 pwr_mask = PSB_PWRGT_DISPLAY_MASK; in oaktrail_power_up() local
439 pwr_cnt &= ~pwr_mask; in oaktrail_power_up()
444 if ((pwr_sts & pwr_mask) == 0) in oaktrail_power_up()
Dcdv_device.c380 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local
386 pwr_mask = PSB_PWRGT_GFX_MASK; in cdv_power_down()
392 if ((pwr_sts & pwr_mask) == PSB_PWRGT_GFX_D3) in cdv_power_down()
402 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_up() local
408 pwr_mask = PSB_PWRGT_GFX_MASK; in cdv_power_up()
414 if ((pwr_sts & pwr_mask) == PSB_PWRGT_GFX_D0) in cdv_power_up()
/Linux-v5.4/include/linux/soc/actions/
Dowl-sps.h9 int owl_sps_set_pg(void __iomem *base, u32 pwr_mask, u32 ack_mask, bool enable);
/Linux-v5.4/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-v5.4/include/linux/soc/dove/
Dpmu.h8 u32 pwr_mask; member
/Linux-v5.4/drivers/soc/rockchip/
Dpm_domains.c32 int pwr_mask; member
90 .pwr_mask = (pwr), \
101 .pwr_mask = (pwr), \
270 if (pd->info->pwr_mask == 0) in rockchip_do_pmu_set_power_domain()
275 (pd->info->pwr_mask | pd->info->pwr_w_mask)); in rockchip_do_pmu_set_power_domain()
278 pd->info->pwr_mask, on ? 0 : -1U); in rockchip_do_pmu_set_power_domain()
/Linux-v5.4/arch/arm/mach-dove/
Dcommon.c398 .pwr_mask = PMU_PWR_VPU_PWR_DWN_MASK,
403 .pwr_mask = PMU_PWR_GPU_PWR_DWN_MASK,