Searched refs:i2c_num (Results 1 – 4 of 4) sorted by relevance
44 int i2c_num; member87 while (smi->i2c_num--) in smi_devs_unregister()88 i2c_unregister_device(smi->i2c_devs[smi->i2c_num]); in smi_devs_unregister()227 smi->i2c_num++; in smi_i2c_probe()229 if (smi->i2c_num < count) { in smi_i2c_probe()235 dev_info(dev, "Instantiated %d I2C devices.\n", smi->i2c_num); in smi_i2c_probe()
138 for (i = 0; i < dev->i2c_num; i++) { in ddb_i2c_release()221 dev->i2c_num = num; in ddb_i2c_init()
324 u32 i2c_num; member
2332 for (i = 0; i < dev->i2c_num; i++) { in ddb_port_match_i2c()2347 for (i = 0; i < dev->i2c_num; i++) { in ddb_port_match_link_i2c()2940 if (!dev->i2c_num) in bpsnr_show()3151 for (i = 0; i < dev->i2c_num && i < 4; i++) { in ddb_device_attrs_del()3174 for (i = 0; (i < dev->i2c_num) && (i < 4); i++) { in ddb_device_attrs_add()