Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
kc.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/pps_kernel.h>
#include "kc.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

 DEFINE_SPINLOCK (pps_kc_hardpps_lock)
 
int pps_kc_bind (struct pps_device *pps, struct pps_bind_args *bind_args)
 
void pps_kc_remove (struct pps_device *pps)
 
void pps_kc_event (struct pps_device *pps, struct pps_event_time *ts, int event)
 

Variables

struct pps_devicepps_kc_hardpps_dev
 
int pps_kc_hardpps_mode
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 21 of file kc.c.

Function Documentation

DEFINE_SPINLOCK ( pps_kc_hardpps_lock  )
int pps_kc_bind ( struct pps_device pps,
struct pps_bind_args bind_args 
)

Definition at line 49 of file kc.c.

void pps_kc_event ( struct pps_device pps,
struct pps_event_time ts,
int  event 
)

Definition at line 112 of file kc.c.

void pps_kc_remove ( struct pps_device pps)

Definition at line 92 of file kc.c.

Variable Documentation

struct pps_device* pps_kc_hardpps_dev

Definition at line 39 of file kc.c.

int pps_kc_hardpps_mode

Definition at line 40 of file kc.c.