Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
bttv-gpio.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <asm/io.h>
#include "bttvp.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

int bttv_sub_add_device (struct bttv_core *core, char *name)
 
int bttv_sub_del_devices (struct bttv_core *core)
 
int bttv_sub_register (struct bttv_sub_driver *sub, char *wanted)
 
 EXPORT_SYMBOL (bttv_sub_register)
 
int bttv_sub_unregister (struct bttv_sub_driver *sub)
 
 EXPORT_SYMBOL (bttv_sub_unregister)
 
void bttv_gpio_inout (struct bttv_core *core, u32 mask, u32 outbits)
 
u32 bttv_gpio_read (struct bttv_core *core)
 
void bttv_gpio_write (struct bttv_core *core, u32 value)
 
void bttv_gpio_bits (struct bttv_core *core, u32 mask, u32 bits)
 

Variables

struct bus_type bttv_sub_bus_type
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 29 of file bttv-gpio.c.

Function Documentation

void bttv_gpio_bits ( struct bttv_core core,
u32  mask,
u32  bits 
)

Definition at line 171 of file bttv-gpio.c.

void bttv_gpio_inout ( struct bttv_core core,
u32  mask,
u32  outbits 
)

Definition at line 141 of file bttv-gpio.c.

u32 bttv_gpio_read ( struct bttv_core core)

Definition at line 155 of file bttv-gpio.c.

void bttv_gpio_write ( struct bttv_core core,
u32  value 
)

Definition at line 164 of file bttv-gpio.c.

int bttv_sub_add_device ( struct bttv_core core,
char name 
)

Definition at line 84 of file bttv-gpio.c.

int bttv_sub_del_devices ( struct bttv_core core)

Definition at line 109 of file bttv-gpio.c.

int bttv_sub_register ( struct bttv_sub_driver sub,
char wanted 
)

Definition at line 123 of file bttv-gpio.c.

int bttv_sub_unregister ( struct bttv_sub_driver sub)

Definition at line 131 of file bttv-gpio.c.

EXPORT_SYMBOL ( bttv_sub_register  )
EXPORT_SYMBOL ( bttv_sub_unregister  )

Variable Documentation

struct bus_type bttv_sub_bus_type
Initial value:
= {
.name = "bttv-sub",
.match = &bttv_sub_bus_match,
.probe = bttv_sub_probe,
.remove = bttv_sub_remove,
}

Definition at line 71 of file bttv-gpio.c.