Lines Matching full:fsi
6 #include <linux/fsi.h>
71 struct fsi_device *fsi; /* FSI2SPI CFAM engine device */ member
86 static int fsi_spi_check_mux(struct fsi_device *fsi, struct device *dev) in fsi_spi_check_mux() argument
92 rc = fsi_slave_read(fsi->slave, FSI_MBOX_ROOT_CTRL_8, &root_ctrl_8_be, in fsi_spi_check_mux()
112 rc = fsi_device_read(ctx->bridge->fsi, FSI2SPI_STATUS, &sts_be, in fsi_spi_check_status()
144 rc = fsi_device_write(bridge->fsi, FSI2SPI_CMD, &cmd_be, in fsi_spi_read_reg()
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()
191 rc = fsi_device_write(bridge->fsi, FSI2SPI_DATA0, &data_be, in fsi_spi_write_reg()
197 rc = fsi_device_write(bridge->fsi, FSI2SPI_DATA1, &data_be, in fsi_spi_write_reg()
203 rc = fsi_device_write(bridge->fsi, FSI2SPI_CMD, &cmd_be, in fsi_spi_write_reg()
433 rc = fsi_spi_check_mux(ctx->bridge->fsi, ctx->dev); in fsi_spi_transfer_one_message()
524 struct fsi_device *fsi = to_fsi_dev(dev); in fsi_spi_probe() local
526 rc = fsi_spi_check_mux(fsi, dev); in fsi_spi_probe()
534 bridge->fsi = fsi; in fsi_spi_probe()
579 MODULE_DEVICE_TABLE(fsi, fsi_spi_ids);
584 .name = "spi-fsi",
592 MODULE_DESCRIPTION("FSI attached SPI controller");