Searched refs:i2c_num (Results 1 – 4 of 4) sorted by relevance
43 int i2c_num; member74 while (smi->i2c_num > 0) in smi_devs_unregister()75 i2c_unregister_device(smi->i2c_devs[--smi->i2c_num]); in smi_devs_unregister()212 smi->i2c_num++; in smi_i2c_probe()214 if (smi->i2c_num < count) { in smi_i2c_probe()220 dev_info(dev, "Instantiated %d I2C devices.\n", smi->i2c_num); in smi_i2c_probe()
147 for (i = 0; i < dev->i2c_num; i++) { in ddb_i2c_release()230 dev->i2c_num = num; in ddb_i2c_init()
333 u32 i2c_num; member
2341 for (i = 0; i < dev->i2c_num; i++) { in ddb_port_match_i2c()2356 for (i = 0; i < dev->i2c_num; i++) { in ddb_port_match_link_i2c()2949 if (!dev->i2c_num) in bpsnr_show()3161 for (i = 0; i < dev->i2c_num && i < 4; i++) { in ddb_device_attrs_del()3184 for (i = 0; (i < dev->i2c_num) && (i < 4); i++) { in ddb_device_attrs_add()