Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

pmic_common.c File Reference


Detailed Description

This is the common file for the PMIC Core/Protocol driver.

Definition in file pmic_common.c.

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kthread.h>
#include <linux/pmic_external.h>
#include <linux/pmic_status.h>
#include <asm/uaccess.h>
#include "pmic.h"

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (pmic_get_version)
static int pmic_event_thread_func (void *v)
pmic_version_t pmic_get_version (void)
irqreturn_t pmic_irq_handler (int irq, void *dev_id)
int pmic_start_event_thread (int irq_num)
void pmic_stop_event_thread (void)

Variables

unsigned int active_events [MAX_ACTIVE_EVENTS]
static struct completion event_completion
pmic_version_t mxc_pmic_version
static struct task_struct * tstask


Generated by  Doxygen 1.6.0   Back to index