Searched refs:dmcst (Results 1 – 1 of 1) sorted by relevance
858 struct dib3000mc_state *dmcst; in dib3000mc_i2c_enumeration() local864 dmcst = kzalloc(sizeof(struct dib3000mc_state), GFP_KERNEL); in dib3000mc_i2c_enumeration()865 if (dmcst == NULL) in dib3000mc_i2c_enumeration()868 dmcst->i2c_adap = i2c; in dib3000mc_i2c_enumeration()871 dmcst->cfg = &cfg[k]; in dib3000mc_i2c_enumeration()875 dmcst->i2c_addr = new_addr; in dib3000mc_i2c_enumeration()876 if (dib3000mc_identify(dmcst) != 0) { in dib3000mc_i2c_enumeration()877 dmcst->i2c_addr = default_addr; in dib3000mc_i2c_enumeration()878 if (dib3000mc_identify(dmcst) != 0) { in dib3000mc_i2c_enumeration()880 kfree(dmcst); in dib3000mc_i2c_enumeration()[all …]