lnbp22
if (!lnbp22)
lnbp22->config[0] = 0x00; /* ? */
lnbp22->config[1] = 0x28; /* ? */
lnbp22->config[2] = 0x48; /* ? */
lnbp22->config[3] = 0x60; /* Power down */
lnbp22->i2c = i2c;
fe->sec_priv = lnbp22;
kfree(lnbp22);
struct lnbp22 *lnbp22 = (struct lnbp22 *)fe->sec_priv;
.buf = (char *)&lnbp22->config,
.len = sizeof(lnbp22->config),
lnbp22->config[3] = 0x60; /* Power down */
lnbp22->config[3] |= LNBP22_EN;
lnbp22->config[3] |= (LNBP22_EN | LNBP22_VSEL);
dprintk(1, "%s: 0x%02x)\n", __func__, lnbp22->config[3]);
return (i2c_transfer(lnbp22->i2c, &msg, 1) == 1) ? 0 : -EIO;
struct lnbp22 *lnbp22 = (struct lnbp22 *) fe->sec_priv;
.buf = (char *)&lnbp22->config,
.len = sizeof(lnbp22->config),
lnbp22->config[3] |= LNBP22_LLC;
lnbp22->config[3] &= ~LNBP22_LLC;
return (i2c_transfer(lnbp22->i2c, &msg, 1) == 1) ? 0 : -EIO;
struct lnbp22 *lnbp22 = kmalloc_obj(struct lnbp22);