Home
last modified time | relevance | path

Searched refs:AR71XX_SPI_REG_IOC (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/spi/
H A Dspi-ath79.c31 #define AR71XX_SPI_REG_IOC 0x08 /* SPI I/O Control */ macro
81 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base); in ath79_spi_chipselect()
91 sp->ioc_base = ath79_spi_rr(sp, AR71XX_SPI_REG_IOC); in ath79_spi_enable()
124 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out); in ath79_spi_txrx_mode0()
126 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out | AR71XX_SPI_IOC_CLK); in ath79_spi_txrx_mode0()
129 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out); in ath79_spi_txrx_mode0()
160 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, sp->ioc_base); in ath79_exec_mem_op()
H A Dspi-rb4xx.c44 rb4xx_write(rbspi, AR71XX_SPI_REG_IOC, regval); in do_spi_clk()
45 rb4xx_write(rbspi, AR71XX_SPI_REG_IOC, regval | AR71XX_SPI_IOC_CLK); in do_spi_clk()
68 rb4xx_write(rbspi, AR71XX_SPI_REG_IOC, regval); in do_spi_clk_two()
69 rb4xx_write(rbspi, AR71XX_SPI_REG_IOC, regval | AR71XX_SPI_IOC_CLK); in do_spi_clk_two()
91 rb4xx_write(rbspi, AR71XX_SPI_REG_IOC, in rb4xx_set_cs()
/openbmc/u-boot/drivers/spi/
H A Dath79_spi.c33 writel(AR71XX_SPI_IOC_CS_ALL, priv->regs + AR71XX_SPI_REG_IOC); in spi_cs_activate()
41 writel(AR71XX_SPI_IOC_CS_ALL, priv->regs + AR71XX_SPI_REG_IOC); in spi_cs_deactivate()
95 writel(out, priv->regs + AR71XX_SPI_REG_IOC); in ath79_spi_xfer()
105 priv->regs + AR71XX_SPI_REG_IOC); in ath79_spi_xfer()
118 writel(out, priv->regs + AR71XX_SPI_REG_IOC); in ath79_spi_xfer()
/openbmc/u-boot/arch/mips/mach-ath79/include/mach/
H A Dar71xx_regs.h938 #define AR71XX_SPI_REG_IOC 0x08 macro
/openbmc/linux/arch/mips/include/asm/mach-ath79/
H A Dar71xx_regs.h897 #define AR71XX_SPI_REG_IOC 0x08 /* SPI I/O Control */ macro