linux/drivers/media/platform/st/sti/c8sectpfe/c8sectpfe-common.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * c8sectpfe-common.h - C8SECTPFE STi DVB driver
 *
 * Copyright (c) STMicroelectronics 2015
 *
 *   Author: Peter Griffin <[email protected]>
 *
 */
#ifndef _C8SECTPFE_COMMON_H_
#define _C8SECTPFE_COMMON_H_

#include <linux/dvb/dmx.h>
#include <linux/dvb/frontend.h>
#include <linux/gpio.h>

#include <media/dmxdev.h>
#include <media/dvb_demux.h>
#include <media/dvb_frontend.h>
#include <media/dvb_net.h>

/* Maximum number of channels */
#define C8SECTPFE_MAXADAPTER
#define C8SECTPFE_MAXCHANNEL
#define STPTI_MAXCHANNEL

#define MAX_INPUTBLOCKS

struct c8sectpfe;
struct stdemux;

struct stdemux {};

struct c8sectpfe {};

/* Channel registration */
int c8sectpfe_tuner_register_frontend(struct c8sectpfe **c8sectpfe,
					struct c8sectpfei *fei,
					void *start_feed,
					void *stop_feed);

void c8sectpfe_tuner_unregister_frontend(struct c8sectpfe *c8sectpfe,
						struct c8sectpfei *fei);

#endif