Lines Matching refs:i2c
72 struct i2c_adapter *i2c; member
86 if (i2c_transfer(priv->i2c, &msg, 1) != 1) { in fc0011_writereg()
87 dev_err(&priv->i2c->dev, in fc0011_writereg()
106 if (i2c_transfer(priv->i2c, msg, 2) != 2) { in fc0011_readreg()
107 dev_err(&priv->i2c->dev, in fc0011_readreg()
131 err = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER, in fc0011_init()
134 dev_err(&priv->i2c->dev, "Power-on callback failed\n"); in fc0011_init()
137 err = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER, in fc0011_init()
140 dev_err(&priv->i2c->dev, "Reset callback failed\n"); in fc0011_init()
250 dev_warn(&priv->i2c->dev, in fc0011_set_params()
265 dev_warn(&priv->i2c->dev, "Unsupported bandwidth %u kHz. " in fc0011_set_params()
315 err = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER, in fc0011_set_params()
318 dev_err(&priv->i2c->dev, "Failed to reset tuner\n"); in fc0011_set_params()
342 dev_err(&priv->i2c->dev, in fc0011_set_params()
438 dev_dbg(&priv->i2c->dev, "Tuned to " in fc0011_set_params()
500 struct i2c_adapter *i2c, in fc0011_attach() argument
509 priv->i2c = i2c; in fc0011_attach()
515 dev_info(&priv->i2c->dev, "Fitipower FC0011 tuner attached\n"); in fc0011_attach()