• Home
  • Raw
  • Download

Lines Matching refs:fc_i2c_adap

222 	fc->fc_i2c_adap[0].fc = fc;  in flexcop_i2c_init()
223 fc->fc_i2c_adap[1].fc = fc; in flexcop_i2c_init()
224 fc->fc_i2c_adap[2].fc = fc; in flexcop_i2c_init()
225 fc->fc_i2c_adap[0].port = FC_I2C_PORT_DEMOD; in flexcop_i2c_init()
226 fc->fc_i2c_adap[1].port = FC_I2C_PORT_EEPROM; in flexcop_i2c_init()
227 fc->fc_i2c_adap[2].port = FC_I2C_PORT_TUNER; in flexcop_i2c_init()
229 strscpy(fc->fc_i2c_adap[0].i2c_adap.name, "B2C2 FlexCop I2C to demod", in flexcop_i2c_init()
230 sizeof(fc->fc_i2c_adap[0].i2c_adap.name)); in flexcop_i2c_init()
231 strscpy(fc->fc_i2c_adap[1].i2c_adap.name, "B2C2 FlexCop I2C to eeprom", in flexcop_i2c_init()
232 sizeof(fc->fc_i2c_adap[1].i2c_adap.name)); in flexcop_i2c_init()
233 strscpy(fc->fc_i2c_adap[2].i2c_adap.name, "B2C2 FlexCop I2C to tuner", in flexcop_i2c_init()
234 sizeof(fc->fc_i2c_adap[2].i2c_adap.name)); in flexcop_i2c_init()
236 i2c_set_adapdata(&fc->fc_i2c_adap[0].i2c_adap, &fc->fc_i2c_adap[0]); in flexcop_i2c_init()
237 i2c_set_adapdata(&fc->fc_i2c_adap[1].i2c_adap, &fc->fc_i2c_adap[1]); in flexcop_i2c_init()
238 i2c_set_adapdata(&fc->fc_i2c_adap[2].i2c_adap, &fc->fc_i2c_adap[2]); in flexcop_i2c_init()
240 fc->fc_i2c_adap[0].i2c_adap.algo = in flexcop_i2c_init()
241 fc->fc_i2c_adap[1].i2c_adap.algo = in flexcop_i2c_init()
242 fc->fc_i2c_adap[2].i2c_adap.algo = &flexcop_algo; in flexcop_i2c_init()
243 fc->fc_i2c_adap[0].i2c_adap.algo_data = in flexcop_i2c_init()
244 fc->fc_i2c_adap[1].i2c_adap.algo_data = in flexcop_i2c_init()
245 fc->fc_i2c_adap[2].i2c_adap.algo_data = NULL; in flexcop_i2c_init()
246 fc->fc_i2c_adap[0].i2c_adap.dev.parent = in flexcop_i2c_init()
247 fc->fc_i2c_adap[1].i2c_adap.dev.parent = in flexcop_i2c_init()
248 fc->fc_i2c_adap[2].i2c_adap.dev.parent = fc->dev; in flexcop_i2c_init()
250 ret = i2c_add_adapter(&fc->fc_i2c_adap[0].i2c_adap); in flexcop_i2c_init()
254 ret = i2c_add_adapter(&fc->fc_i2c_adap[1].i2c_adap); in flexcop_i2c_init()
258 ret = i2c_add_adapter(&fc->fc_i2c_adap[2].i2c_adap); in flexcop_i2c_init()
266 i2c_del_adapter(&fc->fc_i2c_adap[1].i2c_adap); in flexcop_i2c_init()
268 i2c_del_adapter(&fc->fc_i2c_adap[0].i2c_adap); in flexcop_i2c_init()
275 i2c_del_adapter(&fc->fc_i2c_adap[2].i2c_adap); in flexcop_i2c_exit()
276 i2c_del_adapter(&fc->fc_i2c_adap[1].i2c_adap); in flexcop_i2c_exit()
277 i2c_del_adapter(&fc->fc_i2c_adap[0].i2c_adap); in flexcop_i2c_exit()