summaryrefslogtreecommitdiff
path: root/include/soc/tegra/pm.h
blob: 03909101d4e7d38f0bfe28a1032734545106ceb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * Copyright (C) 2014 NVIDIA Corporation
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __SOC_TEGRA_PM_H__
#define __SOC_TEGRA_PM_H__

enum tegra_suspend_mode {
	TEGRA_SUSPEND_NONE = 0,
	TEGRA_SUSPEND_LP2, /* CPU voltage off */
	TEGRA_SUSPEND_LP1, /* CPU voltage off, DRAM self-refresh */
	TEGRA_SUSPEND_LP0, /* CPU + core voltage off, DRAM self-refresh */
	TEGRA_MAX_SUSPEND_MODE,
};

#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_ARM)
enum tegra_suspend_mode
tegra_pm_validate_suspend_mode(enum tegra_suspend_mode mode);

/* low-level resume entry point */
void tegra_resume(void);
#else
static inline enum tegra_suspend_mode
tegra_pm_validate_suspend_mode(enum tegra_suspend_mode mode)
{
	return TEGRA_SUSPEND_NONE;
}

static inline void tegra_resume(void)
{
}
#endif /* CONFIG_PM_SLEEP */

#endif /* __SOC_TEGRA_PM_H__ */
inux/net-next.git/diff/arch/mips/pci/msi-xlp.c?h=nds-private-remove&id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf&id2=370ebb0ef6255132373ed35d13e7b1d8d2eb7003'>diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/mips/pci/msi-xlp.c')
utton' href='/cgit.cgi/linux/net-next.git/log/include/uapi/rdma/ib_user_mad.h?h=nds-private-remove&id=d81db24056132fe8b83e2fba337e9ea76675e68d'>logplain
-rw-r--r--ib_user_sa.h2222logplain
-rw-r--r--ib_user_verbs.h21586logplain
-rw-r--r--mlx4-abi.h2864logplain
-rw-r--r--mlx5-abi.h7480logplain
-rw-r--r--mthca-abi.h2932logplain
-rw-r--r--nes-abi.h3380logplain
-rw-r--r--ocrdma-abi.h3918logplain
-rw-r--r--qedr-abi.h2559logplain
-rw-r--r--rdma_netlink.h4980logplain