Searched refs:amd756_smbus (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/i2c/busses/ |
D | i2c-amd756-s4882.c | 39 extern struct i2c_adapter amd756_smbus; 61 error = amd756_smbus.algo->smbus_xfer(adap, addr, flags, read_write, in amd756_access_virt0() 93 error = amd756_smbus.algo->smbus_xfer(adap, 0x18, 0, in amd756_access_channel() 101 error = amd756_smbus.algo->smbus_xfer(adap, addr, flags, read_write, in amd756_access_channel() 154 if (!amd756_smbus.dev.parent) in amd756_s4882_init() 159 error = i2c_smbus_xfer(&amd756_smbus, 0x18, 0, I2C_SMBUS_WRITE, 0x03, in amd756_s4882_init() 162 dev_err(&amd756_smbus.dev, "PCA9556 configuration failed\n"); in amd756_s4882_init() 168 i2c_del_adapter(&amd756_smbus); in amd756_s4882_init() 184 s4882_algo[0] = *(amd756_smbus.algo); in amd756_s4882_init() 186 s4882_adapter[0] = amd756_smbus; in amd756_s4882_init() [all …]
|
D | i2c-amd756.c | 294 struct i2c_adapter amd756_smbus = { variable 374 amd756_smbus.dev.parent = &pdev->dev; in amd756_probe() 376 snprintf(amd756_smbus.name, sizeof(amd756_smbus.name), in amd756_probe() 380 error = i2c_add_adapter(&amd756_smbus); in amd756_probe() 393 i2c_del_adapter(&amd756_smbus); in amd756_remove() 410 EXPORT_SYMBOL(amd756_smbus);
|