Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
budget.h File Reference
#include "dvb_frontend.h"
#include "dvbdev.h"
#include "demux.h"
#include "dvb_demux.h"
#include "dmxdev.h"
#include "dvb_filter.h"
#include "dvb_net.h"
#include <linux/module.h>
#include <linux/mutex.h>
#include <media/saa7146.h>

Go to the source code of this file.

Data Structures

struct  budget_info
 
struct  budget
 

Macros

#define dprintk(level, args...)   do { if ((budget_debug & level)) { printk("%s: %s(): ", KBUILD_MODNAME, __func__); printk(args); } } while (0)
 
#define MAKE_BUDGET_INFO(x_var, x_name, x_type)
 
#define BUDGET_TT   0
 
#define BUDGET_TT_HW_DISEQC   1
 
#define BUDGET_PATCH   3
 
#define BUDGET_FS_ACTIVY   4
 
#define BUDGET_CIN1200S   5
 
#define BUDGET_CIN1200C   6
 
#define BUDGET_CIN1200T   7
 
#define BUDGET_KNC1S   8
 
#define BUDGET_KNC1C   9
 
#define BUDGET_KNC1T   10
 
#define BUDGET_KNC1SP   11
 
#define BUDGET_KNC1CP   12
 
#define BUDGET_KNC1TP   13
 
#define BUDGET_TVSTAR   14
 
#define BUDGET_CIN1200C_MK3   15
 
#define BUDGET_KNC1C_MK3   16
 
#define BUDGET_KNC1CP_MK3   17
 
#define BUDGET_KNC1S2   18
 
#define BUDGET_KNC1C_TDA10024   19
 
#define BUDGET_VIDEO_PORTA   0
 
#define BUDGET_VIDEO_PORTB   1
 

Functions

int ttpci_budget_init (struct budget *budget, struct saa7146_dev *dev, struct saa7146_pci_extension_data *info, struct module *owner, short *adapter_nums)
 
void ttpci_budget_init_hooks (struct budget *budget)
 
int ttpci_budget_deinit (struct budget *budget)
 
void ttpci_budget_irq10_handler (struct saa7146_dev *dev, u32 *isr)
 
void ttpci_budget_set_video_port (struct saa7146_dev *dev, int video_port)
 
int ttpci_budget_debiread (struct budget *budget, u32 config, int addr, int count, int uselocks, int nobusyloop)
 
int ttpci_budget_debiwrite (struct budget *budget, u32 config, int addr, int count, u32 value, int uselocks, int nobusyloop)
 

Variables

int budget_debug
 

Macro Definition Documentation

#define BUDGET_CIN1200C   6

Definition at line 94 of file budget.h.

#define BUDGET_CIN1200C_MK3   15

Definition at line 103 of file budget.h.

#define BUDGET_CIN1200S   5

Definition at line 93 of file budget.h.

#define BUDGET_CIN1200T   7

Definition at line 95 of file budget.h.

#define BUDGET_FS_ACTIVY   4

Definition at line 92 of file budget.h.

#define BUDGET_KNC1C   9

Definition at line 97 of file budget.h.

#define BUDGET_KNC1C_MK3   16

Definition at line 104 of file budget.h.

#define BUDGET_KNC1C_TDA10024   19

Definition at line 107 of file budget.h.

#define BUDGET_KNC1CP   12

Definition at line 100 of file budget.h.

#define BUDGET_KNC1CP_MK3   17

Definition at line 105 of file budget.h.

#define BUDGET_KNC1S   8

Definition at line 96 of file budget.h.

#define BUDGET_KNC1S2   18

Definition at line 106 of file budget.h.

#define BUDGET_KNC1SP   11

Definition at line 99 of file budget.h.

#define BUDGET_KNC1T   10

Definition at line 98 of file budget.h.

#define BUDGET_KNC1TP   13

Definition at line 101 of file budget.h.

#define BUDGET_PATCH   3

Definition at line 91 of file budget.h.

#define BUDGET_TT   0

Definition at line 89 of file budget.h.

#define BUDGET_TT_HW_DISEQC   1

Definition at line 90 of file budget.h.

#define BUDGET_TVSTAR   14

Definition at line 102 of file budget.h.

#define BUDGET_VIDEO_PORTA   0

Definition at line 109 of file budget.h.

#define BUDGET_VIDEO_PORTB   1

Definition at line 110 of file budget.h.

#define dprintk (   level,
  args... 
)    do { if ((budget_debug & level)) { printk("%s: %s(): ", KBUILD_MODNAME, __func__); printk(args); } } while (0)

Definition at line 24 of file budget.h.

#define MAKE_BUDGET_INFO (   x_var,
  x_name,
  x_type 
)
Value:
static struct budget_info x_var ## _info = { \
.name=x_name, \
.type=x_type }; \
static struct saa7146_pci_extension_data x_var = { \
.ext_priv = &x_var ## _info, \
.ext = &budget_extension };

Definition at line 81 of file budget.h.

Function Documentation

int ttpci_budget_debiread ( struct budget budget,
u32  config,
int  addr,
int  count,
int  uselocks,
int  nobusyloop 
)

Definition at line 234 of file budget-core.c.

int ttpci_budget_debiwrite ( struct budget budget,
u32  config,
int  addr,
int  count,
u32  value,
int  uselocks,
int  nobusyloop 
)

Definition at line 273 of file budget-core.c.

int ttpci_budget_deinit ( struct budget budget)

Definition at line 551 of file budget-core.c.

int ttpci_budget_init ( struct budget budget,
struct saa7146_dev dev,
struct saa7146_pci_extension_data info,
struct module owner,
short adapter_nums 
)

Definition at line 411 of file budget-core.c.

void ttpci_budget_init_hooks ( struct budget budget)

Definition at line 543 of file budget-core.c.

void ttpci_budget_irq10_handler ( struct saa7146_dev dev,
u32 isr 
)

Definition at line 570 of file budget-core.c.

void ttpci_budget_set_video_port ( struct saa7146_dev dev,
int  video_port 
)

Definition at line 580 of file budget-core.c.

Variable Documentation

int budget_debug

Definition at line 53 of file budget-core.c.