Searched refs:spi100k (Results 1 – 1 of 1) sorted by relevance
84 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_enable_clock() local87 val = readw(spi100k->base + SPI_SETUP1); in spi100k_enable_clock()89 writew(val, spi100k->base + SPI_SETUP1); in spi100k_enable_clock()95 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_disable_clock() local98 val = readw(spi100k->base + SPI_SETUP1); in spi100k_disable_clock()100 writew(val, spi100k->base + SPI_SETUP1); in spi100k_disable_clock()105 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_write_data() local114 writew(data , spi100k->base + SPI_TX_MSB); in spi100k_write_data()119 spi100k->base + SPI_CTRL); in spi100k_write_data()122 while ((readw(spi100k->base + SPI_STATUS) & SPI_STATUS_WE) != SPI_STATUS_WE) in spi100k_write_data()[all …]