Searched refs:spi_ioc (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-rb4xx.c | 40 regval = spi_ioc; in do_spi_clk() 53 do_spi_clk(rbspi, spi_ioc, byte >> i); in do_spi_byte() 62 regval = spi_ioc; in do_spi_clk_two() 75 do_spi_clk_two(rbspi, spi_ioc, byte >> 6); in do_spi_byte_two() 76 do_spi_clk_two(rbspi, spi_ioc, byte >> 4); in do_spi_byte_two() 77 do_spi_clk_two(rbspi, spi_ioc, byte >> 2); in do_spi_byte_two() 78 do_spi_clk_two(rbspi, spi_ioc, byte >> 0); in do_spi_byte_two() 100 u32 spi_ioc; in rb4xx_transfer_one() local 112 spi_ioc = AR71XX_SPI_IOC_CS0; in rb4xx_transfer_one() 115 spi_ioc = AR71XX_SPI_IOC_CS1; in rb4xx_transfer_one() [all …]
|
H A D | spi-qup.c | 978 u32 spi_ioc; in spi_qup_set_cs() local 982 spi_ioc = readl_relaxed(controller->base + SPI_IO_CONTROL); in spi_qup_set_cs() 983 spi_ioc_orig = spi_ioc; in spi_qup_set_cs() 985 spi_ioc |= SPI_IO_C_FORCE_CS; in spi_qup_set_cs() 987 spi_ioc &= ~SPI_IO_C_FORCE_CS; in spi_qup_set_cs() 989 if (spi_ioc != spi_ioc_orig) in spi_qup_set_cs() 990 writel_relaxed(spi_ioc, controller->base + SPI_IO_CONTROL); in spi_qup_set_cs()
|