Searched refs:i2cr (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/fsi/
H A Dfsi-master-i2cr.c11 #include "fsi-master-i2cr.h"
137 int fsi_master_i2cr_read(struct fsi_master_i2cr *i2cr, u32 addr, u64 *data) argument
142 mutex_lock(&i2cr->lock);
144 ret = i2cr_transfer(i2cr->client, command, data);
148 ret = i2cr_check_status(i2cr->client);
152 trace_i2cr_read(i2cr->client, command, data);
155 mutex_unlock(&i2cr->lock);
160 int fsi_master_i2cr_write(struct fsi_master_i2cr *i2cr, u32 addr, u64 data) argument
168 mutex_lock(&i2cr->lock);
170 ret = i2c_master_send(i2cr
190 struct fsi_master_i2cr *i2cr = container_of(master, struct fsi_master_i2cr, master); local
229 struct fsi_master_i2cr *i2cr = container_of(master, struct fsi_master_i2cr, master); local
252 struct fsi_master_i2cr *i2cr = to_fsi_master_i2cr(to_fsi_master(dev)); local
261 struct fsi_master_i2cr *i2cr; local
292 struct fsi_master_i2cr *i2cr = i2c_get_clientdata(client); local
[all...]
H A Dfsi-master-i2cr.h22 int fsi_master_i2cr_read(struct fsi_master_i2cr *i2cr, u32 addr, u64 *data);
23 int fsi_master_i2cr_write(struct fsi_master_i2cr *i2cr, u32 addr, u64 data);
H A DMakefile7 obj-$(CONFIG_FSI_MASTER_I2CR) += fsi-master-i2cr.o
12 obj-$(CONFIG_I2CR_SCOM) += i2cr-scom.o
H A Di2cr-scom.c11 #include "fsi-master-i2cr.h"
17 struct fsi_master_i2cr *i2cr; member in struct:i2cr_scom
44 ret = fsi_master_i2cr_read(scom->i2cr, (u32)*offset, &data);
69 ret = fsi_master_i2cr_write(scom->i2cr, (u32)*offset, data);
98 scom->i2cr = to_fsi_master_i2cr(fsi_dev->slave->master);
129 { .compatible = "ibm,i2cr-scom" },

Completed in 283 milliseconds