Go to the documentation of this file.
21 #ifndef __TDA18271_PRIV_H__
22 #define __TDA18271_PRIV_H__
24 #include <linux/kernel.h>
25 #include <linux/types.h>
70 #define TDA18271_NUM_REGS 39
145 #define tda_printk(st, lvl, fmt, arg...) \
146 _tda_printk(st, lvl, __func__, fmt, ##arg)
148 #define tda_dprintk(st, lvl, fmt, arg...) \
150 if (tda18271_debug & lvl) \
151 tda_printk(st, KERN_DEBUG, fmt, ##arg); \
154 #define tda_info(fmt, arg...) pr_info(fmt, ##arg)
155 #define tda_warn(fmt, arg...) tda_printk(priv, KERN_WARNING, fmt, ##arg)
156 #define tda_err(fmt, arg...) tda_printk(priv, KERN_ERR, fmt, ##arg)
157 #define tda_dbg(fmt, arg...) tda_dprintk(priv, DBG_INFO, fmt, ##arg)
158 #define tda_map(fmt, arg...) tda_dprintk(priv, DBG_MAP, fmt, ##arg)
159 #define tda_reg(fmt, arg...) tda_dprintk(priv, DBG_REG, fmt, ##arg)
160 #define tda_cal(fmt, arg...) tda_dprintk(priv, DBG_CAL, fmt, ##arg)
162 #define tda_fail(ret) \
167 tda_printk(priv, KERN_ERR, \
168 "error %d on line %d\n", ret, __LINE__); \
216 int sm,
int sm_lt,
int sm_xt);