Searched refs:i2cr (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/fsi/ |
D | fsi-master-i2cr.c | 137 int fsi_master_i2cr_read(struct fsi_master_i2cr *i2cr, u32 addr, u64 *data) in fsi_master_i2cr_read() argument 142 mutex_lock(&i2cr->lock); in fsi_master_i2cr_read() 144 ret = i2cr_transfer(i2cr->client, command, data); in fsi_master_i2cr_read() 148 ret = i2cr_check_status(i2cr->client); in fsi_master_i2cr_read() 152 trace_i2cr_read(i2cr->client, command, data); in fsi_master_i2cr_read() 155 mutex_unlock(&i2cr->lock); in fsi_master_i2cr_read() 160 int fsi_master_i2cr_write(struct fsi_master_i2cr *i2cr, u32 addr, u64 data) in fsi_master_i2cr_write() argument 168 mutex_lock(&i2cr->lock); in fsi_master_i2cr_write() 170 ret = i2c_master_send(i2cr->client, (const char *)buf, sizeof(buf)); in fsi_master_i2cr_write() 172 ret = i2cr_check_status(i2cr->client); in fsi_master_i2cr_write() [all …]
|
D | i2cr-scom.c | 17 struct fsi_master_i2cr *i2cr; member 44 ret = fsi_master_i2cr_read(scom->i2cr, (u32)*offset, &data); in i2cr_scom_read() 69 ret = fsi_master_i2cr_write(scom->i2cr, (u32)*offset, data); in i2cr_scom_write() 98 scom->i2cr = to_fsi_master_i2cr(fsi_dev->slave->master); in i2cr_scom_probe()
|
D | fsi-master-i2cr.h | 22 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);
|
D | Makefile | 7 obj-$(CONFIG_FSI_MASTER_I2CR) += fsi-master-i2cr.o 12 obj-$(CONFIG_I2CR_SCOM) += i2cr-scom.o
|
/Linux-v6.6/arch/arm/boot/dts/aspeed/ |
D | ibm-power10-quad.dtsi | 7 i2cr@20 { 8 compatible = "ibm,i2cr-fsi-master"; 20 compatible = "ibm,i2cr-scom"; 35 i2cr@20 { 36 compatible = "ibm,i2cr-fsi-master"; 48 compatible = "ibm,i2cr-scom"; 63 i2cr@20 { 64 compatible = "ibm,i2cr-fsi-master"; 76 compatible = "ibm,i2cr-scom"; 91 i2cr@20 { [all …]
|
D | aspeed-bmc-ibm-everest.dts | 2530 i2cr@20 { 2531 compatible = "ibm,i2cr-fsi-master"; 2543 compatible = "ibm,i2cr-scom"; 2562 i2cr@20 { 2563 compatible = "ibm,i2cr-fsi-master"; 2575 compatible = "ibm,i2cr-scom"; 2594 i2cr@20 { 2595 compatible = "ibm,i2cr-fsi-master"; 2607 compatible = "ibm,i2cr-scom"; 2626 i2cr@20 { [all …]
|