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

pmic_event.c File Reference

Detailed Description

This file manage all event of PMIC component.

It contains event subscription, unsubscription and callback launch methods implemeted.

Definition in file pmic_event.c.

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/pmic_external.h>
#include <linux/pmic_status.h>
#include "pmic.h"

Go to the source code of this file.


struct  pmic_event_callback_list_t


static DECLARE_MUTEX (event_mutex)
 EXPORT_SYMBOL (pmic_event_unsubscribe)
 EXPORT_SYMBOL (pmic_event_subscribe)
void pmic_event_callback (type_event event)
void pmic_event_list_init (void)
PMIC_STATUS pmic_event_subscribe (type_event event, pmic_event_callback_t callback)
PMIC_STATUS pmic_event_unsubscribe (type_event event, pmic_event_callback_t callback)


static struct list_head pmic_events [PMIC_MAX_EVENTS]

Generated by  Doxygen 1.6.0   Back to index