Searched refs:temp_client (Results 1 – 2 of 2) sorted by relevance
140 struct i2c_client *temp_client; in ipmb_write() local167 temp_client = kmemdup(ipmb_dev->client, sizeof(*temp_client), GFP_KERNEL); in ipmb_write()168 if (!temp_client) in ipmb_write()171 temp_client->addr = rq_sa; in ipmb_write()173 ret = i2c_smbus_write_block_data(temp_client, netf_rq_lun, msg_len, in ipmb_write()175 kfree(temp_client); in ipmb_write()
2291 static int i2c_detect_address(struct i2c_client *temp_client, in i2c_detect_address() argument2295 struct i2c_adapter *adapter = temp_client->adapter; in i2c_detect_address()2296 int addr = temp_client->addr; in i2c_detect_address()2318 err = driver->detect(temp_client, &info); in i2c_detect_address()2356 struct i2c_client *temp_client; in i2c_detect() local2377 temp_client = kzalloc(sizeof(struct i2c_client), GFP_KERNEL); in i2c_detect()2378 if (!temp_client) in i2c_detect()2380 temp_client->adapter = adapter; in i2c_detect()2386 temp_client->addr = address_list[i]; in i2c_detect()2387 err = i2c_detect_address(temp_client, driver); in i2c_detect()[all …]