Lines Matching refs:m2info
145 struct matroxfb_dh_maven_info* m2info; in i2c_matroxfb_probe() local
147 m2info = kzalloc(sizeof(*m2info), GFP_KERNEL); in i2c_matroxfb_probe()
148 if (!m2info) in i2c_matroxfb_probe()
159 err = i2c_bus_reg(&m2info->ddc1, minfo, in i2c_matroxfb_probe()
164 err = i2c_bus_reg(&m2info->ddc1, minfo, in i2c_matroxfb_probe()
172 err = i2c_bus_reg(&m2info->ddc2, minfo, DDC2_DATA, DDC2_CLK, "DDC:fb%u #1"); in i2c_matroxfb_probe()
178 err = i2c_bus_reg(&m2info->maven, minfo, MAT_DATA, MAT_CLK, "MAVEN:fb%u"); in i2c_matroxfb_probe()
189 i2c_new_scanned_device(&m2info->maven.adapter, in i2c_matroxfb_probe()
193 return m2info; in i2c_matroxfb_probe()
195 kfree(m2info); in i2c_matroxfb_probe()
201 struct matroxfb_dh_maven_info* m2info = data; in i2c_matroxfb_remove() local
203 i2c_maven_done(m2info); in i2c_matroxfb_remove()
204 i2c_ddc2_done(m2info); in i2c_matroxfb_remove()
205 i2c_ddc1_done(m2info); in i2c_matroxfb_remove()
206 kfree(m2info); in i2c_matroxfb_remove()