Lines Matching refs:regval
41 u32 regval; in do_spi_clk() local
43 regval = spi_ioc; in do_spi_clk()
45 regval |= AR71XX_SPI_IOC_DO; in do_spi_clk()
47 rb4xx_write(rbspi, AR71XX_SPI_REG_IOC, regval); in do_spi_clk()
48 rb4xx_write(rbspi, AR71XX_SPI_REG_IOC, regval | AR71XX_SPI_IOC_CLK); in do_spi_clk()
63 u32 regval; in do_spi_clk_two() local
65 regval = spi_ioc; in do_spi_clk_two()
67 regval |= AR71XX_SPI_IOC_DO; in do_spi_clk_two()
69 regval |= AR71XX_SPI_IOC_CS2; in do_spi_clk_two()
71 rb4xx_write(rbspi, AR71XX_SPI_REG_IOC, regval); in do_spi_clk_two()
72 rb4xx_write(rbspi, AR71XX_SPI_REG_IOC, regval | AR71XX_SPI_IOC_CLK); in do_spi_clk_two()