Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
bttvp.h File Reference
#include <linux/types.h>
#include <linux/wait.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/pci.h>
#include <linux/input.h>
#include <linux/mutex.h>
#include <linux/scatterlist.h>
#include <asm/io.h>
#include <media/v4l2-common.h>
#include <linux/device.h>
#include <media/videobuf-dma-sg.h>
#include <media/tveeprom.h>
#include <media/rc-core.h>
#include <media/ir-kbd-i2c.h>
#include "bt848.h"
#include "bttv.h"
#include "btcx-risc.h"

Go to the source code of this file.

Macros

#define btwrite(dat, adr)   writel((dat), btv->bt848_mmio+(adr))
 
#define btread(adr)   readl(btv->bt848_mmio+(adr))
 
#define btand(dat, adr)   btwrite((dat) & btread(adr), adr)
 
#define btor(dat, adr)   btwrite((dat) | btread(adr), adr)
 
#define btaor(dat, mask, adr)   btwrite((dat) | ((mask) & btread(adr)), adr)
 

Macro Definition Documentation

#define btand (   dat,
  adr 
)    btwrite((dat) & btread(adr), adr)

Definition at line 526 of file bttvp.h.

#define btaor (   dat,
  mask,
  adr 
)    btwrite((dat) | ((mask) & btread(adr)), adr)

Definition at line 528 of file bttvp.h.

#define btor (   dat,
  adr 
)    btwrite((dat) | btread(adr), adr)

Definition at line 527 of file bttvp.h.

#define btread (   adr)    readl(btv->bt848_mmio+(adr))

Definition at line 524 of file bttvp.h.

#define btwrite (   dat,
  adr 
)    writel((dat), btv->bt848_mmio+(adr))

Definition at line 523 of file bttvp.h.