Lines Matching refs:i2c
40 struct i2c_adapter *i2c; member
115 dev_dbg(&priv->i2c->dev, "ascot2e: I2C %s reg 0x%02x size %d\n", in ascot2e_i2c_debug()
136 dev_warn(&priv->i2c->dev,"wr reg=%04x: len=%d is too big!\n", in ascot2e_write_regs()
144 ret = i2c_transfer(priv->i2c, msg, 1); in ascot2e_write_regs()
148 dev_warn(&priv->i2c->dev, in ascot2e_write_regs()
179 ret = i2c_transfer(priv->i2c, &msg[0], 1); in ascot2e_read_regs()
183 dev_warn(&priv->i2c->dev, in ascot2e_read_regs()
188 ret = i2c_transfer(priv->i2c, &msg[1], 1); in ascot2e_read_regs()
192 dev_warn(&priv->i2c->dev, in ascot2e_read_regs()
225 dev_dbg(&priv->i2c->dev, "%s()\n", __func__); in ascot2e_enter_power_save()
240 dev_dbg(&priv->i2c->dev, "%s()\n", __func__); in ascot2e_leave_power_save()
253 dev_dbg(&priv->i2c->dev, "%s()\n", __func__); in ascot2e_init()
261 dev_dbg(&priv->i2c->dev, "%s()\n", __func__); in ascot2e_release()
271 dev_dbg(&priv->i2c->dev, "%s()\n", __func__); in ascot2e_sleep()
314 dev_dbg(&priv->i2c->dev, in ascot2e_get_tv_system()
328 dev_dbg(&priv->i2c->dev, "%s(): tune frequency %dkHz\n", in ascot2e_set_params()
333 dev_dbg(&priv->i2c->dev, "%s(): unknown DTV system\n", in ascot2e_set_params()
483 struct i2c_adapter *i2c) in ascot2e_attach() argument
492 priv->i2c = i2c; in ascot2e_attach()
539 dev_info(&priv->i2c->dev, in ascot2e_attach()
541 priv->i2c_address, priv->i2c); in ascot2e_attach()