Lines Matching defs:ath79_spi_wr
54 static inline void ath79_spi_wr(struct ath79_spi *sp, unsigned int reg, u32 val)
81 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base);
87 ath79_spi_wr(sp, AR71XX_SPI_REG_FS, AR71XX_SPI_FS_GPIO);
97 ath79_spi_wr(sp, AR71XX_SPI_REG_CTRL, 0x43);
103 ath79_spi_wr(sp, AR71XX_SPI_REG_CTRL, sp->reg_ctrl);
105 ath79_spi_wr(sp, AR71XX_SPI_REG_FS, 0);
124 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out);
126 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out | AR71XX_SPI_IOC_CLK);
129 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out);
152 ath79_spi_wr(sp, AR71XX_SPI_REG_FS, 0);
157 ath79_spi_wr(sp, AR71XX_SPI_REG_FS, AR71XX_SPI_FS_GPIO);
160 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base);