Home
last modified time | relevance | path

Searched refs:fsi_device_read (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/fsi/
H A Dfsi-master-hub.c172 rc = fsi_device_read(dev, FSI_MAEB, &reg, sizeof(reg)); in hub_master_init()
181 rc = fsi_device_read(dev, FSI_MLEVP0, &reg, sizeof(reg)); in hub_master_init()
203 rc = fsi_device_read(fsi_dev, FSI_MVER, &__reg, sizeof(__reg)); in hub_master_probe()
H A Dfsi-scom.c99 rc = fsi_device_read(scom_dev->fsi_dev, SCOM_STATUS_REG, &raw_status, in __put_scom()
121 rc = fsi_device_read(scom_dev->fsi_dev, SCOM_STATUS_REG, &raw_status, in __get_scom()
130 rc = fsi_device_read(scom_dev->fsi_dev, SCOM_DATA0_REG, &data, in __get_scom()
135 rc = fsi_device_read(scom_dev->fsi_dev, SCOM_DATA1_REG, &data, in __get_scom()
H A Dfsi-sbefifo.c269 rc = fsi_device_read(sbefifo->fsi_dev, reg, &raw_word, in sbefifo_regr()
330 return fsi_device_read(sbefifo->fsi_dev, SBEFIFO_DOWN, word, in sbefifo_down_read()
H A Dfsi-core.c120 int fsi_device_read(struct fsi_device *dev, uint32_t addr, void *val, in fsi_device_read() function
128 EXPORT_SYMBOL_GPL(fsi_device_read);
/openbmc/linux/include/linux/
H A Dfsi.h22 extern int fsi_device_read(struct fsi_device *dev, uint32_t addr,
/openbmc/linux/drivers/spi/
H A Dspi-fsi.c112 rc = fsi_device_read(ctx->bridge->fsi, FSI2SPI_STATUS, &sts_be, in fsi_spi_check_status()
153 rc = fsi_device_read(bridge->fsi, FSI2SPI_DATA0, &data_be, in fsi_spi_read_reg()
160 rc = fsi_device_read(bridge->fsi, FSI2SPI_DATA1, &data_be, in fsi_spi_read_reg()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-fsi.c169 rc = fsi_device_read(fsi, reg, &data_be, sizeof(data_be)); in fsi_i2c_read_reg()
308 rc = fsi_device_read(i2c->fsi, I2C_FSI_FIFO, in fsi_i2c_read_fifo()
317 rc = fsi_device_read(i2c->fsi, I2C_FSI_FIFO, &dummy, in fsi_i2c_read_fifo()