Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
flexcop-hw-filter.c File Reference
#include "flexcop.h"

Go to the source code of this file.

Macros

#define pid_ctrl(vregname, field, enablefield, trans_field, transval)
 

Functions

void flexcop_smc_ctrl (struct flexcop_device *fc, int onoff)
 
void flexcop_set_mac_filter (struct flexcop_device *fc, u8 mac[6])
 
void flexcop_mac_filter_ctrl (struct flexcop_device *fc, int onoff)
 
int flexcop_pid_feed_control (struct flexcop_device *fc, struct dvb_demux_feed *dvbdmxfeed, int onoff)
 
 EXPORT_SYMBOL (flexcop_pid_feed_control)
 
void flexcop_hw_filter_init (struct flexcop_device *fc)
 

Macro Definition Documentation

#define pid_ctrl (   vregname,
  field,
  enablefield,
  trans_field,
  transval 
)
Value:
flexcop_ibi_value vpid = fc->read_ibi_reg(fc, vregname), \
v208 = fc->read_ibi_reg(fc, ctrl_208); \
vpid.vregname.field = onoff ? pid : 0x1fff; \
vpid.vregname.trans_field = transval; \
v208.ctrl_208.enablefield = onoff; \
fc->write_ibi_reg(fc, vregname, vpid); \
fc->write_ibi_reg(fc, ctrl_208, v208);

Definition at line 64 of file flexcop-hw-filter.c.

Function Documentation

EXPORT_SYMBOL ( flexcop_pid_feed_control  )
void flexcop_hw_filter_init ( struct flexcop_device fc)

Definition at line 216 of file flexcop-hw-filter.c.

void flexcop_mac_filter_ctrl ( struct flexcop_device fc,
int  onoff 
)

Definition at line 40 of file flexcop-hw-filter.c.

int flexcop_pid_feed_control ( struct flexcop_device fc,
struct dvb_demux_feed dvbdmxfeed,
int  onoff 
)

Definition at line 170 of file flexcop-hw-filter.c.

void flexcop_set_mac_filter ( struct flexcop_device fc,
u8  mac[6] 
)

Definition at line 24 of file flexcop-hw-filter.c.

void flexcop_smc_ctrl ( struct flexcop_device fc,
int  onoff 
)

Definition at line 14 of file flexcop-hw-filter.c.