Lines Matching refs:polarity
40 int (*config_shdwc_ws)(void __iomem *shdwc, u32 *mode, u32 *polarity);
41 int (*config_pmc_ws)(void __iomem *pmc, u32 mode, u32 polarity);
133 unsigned int mode = 0, polarity = 0, val = 0; in at91_pm_config_ws() local
147 soc_pm.config_shdwc_ws(soc_pm.data.shdwc, &mode, &polarity); in at91_pm_config_ws()
167 polarity |= wsi->pmc_fsmr_bit; in at91_pm_config_ws()
176 soc_pm.config_pmc_ws(soc_pm.data.pmc, mode, polarity); in at91_pm_config_ws()
185 u32 *polarity) in at91_sama5d2_config_shdwc_ws() argument
192 *polarity |= ((val >> 16) & 0x3ff); in at91_sama5d2_config_shdwc_ws()
197 static int at91_sama5d2_config_pmc_ws(void __iomem *pmc, u32 mode, u32 polarity) in at91_sama5d2_config_pmc_ws() argument
200 writel(polarity, pmc + AT91_PMC_FSPR); in at91_sama5d2_config_pmc_ws()
205 static int at91_sam9x60_config_pmc_ws(void __iomem *pmc, u32 mode, u32 polarity) in at91_sam9x60_config_pmc_ws() argument