Lines Matching refs:i2c

45 	ret = i2c_transfer(priv->i2c, msg, 1);  in m88ds3103_wr_regs()
50 dev_warn(&priv->i2c->dev, in m88ds3103_wr_regs()
85 ret = i2c_transfer(priv->i2c, msg, 2); in m88ds3103_rd_regs()
91 dev_warn(&priv->i2c->dev, in m88ds3103_rd_regs()
163 dev_dbg(&priv->i2c->dev, "%s: tab_len=%d\n", __func__, tab_len); in m88ds3103_wr_reg_val_tab()
185 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_wr_reg_val_tab()
225 dev_dbg(&priv->i2c->dev, "%s: invalid delivery_system\n", in m88ds3103_read_status()
233 dev_dbg(&priv->i2c->dev, "%s: lock=%02x status=%02x\n", in m88ds3103_read_status()
238 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_read_status()
254 dev_dbg(&priv->i2c->dev, in m88ds3103_set_frontend()
341 dev_dbg(&priv->i2c->dev, "%s: invalid ts_mode\n", in m88ds3103_set_frontend()
397 dev_dbg(&priv->i2c->dev, "%s: invalid delivery_system\n", in m88ds3103_set_frontend()
450 dev_dbg(&priv->i2c->dev, "%s: invalid ts_mode\n", __func__); in m88ds3103_set_frontend()
480 dev_dbg(&priv->i2c->dev, in m88ds3103_set_frontend()
547 dev_dbg(&priv->i2c->dev, "%s: carrier offset=%d\n", __func__, in m88ds3103_set_frontend()
573 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_set_frontend()
585 dev_dbg(&priv->i2c->dev, "%s:\n", __func__); in m88ds3103_init()
608 dev_dbg(&priv->i2c->dev, "%s: firmware=%02x\n", __func__, u8tmp); in m88ds3103_init()
623 dev_info(&priv->i2c->dev, "%s: found a '%s' in cold state\n", in m88ds3103_init()
631 ret = request_firmware(&fw, fw_file, priv->i2c->dev.parent); in m88ds3103_init()
633 dev_err(&priv->i2c->dev, "%s: firmware file '%s' not found\n", in m88ds3103_init()
638 dev_info(&priv->i2c->dev, "%s: downloading firmware from file '%s'\n", in m88ds3103_init()
654 dev_err(&priv->i2c->dev, in m88ds3103_init()
673 dev_info(&priv->i2c->dev, "%s: firmware did not run\n", in m88ds3103_init()
679 dev_info(&priv->i2c->dev, "%s: found a '%s' in warm state\n", in m88ds3103_init()
681 dev_info(&priv->i2c->dev, "%s: firmware version %X.%X\n", in m88ds3103_init()
693 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_init()
703 dev_dbg(&priv->i2c->dev, "%s:\n", __func__); in m88ds3103_sleep()
731 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_sleep()
742 dev_dbg(&priv->i2c->dev, "%s:\n", __func__); in m88ds3103_get_frontend()
785 dev_dbg(&priv->i2c->dev, "%s: invalid fec_inner\n", in m88ds3103_get_frontend()
834 dev_dbg(&priv->i2c->dev, "%s: invalid fec_inner\n", in m88ds3103_get_frontend()
861 dev_dbg(&priv->i2c->dev, "%s: invalid modulation\n", in m88ds3103_get_frontend()
885 dev_dbg(&priv->i2c->dev, "%s: invalid rolloff\n", in m88ds3103_get_frontend()
890 dev_dbg(&priv->i2c->dev, "%s: invalid delivery_system\n", in m88ds3103_get_frontend()
905 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_get_frontend()
918 dev_dbg(&priv->i2c->dev, "%s:\n", __func__); in m88ds3103_read_snr()
975 dev_dbg(&priv->i2c->dev, "%s: invalid delivery_system\n", in m88ds3103_read_snr()
983 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_read_snr()
995 dev_dbg(&priv->i2c->dev, "%s:\n", __func__); in m88ds3103_read_ber()
1055 dev_dbg(&priv->i2c->dev, "%s: invalid delivery_system\n", in m88ds3103_read_ber()
1065 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_read_ber()
1076 dev_dbg(&priv->i2c->dev, "%s: fe_sec_tone_mode=%d\n", __func__, in m88ds3103_set_tone()
1094 dev_dbg(&priv->i2c->dev, "%s: invalid fe_sec_tone_mode\n", in m88ds3103_set_tone()
1112 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_set_tone()
1124 dev_dbg(&priv->i2c->dev, "%s: fe_sec_voltage=%d\n", __func__, in m88ds3103_set_voltage()
1146 dev_dbg(&priv->i2c->dev, "%s: invalid fe_sec_voltage\n", in m88ds3103_set_voltage()
1163 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_set_voltage()
1174 dev_dbg(&priv->i2c->dev, "%s: msg=%*ph\n", __func__, in m88ds3103_diseqc_send_master_cmd()
1214 dev_dbg(&priv->i2c->dev, "%s: loop=%d\n", __func__, i); in m88ds3103_diseqc_send_master_cmd()
1217 dev_dbg(&priv->i2c->dev, "%s: diseqc tx timeout\n", __func__); in m88ds3103_diseqc_send_master_cmd()
1235 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_diseqc_send_master_cmd()
1246 dev_dbg(&priv->i2c->dev, "%s: fe_sec_mini_cmd=%d\n", __func__, in m88ds3103_diseqc_send_burst()
1267 dev_dbg(&priv->i2c->dev, "%s: invalid fe_sec_mini_cmd\n", in m88ds3103_diseqc_send_burst()
1289 dev_dbg(&priv->i2c->dev, "%s: loop=%d\n", __func__, i); in m88ds3103_diseqc_send_burst()
1296 dev_dbg(&priv->i2c->dev, "%s: diseqc tx timeout\n", __func__); in m88ds3103_diseqc_send_burst()
1303 dev_dbg(&priv->i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_diseqc_send_burst()
1339 ret = __i2c_transfer(priv->i2c, gate_open_msg, 1); in m88ds3103_select()
1341 dev_warn(&priv->i2c->dev, "%s: i2c wr failed=%d\n", in m88ds3103_select()
1363 struct i2c_adapter *i2c, struct i2c_adapter **tuner_i2c_adapter) in m88ds3103_attach() argument
1373 dev_err(&i2c->dev, "%s: kzalloc() failed\n", KBUILD_MODNAME); in m88ds3103_attach()
1378 priv->i2c = i2c; in m88ds3103_attach()
1387 dev_info(&priv->i2c->dev, "%s: chip_id=%02x\n", __func__, chip_id); in m88ds3103_attach()
1435 priv->i2c_adapter = i2c_add_mux_adapter(i2c, &i2c->dev, priv, 0, 0, 0, in m88ds3103_attach()
1451 dev_dbg(&i2c->dev, "%s: failed=%d\n", __func__, ret); in m88ds3103_attach()