Home
last modified time | relevance | path

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

/linux/drivers/misc/cardreader/
H A 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/drivers/pmdomain/actions/
H A 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()
H A Dowl-sps.c51 u32 pwr_mask, ack_mask; in owl_sps_set_power() local
54 pwr_mask = BIT(pd->info->pwr_bit); in owl_sps_set_power()
56 return owl_sps_set_pg(pd->sps->base, pwr_mask, ack_mask, enable); in owl_sps_set_power()
/linux/drivers/pmdomain/starfive/
H A Djh71xx-pmu.c212 u32 pwr_mask = BIT(pmd->domain_info->bit); in jh71xx_pmu_on() local
214 return jh71xx_pmu_set_state(pmd, pwr_mask, true); in jh71xx_pmu_on()
221 u32 pwr_mask = BIT(pmd->domain_info->bit); in jh71xx_pmu_off() local
223 return jh71xx_pmu_set_state(pmd, pwr_mask, false); in jh71xx_pmu_off()
290 u32 pwr_mask; in jh71xx_pmu_init_domain() local
300 pwr_mask = BIT(pmd->domain_info->bit); in jh71xx_pmu_init_domain()
305 ret = jh71xx_pmu_get_state(pmd, pwr_mask, &is_on); in jh71xx_pmu_init_domain()
/linux/drivers/soc/dove/
H A 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()
427 &domain->pwr_mask); in dove_init_pmu()
/linux/drivers/gpu/drm/gma500/
H A 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()
H A 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/sound/soc/codecs/
H A 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/include/linux/soc/actions/
H A Dowl-sps.h9 int owl_sps_set_pg(void __iomem *base, u32 pwr_mask, u32 ack_mask, bool enable);
/linux/include/linux/soc/dove/
H A Dpmu.h8 u32 pwr_mask; member
/linux/drivers/pmdomain/rockchip/
H A Dpm-domains.c41 int pwr_mask; member
111 .pwr_mask = (pwr), \
123 .pwr_mask = (pwr), \
137 .pwr_mask = (pwr), \
155 .pwr_mask = (pwr), \
508 (pd->info->pwr_mask | pd->info->pwr_w_mask)); in rockchip_pmu_domain_mem_reset()
544 if (pd->info->pwr_mask == 0) in rockchip_do_pmu_set_power_domain()
553 (pd->info->pwr_mask | pd->info->pwr_w_mask)); in rockchip_do_pmu_set_power_domain()
556 pd->info->pwr_mask, on ? 0 : -1U); in rockchip_do_pmu_set_power_domain()
/linux/arch/arm/mach-dove/
H A Dcommon.c393 .pwr_mask = PMU_PWR_VPU_PWR_DWN_MASK,
398 .pwr_mask = PMU_PWR_GPU_PWR_DWN_MASK,