Lines Matching refs:cfg
28 .addr = priv->cfg->i2c_address, .flags = 0, .buf = buf, .len = 2 in fc0012_writereg()
43 { .addr = priv->cfg->i2c_address, .flags = 0, in fc0012_readreg()
45 { .addr = priv->cfg->i2c_address, .flags = I2C_M_RD, in fc0012_readreg()
97 switch (priv->cfg->xtal_freq) { in fc0012_init()
107 if (priv->cfg->dual_master) in fc0012_init()
110 if (priv->cfg->loop_through) in fc0012_init()
151 switch (priv->cfg->xtal_freq) { in fc0012_set_params()
444 struct i2c_adapter *i2c, const struct fc0012_config *cfg) in fc0012_attach() argument
460 priv->cfg = cfg; in fc0012_attach()
481 if (priv->cfg->loop_through) { in fc0012_attach()
491 if (priv->cfg->clock_out) { in fc0012_attach()