Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/spi/
Dspi-omap-100k.c83 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_enable_clock() local
86 val = readw(spi100k->base + SPI_SETUP1); in spi100k_enable_clock()
88 writew(val, spi100k->base + SPI_SETUP1); in spi100k_enable_clock()
94 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_disable_clock() local
97 val = readw(spi100k->base + SPI_SETUP1); in spi100k_disable_clock()
99 writew(val, spi100k->base + SPI_SETUP1); in spi100k_disable_clock()
104 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_write_data() local
113 writew(data , spi100k->base + SPI_TX_MSB); in spi100k_write_data()
118 spi100k->base + SPI_CTRL); in spi100k_write_data()
121 while ((readw(spi100k->base + SPI_STATUS) & SPI_STATUS_WE) != SPI_STATUS_WE) in spi100k_write_data()
[all …]