Searched refs:isl6421 (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/media/dvb-frontends/
H A Disl6421.c2 * isl6421.h - driver for lnb supply and control ic ISL6421
36 #include "isl6421.h"
38 struct isl6421 { struct
49 struct isl6421 *isl6421 = (struct isl6421 *) fe->sec_priv; isl6421_set_voltage() local
50 struct i2c_msg msg = { .addr = isl6421->i2c_addr, .flags = 0, isl6421_set_voltage()
51 .buf = &isl6421->config, isl6421_set_voltage()
52 .len = sizeof(isl6421->config) }; isl6421_set_voltage()
54 isl6421->config &= ~(ISL6421_VSEL1 | ISL6421_EN1); isl6421_set_voltage()
60 isl6421->config |= ISL6421_EN1; isl6421_set_voltage()
63 isl6421->config |= (ISL6421_EN1 | ISL6421_VSEL1); isl6421_set_voltage()
69 isl6421->config |= isl6421->override_or; isl6421_set_voltage()
70 isl6421->config &= isl6421->override_and; isl6421_set_voltage()
72 return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO; isl6421_set_voltage()
77 struct isl6421 *isl6421 = (struct isl6421 *) fe->sec_priv; isl6421_enable_high_lnb_voltage() local
78 struct i2c_msg msg = { .addr = isl6421->i2c_addr, .flags = 0, isl6421_enable_high_lnb_voltage()
79 .buf = &isl6421->config, isl6421_enable_high_lnb_voltage()
80 .len = sizeof(isl6421->config) }; isl6421_enable_high_lnb_voltage()
83 isl6421->config |= ISL6421_LLC1; isl6421_enable_high_lnb_voltage()
85 isl6421->config &= ~ISL6421_LLC1; isl6421_enable_high_lnb_voltage()
87 isl6421->config |= isl6421->override_or; isl6421_enable_high_lnb_voltage()
88 isl6421->config &= isl6421->override_and; isl6421_enable_high_lnb_voltage()
90 return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO; isl6421_enable_high_lnb_voltage()
96 struct isl6421 *isl6421 = (struct isl6421 *) fe->sec_priv; isl6421_set_tone() local
97 struct i2c_msg msg = { .addr = isl6421->i2c_addr, .flags = 0, isl6421_set_tone()
98 .buf = &isl6421->config, isl6421_set_tone()
99 .len = sizeof(isl6421->config) }; isl6421_set_tone()
103 isl6421->config |= ISL6421_ENT1; isl6421_set_tone()
106 isl6421->config &= ~ISL6421_ENT1; isl6421_set_tone()
112 isl6421->config |= isl6421->override_or; isl6421_set_tone()
113 isl6421->config &= isl6421->override_and; isl6421_set_tone()
115 return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO; isl6421_set_tone()
131 struct isl6421 *isl6421 = kmalloc(sizeof(struct isl6421), GFP_KERNEL); isl6421_attach() local
132 if (!isl6421) isl6421_attach()
136 isl6421->config = ISL6421_ISEL1; isl6421_attach()
137 isl6421->i2c = i2c; isl6421_attach()
138 isl6421->i2c_addr = i2c_addr; isl6421_attach()
139 fe->sec_priv = isl6421; isl6421_attach()
142 isl6421->override_or = override_set; isl6421_attach()
145 isl6421->override_and = ~override_clear; isl6421_attach()
149 kfree(isl6421); isl6421_attach()
167 MODULE_DESCRIPTION("Driver for lnb supply and control ic isl6421");
H A Disl6421.h2 * isl6421.h - driver for lnb supply and control ic ISL6421
H A DMakefile64 obj-$(CONFIG_DVB_ISL6421) += isl6421.o
/linux-4.4.14/drivers/media/common/b2c2/
H A Dflexcop-fe-tuner.c14 #include "isl6421.h"
/linux-4.4.14/drivers/media/pci/cx88/
H A Dcx88-dvb.c48 #include "isl6421.h"
/linux-4.4.14/drivers/media/pci/saa7134/
H A Dsaa7134-dvb.c48 #include "isl6421.h"

Completed in 224 milliseconds