2 * drivers/misc/tegra-baseband/bb-power.h
4 * Copyright (C) 2011 NVIDIA Corporation
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
17 enum tegra_bb_callback_code {
27 struct tegra_bb_gpio_data {
32 struct tegra_bb_gpio_irqdata {
35 irq_handler_t handler;
40 struct tegra_bb_power_gdata {
41 struct tegra_bb_gpio_data *gpio;
42 struct tegra_bb_gpio_irqdata *gpioirq;
45 typedef void* (*bb_init_cb)(void *pdata, int code);
46 typedef int (*bb_power_cb)(int code);