Searched refs:spi100k (Results 1 – 1 of 1) sorted by relevance
93 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_enable_clock() local96 val = readw(spi100k->base + SPI_SETUP1); in spi100k_enable_clock()98 writew(val, spi100k->base + SPI_SETUP1); in spi100k_enable_clock()104 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_disable_clock() local107 val = readw(spi100k->base + SPI_SETUP1); in spi100k_disable_clock()109 writew(val, spi100k->base + SPI_SETUP1); in spi100k_disable_clock()114 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_write_data() local123 writew(data , spi100k->base + SPI_TX_MSB); in spi100k_write_data()128 spi100k->base + SPI_CTRL); in spi100k_write_data()131 while ((readw(spi100k->base + SPI_STATUS) & SPI_STATUS_WE) != SPI_STATUS_WE) in spi100k_write_data()[all …]