Searched refs:ath79_spi_wr (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/spi/ |
H A D | spi-ath79.c | 50 static inline void ath79_spi_wr(struct ath79_spi *sp, unsigned reg, u32 val) ath79_spi_wr() function 78 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base); ath79_spi_chipselect() 90 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base); ath79_spi_chipselect() 98 ath79_spi_wr(sp, AR71XX_SPI_REG_FS, AR71XX_SPI_FS_GPIO); ath79_spi_enable() 105 ath79_spi_wr(sp, AR71XX_SPI_REG_CTRL, 0x43); ath79_spi_enable() 111 ath79_spi_wr(sp, AR71XX_SPI_REG_CTRL, sp->reg_ctrl); ath79_spi_disable() 113 ath79_spi_wr(sp, AR71XX_SPI_REG_FS, 0); ath79_spi_disable() 142 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base); ath79_spi_setup_cs() 194 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out); ath79_spi_txrx_mode0() 196 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out | AR71XX_SPI_IOC_CLK); ath79_spi_txrx_mode0() 199 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out); ath79_spi_txrx_mode0()
|
Completed in 165 milliseconds