Lines Matching refs:cfg
29 struct cxd2099_cfg cfg;
65 if (ci->cfg.max_i2c && len > ci->cfg.max_i2c)
66 len = ci->cfg.max_i2c;
169 if (ci->cfg.max_i2c && (len + 1 > ci->cfg.max_i2c))
170 len = ci->cfg.max_i2c - 1;
289 if (ci->cfg.clock_mode == 2) {
291 u32 reg = ((ci->cfg.bitrate << 13) + 71999) / 72000;
293 if (ci->cfg.polarity) {
311 } else if (ci->cfg.clock_mode == 1) {
312 if (ci->cfg.polarity) {
331 if (ci->cfg.polarity) {
604 struct cxd2099_cfg *cfg = client->dev.platform_data;
619 memcpy(&ci->cfg, cfg, sizeof(ci->cfg));
644 *cfg->en = &ci->en;