28 #include <linux/errno.h>
30 #include <linux/kernel.h>
31 #include <linux/module.h>
33 #include <linux/string.h>
34 #include <linux/slab.h>
44 #define dprintk(lvl, arg...) if (debug >= (lvl)) printk(arg)
57 .buf = (
char *)&lnbp22->
config,
58 .len =
sizeof(lnbp22->
config),
61 dprintk(1,
"%s: %d (18V=%d 13V=%d)\n", __func__, voltage,
82 static int lnbp22_enable_high_lnb_voltage(
struct dvb_frontend *fe,
long arg)
84 struct lnbp22 *lnbp22 = (
struct lnbp22 *) fe->
sec_priv;
88 .buf = (
char *)&lnbp22->
config,
89 .len =
sizeof(lnbp22->
config),
92 dprintk(1,
"%s: %d\n", __func__, (
int)arg);
129 dprintk(0,
"%s LNBP22 not found\n", __func__);
136 fe->
ops.release_sec = lnbp22_release;
139 fe->
ops.set_voltage = lnbp22_set_voltage;
140 fe->
ops.enable_high_lnb_voltage = lnbp22_enable_high_lnb_voltage;