Searched refs:spi_ioc (Results 1 – 2 of 2) sorted by relevance
/drivers/spi/ |
D | spi-rb4xx.c | 36 static inline void do_spi_clk(struct rb4xx_spi *rbspi, u32 spi_ioc, int value) in do_spi_clk() argument 40 regval = spi_ioc; in do_spi_clk() 48 static void do_spi_byte(struct rb4xx_spi *rbspi, u32 spi_ioc, u8 byte) in do_spi_byte() argument 53 do_spi_clk(rbspi, spi_ioc, byte >> i); in do_spi_byte() 57 static inline void do_spi_clk_two(struct rb4xx_spi *rbspi, u32 spi_ioc, in do_spi_clk_two() argument 62 regval = spi_ioc; in do_spi_clk_two() 73 static void do_spi_byte_two(struct rb4xx_spi *rbspi, u32 spi_ioc, u8 byte) in do_spi_byte_two() argument 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() [all …]
|
D | spi-qup.c | 980 u32 spi_ioc; in spi_qup_set_cs() local 984 spi_ioc = readl_relaxed(controller->base + SPI_IO_CONTROL); in spi_qup_set_cs() 985 spi_ioc_orig = spi_ioc; in spi_qup_set_cs() 987 spi_ioc |= SPI_IO_C_FORCE_CS; in spi_qup_set_cs() 989 spi_ioc &= ~SPI_IO_C_FORCE_CS; in spi_qup_set_cs() 991 if (spi_ioc != spi_ioc_orig) in spi_qup_set_cs() 992 writel_relaxed(spi_ioc, controller->base + SPI_IO_CONTROL); in spi_qup_set_cs()
|