Home
last modified time | relevance | path

Searched refs:temp_client (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/char/ipmi/
Dipmb_dev_int.c140 struct i2c_client *temp_client; in ipmb_write() local
167 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()
/linux-6.1.9/drivers/i2c/
Di2c-core-base.c2286 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()
[all …]