Lines Matching refs:temp_client
2286 static int i2c_detect_address(struct i2c_client *temp_client, in i2c_detect_address() argument
2290 struct i2c_adapter *adapter = temp_client->adapter; in i2c_detect_address()
2291 int addr = temp_client->addr; in i2c_detect_address()
2313 err = driver->detect(temp_client, &info); in i2c_detect_address()
2351 struct i2c_client *temp_client; in i2c_detect() local
2372 temp_client = kzalloc(sizeof(struct i2c_client), GFP_KERNEL); in i2c_detect()
2373 if (!temp_client) in i2c_detect()
2375 temp_client->adapter = adapter; in i2c_detect()
2381 temp_client->addr = address_list[i]; in i2c_detect()
2382 err = i2c_detect_address(temp_client, driver); in i2c_detect()
2387 kfree(temp_client); in i2c_detect()