linux/drivers/media/common/b2c2/flexcop-hw-filter.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III
 * flexcop-hw-filter.c - pid and mac address filtering and control functions
 * see flexcop.c for copyright information
 */
#include "flexcop.h"

static void flexcop_rcv_data_ctrl(struct flexcop_device *fc, int onoff)
{}

void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff)
{}

static void flexcop_null_filter_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)
{}

static void flexcop_pid_group_filter(struct flexcop_device *fc,
		u16 pid, u16 mask)
{}

static void flexcop_pid_group_filter_ctrl(struct flexcop_device *fc, int onoff)
{}

/* this fancy define reduces the code size of the quite similar PID controlling of
 * the first 6 PIDs
 */

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

static void flexcop_pid_Stream1_PID_ctrl(struct flexcop_device *fc,
		u16 pid, int onoff)
{}

static void flexcop_pid_Stream2_PID_ctrl(struct flexcop_device *fc,
		u16 pid, int onoff)
{}

static void flexcop_pid_PCR_PID_ctrl(struct flexcop_device *fc,
		u16 pid, int onoff)
{}

static void flexcop_pid_PMT_PID_ctrl(struct flexcop_device *fc,
		u16 pid, int onoff)
{}

static void flexcop_pid_EMM_PID_ctrl(struct flexcop_device *fc,
		u16 pid, int onoff)
{}

static void flexcop_pid_ECM_PID_ctrl(struct flexcop_device *fc,
		u16 pid, int onoff)
{}

static void flexcop_pid_control(struct flexcop_device *fc,
		int index, u16 pid, int onoff)
{}

static int flexcop_toggle_fullts_streaming(struct flexcop_device *fc, int onoff)
{}

int flexcop_pid_feed_control(struct flexcop_device *fc,
		struct dvb_demux_feed *dvbdmxfeed, int onoff)
{}
EXPORT_SYMBOL();

void flexcop_hw_filter_init(struct flexcop_device *fc)
{}