Searched refs:nforce2_smbus (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/i2c/busses/ |
D | i2c-nforce2-s4985.c | 28 extern struct i2c_adapter *nforce2_smbus; 49 error = nforce2_smbus->algo->smbus_xfer(adap, addr, flags, read_write, in nforce2_access_virt0() 79 error = nforce2_smbus->algo->smbus_xfer(adap, 0x18, 0, in nforce2_access_channel() 87 error = nforce2_smbus->algo->smbus_xfer(adap, addr, flags, read_write, in nforce2_access_channel() 140 if (!nforce2_smbus) in nforce2_s4985_init() 145 error = i2c_smbus_xfer(nforce2_smbus, 0x18, 0, I2C_SMBUS_WRITE, 0x03, in nforce2_s4985_init() 148 dev_err(&nforce2_smbus->dev, "PCA9556 configuration failed\n"); in nforce2_s4985_init() 154 i2c_del_adapter(nforce2_smbus); in nforce2_s4985_init() 170 s4985_algo[0] = *(nforce2_smbus->algo); in nforce2_s4985_init() 172 s4985_adapter[0] = *nforce2_smbus; in nforce2_s4985_init() [all …]
|
D | i2c-nforce2.c | 54 struct nforce2_smbus { struct 123 struct i2c_adapter *nforce2_smbus; variable 124 EXPORT_SYMBOL_GPL(nforce2_smbus); 128 nforce2_smbus = adap; in nforce2_set_reference() 136 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_abort() 155 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_check_status() 182 struct nforce2_smbus *smbus = adap->algo_data; in nforce2_access() 287 (((struct nforce2_smbus *)adapter->algo_data)->blockops ? in nforce2_func() 319 struct nforce2_smbus *smbus, const char *name) in nforce2_probe_smb() 372 struct nforce2_smbus *smbuses; in nforce2_probe() [all …]
|