linux/drivers/media/common/siano/smsdvb.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/***********************************************************************
 *
 ***********************************************************************/

struct smsdvb_debugfs;
struct smsdvb_client_t;

sms_prt_dvb_stats_t;

sms_prt_isdb_stats_t;

sms_prt_isdb_stats_ex_t;


struct smsdvb_client_t {};

/*
 * This struct is a mix of struct sms_rx_stats_ex and
 * struct sms_srvm_signal_status.
 * It was obtained by comparing the way it was filled by the original code
 */
struct RECEPTION_STATISTICS_PER_SLICES_S {};

/* From smsdvb-debugfs.c */
#ifdef CONFIG_SMS_SIANO_DEBUGFS

int smsdvb_debugfs_create(struct smsdvb_client_t *client);
void smsdvb_debugfs_release(struct smsdvb_client_t *client);
void smsdvb_debugfs_register(void);
void smsdvb_debugfs_unregister(void);

#else

static inline int smsdvb_debugfs_create(struct smsdvb_client_t *client)
{
	return 0;
}

static inline void smsdvb_debugfs_release(struct smsdvb_client_t *client) {}

static inline void smsdvb_debugfs_register(void) {}

static inline void smsdvb_debugfs_unregister(void) {};

#endif