Lines Matching refs:num_i2c_clients
1237 int num_i2c_clients = 0;
1279 while (++num_i2c_clients < AB3550_NUM_BANKS) {
1280 ab->i2c_client[num_i2c_clients] =
1282 (client->addr + num_i2c_clients));
1283 if (!ab->i2c_client[num_i2c_clients]) {
1287 strlcpy(ab->i2c_client[num_i2c_clients]->name, id->name,
1288 sizeof(ab->i2c_client[num_i2c_clients]->name));
1343 while (--num_i2c_clients)
1344 i2c_unregister_device(ab->i2c_client[num_i2c_clients]);
1353 int num_i2c_clients = AB3550_NUM_BANKS;
1358 while (--num_i2c_clients)
1359 i2c_unregister_device(ab->i2c_client[num_i2c_clients]);