Lines Matching defs:spi
99 static void sifive_spi_write(struct sifive_spi *spi, int offset, u32 value) in sifive_spi_write()
104 static u32 sifive_spi_read(struct sifive_spi *spi, int offset) in sifive_spi_read()
109 static void sifive_spi_init(struct sifive_spi *spi) in sifive_spi_init()
133 struct sifive_spi *spi = spi_master_get_devdata(master); in sifive_spi_prepare_message() local
155 struct sifive_spi *spi = spi_master_get_devdata(device->master); in sifive_spi_set_cs() local
167 sifive_spi_prep_transfer(struct sifive_spi *spi, struct spi_device *device, in sifive_spi_prep_transfer()
210 struct sifive_spi *spi = dev_id; in sifive_spi_irq() local
223 static void sifive_spi_wait(struct sifive_spi *spi, u32 bit, int poll) in sifive_spi_wait()
238 static void sifive_spi_tx(struct sifive_spi *spi, const u8 *tx_ptr) in sifive_spi_tx()
246 static void sifive_spi_rx(struct sifive_spi *spi, u8 *rx_ptr) in sifive_spi_rx()
258 struct sifive_spi *spi = spi_master_get_devdata(master); in sifive_spi_transfer_one() local
294 struct sifive_spi *spi; in sifive_spi_probe() local
421 struct sifive_spi *spi = spi_master_get_devdata(master); in sifive_spi_remove() local