Lines Matching refs:i2c_adapter
44 static int i2c_io(struct i2c_adapter *adapter, u8 adr, in i2c_io()
54 static int i2c_write(struct i2c_adapter *adap, u8 adr, u8 *data, int len) in i2c_write()
62 static int i2c_write_reg(struct i2c_adapter *adap, u8 adr, in i2c_write_reg()
70 static int i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read()
77 static int i2c_read_reg16(struct i2c_adapter *adapter, u8 adr, in i2c_read_reg16()
88 static int i2c_read_regs(struct i2c_adapter *adapter, in i2c_read_regs()
99 static int i2c_read_reg(struct i2c_adapter *adapter, u8 adr, u8 reg, u8 *val) in i2c_read_reg()
108 static struct i2c_adapter *i2c_adapter_from_chan(struct ngene_channel *chan) in i2c_adapter_from_chan()
112 return &chan->dev->channel[0].i2c_adapter; in i2c_adapter_from_chan()
114 return &chan->dev->channel[1].i2c_adapter; in i2c_adapter_from_chan()
120 struct i2c_adapter *i2c = i2c_adapter_from_chan(chan); in tuner_attach_stv6110()
151 struct i2c_adapter *i2c = i2c_adapter_from_chan(chan); in tuner_attach_stv6111()
184 struct i2c_adapter *i2c = i2c_adapter_from_chan(chan); in tuner_attach_tda18271()
201 struct i2c_adapter *i2c, in tuner_tda18212_ping()
226 struct i2c_adapter *i2c = i2c_adapter_from_chan(chan); in tuner_attach_tda18212()
285 struct i2c_adapter *i2c = i2c_adapter_from_chan(chan); in demod_attach_stv0900()
326 struct i2c_adapter *i2c) in demod_attach_stv0910()
380 struct i2c_adapter *i2c) in demod_attach_stv0367()
399 struct i2c_adapter *i2c, int osc24) in demod_attach_cxd28xx()
436 static int port_has_stv0900(struct i2c_adapter *i2c, int port) in port_has_stv0900()
444 static int port_has_drxk(struct i2c_adapter *i2c, int port) in port_has_drxk()
453 static int port_has_stv0367(struct i2c_adapter *i2c) in port_has_stv0367()
468 int ngene_port_has_cxd2099(struct i2c_adapter *i2c, u8 *type) in ngene_port_has_cxd2099()
488 struct i2c_adapter *i2c) in demod_attach_drxk()
522 static int init_xo2(struct ngene_channel *chan, struct i2c_adapter *i2c) in init_xo2()
568 static int port_has_xo2(struct i2c_adapter *i2c, u8 *type, u8 *id) in port_has_xo2()
597 struct i2c_adapter *i2c = i2c_adapter_from_chan(chan); in cineS2_probe()
716 0xb2 >> 1, &chan->i2c_adapter); in demod_attach_lg330x()
722 dvb_attach(mt2131_attach, chan->fe, &chan->i2c_adapter, in demod_attach_lg330x()
736 &chan->i2c_adapter, &chan->dev->pci_dev->dev); in demod_attach_drxd()
752 &chan->i2c_adapter, in tuner_attach_dtt7520x()
787 static int i2c_write_eeprom(struct i2c_adapter *adapter, in i2c_write_eeprom()
802 static int i2c_read_eeprom(struct i2c_adapter *adapter, in i2c_read_eeprom()
819 static int ReadEEProm(struct i2c_adapter *adapter, in ReadEEProm()
859 static int WriteEEProm(struct i2c_adapter *adapter, in WriteEEProm()
919 static int eeprom_read_ushort(struct i2c_adapter *adapter, u16 tag, u16 *data) in eeprom_read_ushort()
935 static int eeprom_write_ushort(struct i2c_adapter *adapter, u16 tag, u16 data) in eeprom_write_ushort()
948 struct i2c_adapter *adap = &chan->i2c_adapter; in osc_deviation()