Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-amd756-s4882.c30 extern struct i2c_adapter amd756_smbus;
84 error = amd756_smbus.algo->smbus_xfer(adap, 0x18, 0, in amd756_access_channel()
145 if (!amd756_smbus.dev.parent) in amd756_s4882_init()
159 i2c_del_adapter(&amd756_smbus); in amd756_s4882_init()
175 s4882_algo[0] = *(amd756_smbus.algo); in amd756_s4882_init()
177 s4882_adapter[0] = amd756_smbus; in amd756_s4882_init()
179 s4882_adapter[0].dev.parent = amd756_smbus.dev.parent; in amd756_s4882_init()
181 s4882_algo[i] = *(amd756_smbus.algo); in amd756_s4882_init()
182 s4882_adapter[i] = amd756_smbus; in amd756_s4882_init()
216 i2c_add_adapter(&amd756_smbus); in amd756_s4882_init()
[all …]
H A Di2c-amd756.c286 struct i2c_adapter amd756_smbus = { variable
366 amd756_smbus.dev.parent = &pdev->dev; in amd756_probe()
368 snprintf(amd756_smbus.name, sizeof(amd756_smbus.name), in amd756_probe()
372 error = i2c_add_adapter(&amd756_smbus); in amd756_probe()
385 i2c_del_adapter(&amd756_smbus); in amd756_remove()
402 EXPORT_SYMBOL(amd756_smbus);