Searched refs:spi100k (Results 1 – 1 of 1) sorted by relevance
83 struct omap1_spi100k *spi100k = spi_master_get_devdata(master); in spi100k_enable_clock() local86 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() local97 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() local113 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 …]