Lines Matching defs:modes
93 * @modes: power management mode that this quirk applies to
94 * @dns_modes: do not suspend modes: stop suspending if Ethernet is configured
102 u32 modes;
137 * enum at91_pm_iomaps - IOs that needs to be mapped for different PM modes
330 if (!(eth->modes & BIT(soc_pm.data.mode)))
371 * For modes in dns_modes mask the system blocks if quirk is not
1180 * Replaces standby and suspend modes with default supported modes:
1365 static void __init at91_pm_modes_validate(const int *modes, int len)
1374 if (modes[i] == soc_pm.data.standby_mode && !standby) {
1379 if (modes[i] == soc_pm.data.suspend_mode && !suspend) {
1457 * Platform supports anyway only STANDBY and ULP0 modes.
1476 static const int modes[] __initconst = {
1487 at91_pm_modes_validate(modes, ARRAY_SIZE(modes));
1509 * Platform supports anyway only STANDBY and ULP0 modes.
1523 static const int modes[] __initconst = {
1535 at91_pm_modes_validate(modes, ARRAY_SIZE(modes));
1543 /* Quirks applies to ULP0, ULP0 fast and ULP1 modes. */
1544 soc_pm.quirks.eth[AT91_PM_G_ETH].modes = BIT(AT91_PM_ULP0) |
1554 static const int modes[] __initconst = {
1577 at91_pm_modes_validate(modes, ARRAY_SIZE(modes));
1594 /* Quirk applies to ULP0, ULP0 fast and ULP1 modes. */
1595 soc_pm.quirks.eth[AT91_PM_G_ETH].modes = BIT(AT91_PM_ULP0) |
1608 static const int modes[] __initconst = {
1624 at91_pm_modes_validate(modes, ARRAY_SIZE(modes));
1642 soc_pm.quirks.eth[AT91_PM_E_ETH].modes = BIT(AT91_PM_ULP1);
1643 soc_pm.quirks.eth[AT91_PM_G_ETH].modes = BIT(AT91_PM_ULP1);