/Linux-v6.6/drivers/fsi/ |
D | fsi-scom.c | 145 static int put_indirect_scom_form0(struct scom_device *scom, uint64_t value, in put_indirect_scom_form0() argument 156 rc = __put_scom(scom, ind_data, ind_addr, status); in put_indirect_scom_form0() 160 rc = __get_scom(scom, &ind_data, addr, status); in put_indirect_scom_form0() 170 static int put_indirect_scom_form1(struct scom_device *scom, uint64_t value, in put_indirect_scom_form1() argument 180 return __put_scom(scom, ind_data, ind_addr, status); in put_indirect_scom_form1() 183 static int get_indirect_scom_form0(struct scom_device *scom, uint64_t *value, in get_indirect_scom_form0() argument 191 rc = __put_scom(scom, ind_data, ind_addr, status); in get_indirect_scom_form0() 195 rc = __get_scom(scom, &ind_data, addr, status); in get_indirect_scom_form0() 206 static int raw_put_scom(struct scom_device *scom, uint64_t value, in raw_put_scom() argument 211 return put_indirect_scom_form1(scom, value, addr, status); in raw_put_scom() [all …]
|
D | i2cr-scom.c | 37 struct i2cr_scom *scom = filep->private_data; in i2cr_scom_read() local 44 ret = fsi_master_i2cr_read(scom->i2cr, (u32)*offset, &data); in i2cr_scom_read() 58 struct i2cr_scom *scom = filep->private_data; in i2cr_scom_write() local 69 ret = fsi_master_i2cr_write(scom->i2cr, (u32)*offset, data); in i2cr_scom_write() 87 struct i2cr_scom *scom; in i2cr_scom_probe() local 94 scom = devm_kzalloc(dev, sizeof(*scom), GFP_KERNEL); in i2cr_scom_probe() 95 if (!scom) in i2cr_scom_probe() 98 scom->i2cr = to_fsi_master_i2cr(fsi_dev->slave->master); in i2cr_scom_probe() 99 dev_set_drvdata(dev, scom); in i2cr_scom_probe() 101 scom->dev.type = &fsi_cdev_type; in i2cr_scom_probe() [all …]
|
D | Makefile | 9 obj-$(CONFIG_FSI_SCOM) += fsi-scom.o 12 obj-$(CONFIG_I2CR_SCOM) += i2cr-scom.o
|
/Linux-v6.6/arch/powerpc/platforms/powernv/ |
D | opal-prd.c | 273 struct opal_prd_scom scom; in opal_prd_ioctl() local 286 rc = copy_from_user(&scom, (void __user *)param, sizeof(scom)); in opal_prd_ioctl() 290 scom.rc = opal_xscom_read(scom.chip, scom.addr, in opal_prd_ioctl() 291 (__be64 *)&scom.data); in opal_prd_ioctl() 292 scom.data = be64_to_cpu(scom.data); in opal_prd_ioctl() 294 scom.chip, scom.addr, scom.data, scom.rc); in opal_prd_ioctl() 296 rc = copy_to_user((void __user *)param, &scom, sizeof(scom)); in opal_prd_ioctl() 302 rc = copy_from_user(&scom, (void __user *)param, sizeof(scom)); in opal_prd_ioctl() 306 scom.rc = opal_xscom_write(scom.chip, scom.addr, scom.data); in opal_prd_ioctl() 308 scom.chip, scom.addr, scom.data, scom.rc); in opal_prd_ioctl() [all …]
|
/Linux-v6.6/arch/arm/boot/dts/aspeed/ |
D | ibm-power10-quad.dtsi | 19 scom100: scom@1000 { 20 compatible = "ibm,i2cr-scom"; 47 scom101: scom@1000 { 48 compatible = "ibm,i2cr-scom"; 75 scom110: scom@1000 { 76 compatible = "ibm,i2cr-scom"; 103 scom111: scom@1000 { 104 compatible = "ibm,i2cr-scom"; 131 scom112: scom@1000 { 132 compatible = "ibm,i2cr-scom"; [all …]
|
D | aspeed-bmc-ibm-everest.dts | 2514 scom@1000 { 2542 scom500: scom@1000 { 2543 compatible = "ibm,i2cr-scom"; 2574 scom501: scom@1000 { 2575 compatible = "ibm,i2cr-scom"; 2606 scom510: scom@1000 { 2607 compatible = "ibm,i2cr-scom"; 2638 scom511: scom@1000 { 2639 compatible = "ibm,i2cr-scom"; 2670 scom512: scom@1000 { [all …]
|
D | ibm-power9-dual.dtsi | 11 scom@1000 { 112 scom@1000 {
|
D | ibm-power10-dual.dtsi | 18 scom@1000 { 183 scom@1000 {
|
D | aspeed-bmc-opp-palmetto.dts | 360 scom@1000 {
|
D | aspeed-bmc-opp-tacoma.dts | 205 scom@1000 { 306 scom@1000 {
|