Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/misc/cardreader/
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-6.3-rc2/drivers/soc/actions/
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()
A 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-6.3-rc2/drivers/soc/starfive/
A 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-6.3-rc2/drivers/soc/dove/
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()
424 &domain->pwr_mask); in dove_init_pmu()
/linux-6.3-rc2/drivers/gpu/drm/gma500/
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()
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-6.3-rc2/sound/soc/codecs/
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-6.3-rc2/include/linux/soc/actions/
A Dowl-sps.h9 int owl_sps_set_pg(void __iomem *base, u32 pwr_mask, u32 ack_mask, bool enable);
/linux-6.3-rc2/include/linux/soc/dove/
A Dpmu.h8 u32 pwr_mask; member
/linux-6.3-rc2/arch/arm/mach-dove/
A Dcommon.c395 .pwr_mask = PMU_PWR_VPU_PWR_DWN_MASK,
400 .pwr_mask = PMU_PWR_GPU_PWR_DWN_MASK,
/linux-6.3-rc2/drivers/soc/rockchip/
A Dpm_domains.c38 int pwr_mask; member
101 .pwr_mask = (pwr), \
113 .pwr_mask = (pwr), \
127 .pwr_mask = (pwr), \
419 if (pd->info->pwr_mask == 0) in rockchip_do_pmu_set_power_domain()
424 (pd->info->pwr_mask | pd->info->pwr_w_mask)); in rockchip_do_pmu_set_power_domain()
427 pd->info->pwr_mask, on ? 0 : -1U); in rockchip_do_pmu_set_power_domain()

Completed in 34 milliseconds