Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
31 lines
852 B
C
31 lines
852 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III
|
|
* flexcop.h - private header file for all flexcop-chip-source files
|
|
* see flexcop.c for copyright information
|
|
*/
|
|
#ifndef __FLEXCOP_H__
|
|
#define __FLEXCOP_H__
|
|
|
|
#define FC_LOG_PREFIX "b2c2-flexcop"
|
|
#include "flexcop-common.h"
|
|
|
|
extern int b2c2_flexcop_debug;
|
|
|
|
/* debug */
|
|
#ifdef CONFIG_DVB_B2C2_FLEXCOP_DEBUG
|
|
#define dprintk(level,args...) \
|
|
do { if ((b2c2_flexcop_debug & level)) printk(args); } while (0)
|
|
#else
|
|
#define dprintk(level,args...)
|
|
#endif
|
|
|
|
#define deb_info(args...) dprintk(0x01, args)
|
|
#define deb_tuner(args...) dprintk(0x02, args)
|
|
#define deb_i2c(args...) dprintk(0x04, args)
|
|
#define deb_ts(args...) dprintk(0x08, args)
|
|
#define deb_sram(args...) dprintk(0x10, args)
|
|
#define deb_rdump(args...) dprintk(0x20, args)
|
|
|
|
#endif
|